Created
April 16, 2017 08:51
-
-
Save sniok/aa285acff6be85b3f5ca57b1c3928206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var data = new ImageData(512, 512); | |
var pixData = data.data; | |
for (var i = 0; i < PARTICLES_COUNT; ++i) { | |
// write pixels | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment