/img-melt

IMG-MELT is an HTML5 custom element for melting images pixel by pixel into a lump of pixels at the bottom of the image frame.

Primary LanguageC

img-melt

A custom HTML element that melts images pixel by pixel. Each pixel is compared with the pixel below it and if the supporting (lower) pixel is transparent the upper pixel will fall into its place (their positions are swapped).


For the WebAssembly + WebGL stuff, you need to npm install the dev dependencies, to be able to run grunt to listen to changes and run the C++ compilation. You need to install emscripten to compile. A guide can be found on their website here.

To run the stuff, you also need to serve the files via a server (a barebones one is included), as this is a requirement for WebAssembly to work.