All Projects → inconvergent → Differential Line

inconvergent / Differential Line

Licence: mit
a generative algorithm

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Differential Line

Sand Spline
generative algorithm
Stars: ✭ 261 (-56.93%)
Mutual labels:  generative, algorithm, generative-art
Fracture
generative algorithm
Stars: ✭ 99 (-83.66%)
Mutual labels:  generative, algorithm, generative-art
GAS
Generative Art Synthesizer - a python program that generates python programs that generates generative art
Stars: ✭ 42 (-93.07%)
Mutual labels:  generative-art, generative
book-mdpc
Il cinema tra le righe... di codice!
Stars: ✭ 59 (-90.26%)
Mutual labels:  generative-art, generative
ZzSprite
Pixel Art Sprite Generator
Stars: ✭ 85 (-85.97%)
Mutual labels:  generative-art, generative
Triangle
Convert images to computer generated art using delaunay triangulation.
Stars: ✭ 1,838 (+203.3%)
Mutual labels:  generative, generative-art
generative-art
Generative art experiments
Stars: ✭ 113 (-81.35%)
Mutual labels:  generative-art, generative
corruption-loops
Digitally disintegrating music
Stars: ✭ 37 (-93.89%)
Mutual labels:  generative-art, generative
Linearx Font
Procedurally generated fonts
Stars: ✭ 41 (-93.23%)
Mutual labels:  generative, generative-art
glitch-image
🖼 Generate and save unique glitchy images
Stars: ✭ 46 (-92.41%)
Mutual labels:  generative-art, generative
desert
A fast (?) random sampling drawing library
Stars: ✭ 61 (-89.93%)
Mutual labels:  generative-art, generative
Generative art
A collection of my generative artwork, mostly with Processing in Python mode
Stars: ✭ 1,477 (+143.73%)
Mutual labels:  generative, generative-art
Pts
A library for visualization and creative-coding
Stars: ✭ 4,628 (+663.7%)
Mutual labels:  generative, generative-art
Generative-Art
A selection of generative art scripts written in Python
Stars: ✭ 284 (-53.14%)
Mutual labels:  generative-art, generative
Genartlib
Utilities for creating generative artwork with Clojure
Stars: ✭ 91 (-84.98%)
Mutual labels:  generative, generative-art
GenerativeArtists
No description or website provided.
Stars: ✭ 22 (-96.37%)
Mutual labels:  generative-art, generative
Snek
See https://github.com/inconvergent/weir instead
Stars: ✭ 696 (+14.85%)
Mutual labels:  generative, generative-art
Sofloo Spot
Click Randomize
Stars: ✭ 37 (-93.89%)
Mutual labels:  generative, generative-art
samila
Generative Art Generator
Stars: ✭ 750 (+23.76%)
Mutual labels:  generative-art, generative
Generativeart
Generative Art in Go
Stars: ✭ 313 (-48.35%)
Mutual labels:  generative, generative-art

Differential Line

ani

This algorithm simulates the way a number of biological things in nature grows. Among other things it is made to mimic the growth of the human brain, as well as a great number of plants.

Specifically this code is a line-based implementation of behaviour very similar to Floraform by Nervous System: https://n-e-r-v-o-u-s.com/projects/sets/floraform/ Another relevant paper (which I discovered later) is this: http://www.dgp.toronto.edu/~karan/artexhibit/mazes.pdf

ani

img

In brief; we start of with a number of connected nodes in a circle. Gradually we introduce new nodes on the line—prioritizing segments where the curve bends more sharply. Over time the curve grows increasingly intricate, but it never self-intersects.

img

img

If we start with a different shape, and draw the outside position of the object for each growth step, we can get an entirely different kind of system with an interesting 3D illusion.

img

Prerequisites

In order for this code to run you must first download and install these two repositories:

Other Dependencies

The code also depends on:

  • gi (replaces pyGTK)
  • numpy
  • cython
  • python-cairo (do not install with pip, this generally does not work)

Running it on Linux (Ubuntu)

To install the libraries locally, run ./install. I have only tested this code in Ubuntu 14.04 LTS, but my guess is that it should work on most other platforms platforms as well. However i know that the scripted install in ./install will not work in Windows

Running it on Windows?

The code will probably work just fine under Windows, but I'm not sure how to install it. (Let me know if you get it working!)

Why all the main files?

If you just want to try this out you should have a look at main_ani.py. It is pretty safe to ignore all the others main files. (They implement different behaviour, and some of them are very experimental.)

Similar code

If you find this alorithm insteresting you might also want to check out: https://github.com/inconvergent/differential-mesh.

Recently I also implemented a version of this algorithm using CUDA:

https://github.com/inconvergent/differential-line-cuda

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].