{"id":13595556,"url":"https://github.com/JakobGlock/Generative-Art","last_synced_at":"2025-04-09T13:32:33.493Z","repository":{"id":37628672,"uuid":"190100158","full_name":"JakobGlock/Generative-Art","owner":"JakobGlock","description":"A selection of generative art scripts written in Python","archived":false,"fork":false,"pushed_at":"2022-06-24T21:12:40.000Z","size":12964,"stargazers_count":305,"open_issues_count":1,"forks_count":50,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T05:07:21.342Z","etag":null,"topics":["2d-graphics","algorithmic","algorithmic-art","art","artist","cairo","cornwall","generative","generative-art","images","pycairo","python","python3","scripts","vector-graphics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakobGlock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-04T00:17:29.000Z","updated_at":"2025-02-14T06:25:08.000Z","dependencies_parsed_at":"2022-06-27T06:03:38.625Z","dependency_job_id":null,"html_url":"https://github.com/JakobGlock/Generative-Art","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakobGlock%2FGenerative-Art","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakobGlock%2FGenerative-Art/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakobGlock%2FGenerative-Art/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakobGlock%2FGenerative-Art/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakobGlock","download_url":"https://codeload.github.com/JakobGlock/Generative-Art/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248049483,"owners_count":21039225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d-graphics","algorithmic","algorithmic-art","art","artist","cairo","cornwall","generative","generative-art","images","pycairo","python","python3","scripts","vector-graphics"],"created_at":"2024-08-01T16:01:52.416Z","updated_at":"2025-04-09T13:32:31.866Z","avatar_url":"https://github.com/JakobGlock.png","language":"Python","readme":"# Generative-Art\n\nI have only tested this on Ubuntu 20.04.\n\nA selection of generative art scripts written in Python with the intention of using my AxiDraw to plot them onto paper.\n\nThis project has evolved into a small python package which has functions and classes, which I reuse in other scripts and saves me writing the same code over and over again. It also includes basic tool for generating scripts and doing basic tasks that I do on a regular basis.\n  \nThis is really built for my own personal use and is a constantly evolving project, but I thought people may enjoy / be interested in it, so that is why I am making it public.\n\nYou can get these scripts without the python module integration by cloning the 0.1.1 tag, go here: https://github.com/JakobGlock/Generative-Art/tree/0.1.1\n\n\n### Setup\n\nThese scripts have been made using Python 3.8.2\n\nInstall some dependencies, on Linux this very simple you just run the following command in a terminal window:\n\n`sudo apt install python-cairo libcairo2-dev`\n\nCreate a Python virtual environment and activate it:\n\n```\ncd /to/the/repo/directory/on/your/computer/Generative-art\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nYou will also need to install some packages for Python which can be done using the following command:\n\n`pip3 install -r requirements.txt`\n\n\n### Running Scripts\n\nYou can use the generate tool to run the scripts, to get more information run the following command:\n\n`./generate --help`\n\n\nTo generate an artwork:\n\n`./generate artwork new Line_Grid.py`\n\nTo generate the same artwork, but 10 of them and in SVG format:\n\n`./generate artwork new Line_Grid.py -n 10 --svg`\n\nThis will save 10 files in SVG format into the `Images/Line_Grid` folder, see `./generate --help` for more options and information.\n\n\nTo create a new script/project, run the following command:\n\n`./generate project new my_cool_script.py`\n\nThis will create a basic script from a template file to get you started.\n \n\n### Sample Images\n\n#### Circular\n![Circular](/Images/Circular/0bde255-sample.png)\n\n#### Line_Grid\n![Line_Grid](/Images/Line_Grid/c314c507-sample.png)\n\n#### Line_Walker\n![Line_Walker](/Images/Line_Walker/857172e8-sample.png)\n\n#### Magnetic_Flow\n![Magnetic_Flow](/Images/Magnetic_Flow/9d6a69dd-sample.png)\n\n#### Mosaic_Circles\n![Mosaic_Circles](/Images/Mosaic_Circles/1e299f47-sample.png)\n\n#### Parallel_Lines\n![Parallel_Lines](/Images/Parallel_Lines/a5c334c2-sample.png)\n\n#### Vertical_Lines\n![Vertical_Lines](/Images/Vertical_Lines/125c3d4d-sample.png)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakobGlock%2FGenerative-Art","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJakobGlock%2FGenerative-Art","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakobGlock%2FGenerative-Art/lists"}