Code-art project to show Laura beautiful things can be made with math and algorithms.
These are demos can run in your browser - they’re built with p5.js
- morph: More experiments with
- demo3 - In my opinion, the most visually pleasing demo. Now with asymmetry.
- demo5 - R,G,B entities
- demo4 - user-sliders for playing with parameters
- demo2 - symmetric demo with self-erasing tail to prevent things getting too noisy.
- demo1 - first attempt.
flow field (demo): Sprinkles particles onto a slowly changing force vector field. The field is updated with perlin noise and the particles trace their trajectory. It procedurally draws images that look something like this:
particle (demo): An attempt at re-creating the beautiful background animation present on particle.io.
fern (demo): A procedurally generated fractal fern. See Wiki: Barnsley Fern
- rainy pi (demo): Count raindrops that fall randomly on a square and a circle with equal “diameter”. The ratio of the counts can be used to approximate the value of Pi!
These are demos built with Processing.
You’ll have to download the file/repo to run them.
- solar system simple: Simulate a solar system with simple physics engine. Elliptical orbits made by calculating velocity for circular orbit then randomly tweaking.
My to-do list of projects to attempt.
- Sun with many planets generated at same point, but orbital velocity is random, centred around circular.
- nested, fixed orbits. path tracing
- shape division
- emergent behaviour: boids