Re:P5.js Crash Course: Recreate Art You Love
by qubex on Monday November 06, 2017 @11:15PM
(#15641043)
I really love Processing (and its derivative P5.js) but I never really have any ideas to what to build with these tools in order to get truly dexterous and acquainted with them. I’ve recently set myself the goal of implementing the ”Wave Function Collapse Algorithm” (https://github.com/mxgmn/WaveFunctionCollapse/blob/master/RE...) in P5.js as a kind of catalyst to get me going.
[ Parent
| on HN ]
Re:P5.js Crash Course: Recreate Art You Love
by posterboy on Tuesday November 07, 2017 @12:07PM
(#15645162)
This was a while ago, right? It's pretty cool, could be used for a procedural demo, maybe with music in a similar way.
Re:P5.js Crash Course: Recreate Art You Love
by qubex on Wednesday November 08, 2017 @08:46AM
(#15652298)
The algorithm was discovered/invented by analogy to Quantum Mechanics (with which it shares many similarities, but also important differences: the algorithm deals with probabilities, while the actual quantum physics deals with amplitudes, of which probabilities are the square).
Most of the stuff on that repository dates back about a year, and I first read about it about then here on Hacker News, but searching for the actual article has me swamped with references to quantum mechanics and physics.
Anyway, it has very general and broad applications indeed. Audio, 3D voxel spaces, et cetera, beyond the obvious 2D pixel space.
UPDATE: found the original entry on Hacker News, it was indeed first mentioned a year ago (with a few subsequent reposts): https://news.ycombinator.com/item?id=12612246