Javascript

Asteroids

Asteroids rewrite.
Asteroids #canvas { display: block; position: fixed; top: 0; left: 0; z-index: 50; }

Particles

Particle system experimentation.
Particles #canvas { display: block; background-color: white; position: fixed; top: 0; left: 0; z-index: 50; } #canvas2 { display: none; } #stats { position: fixed; top: 0; left: 0; z-index: 100; }

Cellular Automata

2 minute read Published:

A cellular automaton is a grid of cells that is constructed by a series of time based rules based on neighboring cells
Currently listening to: Chrono Trigger OST Intro A cellular automaton is a grid of cells that is constructed by a series of time based rules based on neighboring cells. Basically, the state of each cell is determined by the state of the surrounding cells. Here’s an example; var w = {}; window.onload = function() { w = wolfram('canvas', '#00bcd4'); } Looks cool right?! That is a real JavaScript/Canvas implementation of Rule 150.