3 ms·
The end of the post links to two jsfiddles: > If you want to try out SmoothLife yourself in your browser, I made a few jsFiddles which illustrate the basic pri
by quuxplusone 2y ago
The end of the post links to two jsfiddles:
> If you want to try out SmoothLife yourself in your browser, I made a few jsFiddles which illustrate the basic principle. Here is a Fourier based implementation that follows the discussion in this article pretty closely: http://jsfiddle.net/mikola/aj2vq/ http://jsfiddle.net/mikola/aj2vq/
> I also made a second WebGL/GPU based implementation that uses a discretization similar to that proposed in Rafler’s original paper: http://jsfiddle.net/mikola/2jenR/ http://jsfiddle.net/mikola/2jenR/
The jsfiddles seem to still be alive, but the "Run" button doesn't work for me. Anyone have any luck with them?
- rezmason 2y agoSame. Looks like the "numeric" JS library is no longer hosted at the URL they link to in their dependency list— I had to replace it with "https://unpkg.com/numeric https://unpkg.com/numeric", which seems to have fixed it for me.
- Aardwolf 2y agoWhere can you see this dependency list? Tried to look everywhere in the jsfiddle UI but don't find it My best attempt was setting numeric="https://unpkg.com/numeric https://unpkg.com/numeric" in the "Framework <script> attribute" dialog but that did nothing. EDIT: fixed it by copypasting the numeric.rep code from https://gist.github.com/ftrotter/5605853#file-numeric-1-2-4-js-L366 https://gist.github.com/ftrotter/5605853#file-numeric-1-2-4-... with 'var numeric = {}' in front of it near the top of the JS file
- vollmond 2y ago> Where can you see this dependency list? Tried to look everywhere in the jsfiddle UI but don't find it "Resources" in the left side menu