4 ms·
Lavalamp.app
- ebg13 6y agoVertically oscillating metaballs don't really look much like a lava lamp.
- narco_snow 6y agoI mean... Kinda. Lol. Just enjoy the pretty colors and stop being a curmudgeon.
- ggoo 6y agoLaval.app was too expensive I'm guessing
- j3th9n 6y agoFinally a true random number generator available as a web app.
- moehm 6y agoFor anyone not getting the reference: https://en.wikipedia.org/wiki/Lavarand https://en.wikipedia.org/wiki/Lavarand https://www.cloudflare.com/learning/ssl/lava-lamp-encryption/ https://www.cloudflare.com/learning/ssl/lava-lamp-encryption...
- enos_feedler 6y agoAh doesn’t work in my browser. Promise of the web in action
- corobo 6y agoDoes it actually not work or did you not give it enough time to warm up? It's a lava lamp!
- binarycodedhex 6y agoI had to buy brakleen, candle wax, candle dye, distilled water, ethylene glycol, dish soap, food coloring, and a capping machine to fix mine. What a PITA. Old lava lamps bought off eBay. I should've just hit the refresh button and waited.
- liminal 6y agoThis seems more like metaballs than a lava lamp simulation. The balls interact before they touch.
- GuB-42 6y agoActually, these are blurred circles. Apparent when you set the "fuzziness" slider to zero. Metaballs are different. They are essentially a visualization of electric or gravitational fields. For the traditional formula in 2D, each pixel is colored based on the weighed sum of the inverses of the distances to the center of each "ball".
- narco_snow 6y agoYep, metaballs. I'm planning on upgrading to the "double density relaxation" algorithm to make it more lava-y. I've never done that before, and the algorithm is pretty complex... Here's a good example if you're interested. https://peeke.nl/simulating-blobs-of-fluid https://peeke.nl/simulating-blobs-of-fluid
- eznzt 6y agoSeems interesting, but the colour palette is just awful.
- lgas 6y agoYou can change the colors in the settings.
- narco_snow 6y agoYep, it uses the same trick as metaballs to cause the blobbing and sets the contrast really high. This makes the colors pretty weird... I started with a color picker but it was a pretty poor experience.
- tempodox 6y agoThe default colors are pure torture and the HSV sliders don't function correctly.
- narco_snow 6y agoYou can use the share button to get a link to other colors. Personally, that gnarly green is my favorite color. Glad I got the chance to torture you.
- w4rh4wk5 6y agoDoes anyone else have issues with the sliders?
- dylan604 6y agoThey seem very sensitive on granularity of the slider (esp brightness), however the response of them effecting anything seems like the environment is bogged down drawing the window and ignoring slider input until it can catch its breath.
- lostgame 6y agoA lot of people hating on this in the comments, but other than; yes, those absolutely God-awful default colours I’d say it’s pretty neat.
- HeckFeck 6y ago> God-awful default colours The 1970s throwback wouldn't be complete without it.
- deostroll 6y agohttps://github.com/narcolepticsnowman/lavalamp.app https://github.com/narcolepticsnowman/lavalamp.app
- carl8 6y agoI made something similar, called PlasmaJS which you can view here: http://plasmajs.com http://plasmajs.com
- narco_snow 6y agoCooooool
- mkarliner 6y agoI'd like a slider to control viscosity/stringiness. It's a nice idea, but I agree the sliders need work.
- narco_snow 6y agoRight now it's just using the metaball trick (high contrast and blur filters), so fuzziness is as close as that will get. A future version will have more realistic lava that correctly "blobs". I'll make sure and add sliders for those :) Algorithm if you're interested. https://peeke.nl/simulating-blobs-of-fluid https://peeke.nl/simulating-blobs-of-fluid
- stinos 6y agoAt first sight the thing which differs most from an actual lamp is that if two blobs collide they merge and then 'unmerge' only to continue with same shape and in in the same direction as before the collision. Takes away some of the magic, still: nice.
- narco_snow 6y agoYeah I had thought of making them stick together... I'm going to upgrade it to use this algorithm in the future https://peeke.nl/simulating-blobs-of-fluid https://peeke.nl/simulating-blobs-of-fluid Should be super neato then :)
- some1else 6y agoThis heats up the computer as well, just like the real thing!