member since April 15, 2011
profile picture

portfolio of
Daniel Lu

Swinging Atwoods Machine

The Swinging Atwood's machine consists of two masses connected via a pulley, where one mass is allowed to swing. The result is a chaotic system. Click to set initial position and velocity; the mass ratio slider on the right is crucial in governing the behaviour of the system. Press r to reset everything except mass ratio; press g to toggle the graphs; press f to toggle whether to only show the trajectory; press d to "fast forward" the simulation; press s to crash the program.

Biham-Middleton-Levine Traffic Model

The Biham-Middleton-Levine traffic model is a self-organizing cellular automaton traffic flow model. It consists of a number of cars represented by points on a lattice with a random starting position, where each car may be one of two types: those that only move downwards (red), and those that only move towards the right (blue). The two types of cars take turns to move. During each turn, all the cars for the corresponding type move by one step if possible. The slider at the bottom controls the traffic density in percent. Changing this resets the entire system.


Many colourful circles that appear and fade out with blur.

Rainbow Snake

The longer the snake gets, the prettier it becomes. Press R to reset, and control the snake by pressing W, A, S, D, or the arrow keys.
followed by

collections and classrooms

submitted sketches to:
open architecture open design
2D Simulations


Share Share Subscribe to sketches