Skip to content

Instantly share code, notes, and snippets.

@ddierickx
Created February 24, 2012 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddierickx/1903272 to your computer and use it in GitHub Desktop.
Save ddierickx/1903272 to your computer and use it in GitHub Desktop.
JsLife config
var conf = new JSLIFE.configuration.Configuration()
.withHorizontalBlocks(50)
.withUpdateSpeed(40)
.withBackgroundStrokeColor("#CCFFFF")
.withForegroundStrokeColor("#CCFFFF")
.withForegroundColor("#47FF19")
.withBackgroundColor("#19BAFF")
.withInitialState(gosperGliderGun)
.withTargetDivId("canvas");
new JSLIFE.core.JSLife(conf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment