ByteArt
Art created dynamically from bytes
Code
Samples:
Output
Docs
Introduction
ByteArt uses JS to dynamically place pixels on a 256x256 canvas.
Variables and functions
- c - color channel (rgb), starts from 0
- t - time from start
- x - x position
- y - y position
- f(x) - shorthand for Math.floor(x)
- s(x) - shorthand for Math.sin(x)
- cs(x) - shorthand for Math.cos(x)
- r() - shorthand for Math.random()