GithubHelp home page GithubHelp logo

cosmicdanceprint / generative-art2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakobglock/generative-art

0.0 0.0 0.0 12.66 MB

A selection of generative art scripts written in Python

Python 100.00%

generative-art2's Introduction

Generative-Art

I have only tested this on Ubuntu 20.04.

A selection of generative art scripts written in Python with the intention of using my AxiDraw to plot them onto paper.

This 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.

This 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.

You 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

Setup

These scripts have been made using Python 3.8.2

Install some dependencies, on Linux this very simple you just run the following command in a terminal window:

sudo apt install python-cairo libcairo2-dev

Create a Python virtual environment and activate it:

cd /to/the/repo/directory/on/your/computer/Generative-art
python3 -m venv venv
source venv/bin/activate

You will also need to install some packages for Python which can be done using the following command:

pip3 install -r requirements.txt

Running Scripts

You can use the generate tool to run the scripts, to get more information run the following command:

./generate --help

To generate an artwork:

./generate artwork new Line_Grid.py

To generate the same artwork, but 10 of them and in SVG format:

./generate artwork new Line_Grid.py -n 10 --svg

This will save 10 files in SVG format into the Images/Line_Grid folder, see ./generate --help for more options and information.

To create a new script/project, run the following command:

./generate project new my_cool_script.py

This will create a basic script from a template file to get you started.

Sample Images

Circular

Circular

Line_Grid

Line_Grid

Line_Walker

Line_Walker

Magnetic_Flow

Magnetic_Flow

Mosaic_Circles

Mosaic_Circles

Parallel_Lines

Parallel_Lines

Vertical_Lines

Vertical_Lines

generative-art2's People

Contributors

jakobglock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.