Skip to content

nitrologic/bitgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitgrid(width,height,layers)

  • width height layers of single bit pixels
  • 32 bit data words contained in single Uint32Array
  • drawShape stepConwayLife cellular automata

methods

  • getPixel(x,y,layer)
  • setPixel(x,y,layer,state)
  • cool(falloff)
  • heat(layer,value)
  • drawMask(strings,maskChar,x,y,layer)
  • rect(x,y,width,height,layer=0)
  • drawGrid(skipx=20,skipy=10,layer=0)
  • writePixels(pixels,x,y,layer)
  • stepConwayLife(readLayer,writeLayer)
  • copyLayer(readLayer,writeLayer)
  • countNeighbors(x,y,layer)

Repository

Cellular Automata and friends are welcome to visit conway life on bitgrid

About

width height layers of single bit pixels

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors