Live data from Hacker News

Bubbles

oimo.io

91–100 of 182 posts

Re: Bubbles

#91
post #29

It's a wonderful thing: a toy, not a game. A game has a goal. Here you are free to experiment without being led or nudged. In the world of computer-based entertainment, it is refreshing.

> it is refreshing

I recommend exploring the top-right link and poking around this person's site. It felt like an old flash website and took me back a couple decades.

Re: Bubbles

#92
post #89
post #88

Fun fact: if you zoom out a ton, place the bubble machine at the outside edge, and then zoom back in to standard, you get a crap ton of bubbles very quickly

You also get completely glitched bubbles, [briefly] self-intersecting bubbles, and bubbles within other bubbles depending on how you position stuff!

[deleted]

Re: Bubbles

#93
post #6

So soothing! Todo: implement Lifshitz-Slyozov-Wagner (L-S-W) theory of particle coarsening for soap bubbles (avg size increases with cube of time) ;)

I was wondering why I couldn’t blow bigger bubbles?

Drag the ringy thing.

Re: Bubbles

#96

I absolutely love this and am curious about the technical details behind simulating soap bubbles like this (it looks like the code isn't available). Does anyone know what algorithm is being used?

https://github.com/saharan/OimoPhysics

Their physics engine doesn't seem related to the bubble toy as far as I can tell (although another HN comment implies it is). The physics engine implements 3D collisions between solid objects, joints, springs, etc. But the bubble toy is a different type of physics.

Re: Bubbles

#97

I absolutely love this and am curious about the technical details behind simulating soap bubbles like this (it looks like the code isn't available). Does anyone know what algorithm is being used?

Looks like a little bit of Voronoi patterns when the bubbles connect? https://en.wikipedia.org/wiki/Voronoi_diagram

Agreed that Voronoi patterns emerge, but I'm not sure that they're using an explicit Voronoi algorithm to achieve that effect. I doubt it.

It's more likely IMO that the Voronoi pattern emerges from the constraints of the simulation.

Re: Bubbles

#98

Thought this was using three.js, but they built their own physics engine: https://github.com/saharan/OimoPhysics

Three.js is just a rendering engine -- it wouldn't allow you to create something like this anyway.

Also, I don't believe that the bubble toy is related to their physics engine; it seems like a different type of physics. The engine is focused on 3D collisions, joints, springs, etc., whereas the bubble toy is simulating thin films.

I wish there was source code for the bubble toy so we could see how it works!

Re: Bubbles

#99

More of their amazing work here: https://oimo.io/works Also they appear to be a student?

This reminds me of orisinal games!

That stung me hard. Damn, Orisinal. I spent so much time playing those wonderful games on rainy afternoons with a tea pot. I had a dinky little Sony VAIO laptop, they were called "Netbooks" at the time around 2005. It was bliss.

Re: Bubbles

#100
It's a beautiful page! I miss sites like this.

Though strangely, it seems to disable all of my browser keyboard shortcuts. Even basic ones like going back, selecting the address bar, or changing the zoom level. I assume it's just listening for all key events, though I didn't even realize it was possible to override the basic ones.

edit: I found the bug! It has a list that's supposed to contain all possible keycodes, and if all the keys in your shortcut are on it that list it works. But I'm on macOS so my shortcuts all involve the "MetaLeft" or "MetaRight" key and those are missing from the list. Appending those keycodes to the minified array named `ba.G` fixes shortcuts for me!

Post reply on HN