Select Page

Quick object-oriented Random Walk visualization in Javascript.

A Random Walk is a stochastic process describing a path that consists of a series of random steps on some mathematical space. In this visualization a bunch of purple things are made out off a “particle class” designed in object-oriented fashion, employing a simple physic engine programmed in a Javascript framework called P5JS.

See the Pen Purple things with trails by Setup Draw (@SetupDraw) on CodePen.

Press any key to delete a purple thing. Click anywhere to add one more.