the processing portfolio of
Callum Rogers

member since August 26, 2009
Colliding Circles (2D)

Colliding Circles (2D)

Sketch to show the collisions of circles in a 2D plane. Gravity is experimental and you should probably only use it with friction. Lots of hacks xD Controls: Left Click/Right Click: Add new Particle. R: Clear Screen L: Toggle Lines between circles G: Gravity on H: Gravity off F: Friction on R: Friction off P: 60 fps O: 10 fps
Falling Sand Cellular Automata Game

Falling Sand Cellular Automata Game

A model of a world made from sand like particles whose interactions are defined by a simple set of rules. Use fire + acid to destroy stuff and spouts to create particles. If you put a particle (ie acid) on a spout, it will produce acid. Click with left mouse while holding down a specific key for a specific particle type. Right click to delete. The virus is deadly. Stop it using spouts with antivirus on top.
Elementary Cellular Automata

Elementary Cellular Automata

This program builds elementary cellular automata as described in Stephen Wolfram's book "A New Kind of Science". Press LEFT/RIGHT to increment/decrement the rule number. Press UP/DOWN to increase/decrease the rule by 10. Press R to switch between one point or an entire random row for the first row. Press N to generate a new random row. Click to randomise the rule. Each pixel in the sketch is either dead (white) or alive (black) and their state is determined by the states of the three pixels above them and the application of a "rules". There are 256 rules, from 0 to 255 which help det
Gravity Attractors

Gravity Attractors

This sketch show the complexity and chaotic nature of a multi-object gravity system. The large circular attractors can be thought of as planets with the smaller green circles as asteroids. Each planet exerts a force on each asteroid and the sum of these forces is proportional to the acceleration. Left click to make particles, right click to make attractors and middle click to remove attractors. Press A to display the acceleration and V for the velocity. More help is avaliable in the applet itself.
Blurred Spiral

Blurred Spiral

Trying out the blur() function on a spinning shape that's colour and size are dependant on sinusoidal functions.
Complex Number Transformer

Complex Number Transformer

This is a system that graphically displays transformations in the complex plane. Read more at: http://en.wikipedia.org/wiki/Complex_plane Left click zooms in, right click zooms out and W,A,S,D and I,J,K,L move the axes. N adds numbers. Middle clicking does many things - see "Help" for more info. My personal favourites are: "func(300*sin(x/100), -5000, 5000, 2)" --> "x^11" (zoom out to 2.6E-26x) "filledCircle(0, 0, 300, 5, pi/64)" --> "(z+1)^2/(z-1)^2" (Joukoswki airfoil) Post your favourites in the comments and make sure to check the "Help" and "Examples" pages!
Point Source Interference

Point Source Interference

A sketch I created a year ago demonstrating interference between two point sources. Mouse Click: Move a set of circles q/a: Increase/Decrease main circle size. w/s: Increase/Decrease the gap between the main circles. r/f: Increase/Decrease mouse circle size. t/g: Increase/Decrease the gap between the mouse circles. h: Hide text.
Replicator Molecules

Replicator Molecules

This was my first foray into trying to create a system that models particles, specifically molecules. After reading the first chapter of Richard Dawkins' "The Selfish Gene", I tried to model the "replicator molecules" he described; these are ones that elements' join up to other elements and once a complete set of elements are collected another indentical molecules is created. Slowly, due to random mutations, they would evolve leaving only the strongest molecules. However, the complexity grew too great and now I realise this was a difficult way to create such a model, so I abandoned the proj
Simple Particle System

Simple Particle System

A simple particle system I created a long time ago that I found in my sketchbook. It says it has collisions but there aren't any. Pressing "R" clears the screen. Try clicking.
Rose Generator

Rose Generator

A tiny sketch that got too long.
Amoeba (Tiny Sketch)

Amoeba (Tiny Sketch)

It emulates the changing shape of an amoeba using perlin noise applied to a circle. 200 chars.
Spirograph Lite

Spirograph Lite

A Tiny Sketch version of my larger, interactive Spirograph Creator. 199 chars.
Hyper Magnet

Hyper Magnet

For the "Tiny Sketch" Competition.
Spirograph Creator

Spirograph Creator

This is a sketch that allows you to create spirograph-like cycloids. Buttons: N: Allows you to create your own custom spirograph! R: Creates a random spirograph F: Randomizes the colours C: Bring up a screen that allows you to create your own custom colours! P: Pauses the drawing of the spirograph I: Shows the information screen. When creating custom spirographs, you may have to move your mouse before clicking to continue. Enjoy!