Experiments

A mix of canvas based experiments, not guaranteed to work on all devices, almost certainly not optimised... but possibly mildly entertaining. Just trying stuff out.

Ray Marching Experiment
Ray Marching

Experimenting with circle tracing ray marching, click and drag the light path end point around. Press space to see the circle stepping.

Tangent Line To Circle Experiment
Tangent Line To Circle

Playing around with tangent line to circle and some basic physics. Click to release ball, click again to attach to mouse pointer.

Video Autonomous Vehicles Experiment
Video Vehicles

Experiment drawing video frames to canvas with autonomous vehicles. Click and drag to attract, hold down shift to repel. Press space for settings menu.

Verlet Integration Fabric Experiment
Verlet Integration Fabric

Just playing with verlet integration, this time the approximation of some fabric. Click and drag to move the fabric, press space for other versions.

Ray Marching Experiment
Basic Bird Flocking

Bird Flocking using a quad tree structure to store bird locations. Press space to bring up parameter settings, hold shift and click to add a predator.

Light Rays Experiment
Light Rays

Light rays using line segment intersections. Move mouse around.

Ink Blots Experiment
Ink Blots

Click or double tap to add splats, move to spread around.

Varied Spiral Experiment
Varied Spiral

3d spiral with varied z axis particles. Move mouse to control rotation, click mouse to change particle colour.

Sand Splines Experiment
Sand Splines

Circular sand splines, which are in turn based on the idea of B-Splines. Click to redraw.

Evolutionary Steering Experiment
Evolutionary Steering

Autonomous Vehicles using genetic algorithm to adjust steering properties over time and improve food seeking and poison avoidance. Press space to enable debug info.

Smart Rockets Experiment
Smart Rockets

Smart Rockets using genetic algorithm to seek the target over generations. Click and drag to reposition the target.

Particle Text Experiment
Particle Text

Text converted into points and then assigned particles with basic physics. Use text input to update text and move mouse to interact with particles.

Particle Image Experiment
Particle Image

A continuation of the Particle Text code, this time converting images into points. Click or double tap to switch between images.

Image Distortion Experiment
Image Distortion

Playing with some basic distortion effects, click and drag to distort the image. Still need to sort out the y position accuracy in this.

Image Map Flow Fields
Image Map Flow Fields

Playing around with particles affected by flow fields, this time a flow field generated from mapping the peceived brightness of an image. Particles velocities are affected by the brightness value, as is the particle size and opacity. Click to regenerate.