Skip to content

escobar5/prologue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prologue

Generative algorithm with particles that attract/repel.

Prologue

This code is based on this blog post: https://generateme.wordpress.com/2017/01/03/grow-own-iris/

The main idea is that there are initially some particles in a square in the center, they start to move in time as other particles attract or repel them.

If you play with the time step, number of particles, mood function, initial position, you get a lot of interesting effects.

In prologue_2.pde I've changed the positional logic a little, instead of having a number of particles I split the square in a number of cells, and put a particle in each cell.

Here are some examples of the diverse results:

Prologue Prologue Prologue Prologue Prologue Prologue Prologue

About

Generative algorithm with particles that attract/repel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published