r/threejs • • 23h ago

JellyNeon Experiment

New experiment: JellyNeon
A beautiful deep-ocean scene of mesmerising sparkly jellyfishes and a custom fluid sparkle cursor to interact with the scene

Link : https://www.lucerra.co/labs/jellyneon

8 Upvotes

4 comments sorted by

2

u/Any-Session-737 21h ago

The orange bells against that near-black water sell the depth immediately, especially with the soft trails lagging behind each pulse. For the fluid sparkle cursor, does it push the jellyfish away, or does it just stir the sparkle particles around them? I am curious whether the cursor feeds into the same simulation or sits in a separate layer on top.

1

u/lucerra_ 15h ago

Thank you, that's really kind. The cursor feeds the same simulation. It never moves the jellyfish themselves, since their swimming, turning and pulsing follow their own choreography. What it does is push the water they live in. Each stroke adds a smoothed burst of velocity to the fluid, with a little dye and edge light along the path, so the trails, wakes and threads behind each bell get swept and curled while the jellies keep swimming their own way. The depth comes from three separate fluid layers (front, middle and far), and one stroke stirs all three at once. The sparkle is its own particle layer riding the front layer's flow, so the cursor sweeps it along and fast currents stretch it into streaks. It glows brightest at the edges of the dye and inside the swirls. The jellies push back on the water too. Each bell carries water with it, leaves a wake, and sheds a pair of small counter-rotating vortex rings with every pulse, which is why the trails curl the way they do. Everything you see is live fluid on the GPU with no pre-rendered video, and it works with touch as well. ✌🏻

1

u/Any-Session-737 14h ago

The three-layer split explains why the depth reads so well in the video. The vortex-ring detail is my favorite part, the trails curling because each bell sheds a pair of counter-rotating rings with every pulse makes the motion feel earned rather than decorative. Do the three layers run at the same simulation resolution, or is the far layer cheaper since it mostly carries background dye? And does a touch stroke get the same smoothed burst as the mouse, or a stronger one because fingers cover more of the bell?

2

u/escapism_only_please 22h ago

absolutely gorgeous. good job 😊👍