Add matrix code demo#569
Conversation
…Fs, a bloom implementation, and noisy color mapping to recreate the code rain effect seen in The Matrix. Added thumbnail to example/img.
| #exList li { | ||
| list-style-type: disc; | ||
| margin-left: 1em; | ||
| } | ||
|
|
There was a problem hiding this comment.
Adding support for bulleted lists in example descriptions
| fs.writeFile('www/gallery.html', html) | ||
| fs.writeFile('www/gallery.html', html, function(err){ | ||
| if (err) { | ||
| throw err | ||
| } | ||
| }) |
There was a problem hiding this comment.
Node threw an error, actually, when I first ran the gallery builder, because there was no passed in handler.
| console.log('minified ', minFile) | ||
| console.log('stdout: ', stdOut) | ||
| console.log('stderr: ', stdErr) |
There was a problem hiding this comment.
Outputting this data before attempting to save the file, in case there was a full-blown error that prevented the minified file from being generated in the first place
|
Thanks for this, @Rezmason! Looks great. The built-in gallery had a dependency on wzrd.in which didn't reliably work, so I think https://github.com/regl-project/regl-gallery is a more promising place to maintain the gallery (additionally, the gallery link on regl.party has been redirected to https://regl-project.github.io/regl/www/gallery.html ). At risk of stepping on toes, I've never maintained the gallery, so I took the liberty of transferring this PR over and rebuilding the gallery: regl-project/regl-gallery#1 It can be nice to distribute small examples with the npm module for easy offline reference, but it's probably additionally a good idea to remove the build scripts from the regl repo to prevent confusion over where the gallery actually lives (pardon the duplication!) |
|
Sounds good! Removing the redundancy sounds like a good call. |
|
I still think we can land this. |
Created an advanced demo, using floating point FBOs, GPU compute, MSDFs, a bloom implementation, and noisy color mapping to recreate the code rain effect seen in The Matrix.
This is a simplified version of the project I maintain separately, and recently migrated to REGL.