Sea of shapes
Inspired by @lusionltd (lusion.co). Rebuilt from scratch by HASIO.
A liquid of little shapes under one line of type: the pointer stirs it, and a press opens its floor so the sea pours back out from the pointer.
See it move, then play it
Move to stir · hold to pourDrag to stir · hold to pour
What it does
Hundreds of little shapes fill the screen like water: rings, pills, dots and the letters of HASIO.
Move through them to stir them. Press, or tap, and the sea pours back out from where you are.
How we built it
01 — A liquid, one shape per drop
It is a particle-in-cell fluid on the CPU: 1600 shapes at 1440×900 on a 56×36 grid, pressure solved 60 times a step, kept three radii apart. To the solver every shape is a disc; the plus, the rings, the pills and the letters are only drawn. Ten families, one instanced draw each, no allocation in the frame.
02 — Measured on the original, frame by frame
We stepped Lusion’s page one 1/60 s at a time and read its simulation’s own arrays. A still pointer clears 15.6 px plus a shape’s radius, a fast one 78 px, and shapes inside it take twice its speed. A 100 ms click recycles 97 shapes, one bottom row; holding pours 802 a second.
03 — Same numbers in, same sea out
Given the same random numbers and the same pointer, our solver puts every shape where the original’s does: over six seeds, both looks, at 1440×900 and 390×844, the depth, the waves after a pass, the click and the hold all come out identical. Three details, found by stepping the two side by side, made the difference: each shape is pushed off its neighbours from where it stood when its pass began, neighbours are looked for in cells 2.2 radii wide, and a finger’s speed on landing is measured from where it last lifted.
04 — A click adds nothing
Pressing opens the floor. Every shape that sinks through it pours again from the pointer, at up to 2000 a second, so a held press is a waterfall through the sea and the count never changes. No cap, no fading, nothing to clean up.
05 — Our shapes, our letters
The hero’s + and ○, a tilted ring of the Morb’s gimbal, a pill, a dot, and H A S I O in geometric letters drawn from bars and arcs. Not Cabinet’s outlines: its licence forbids extracting them.
06 — Extras, on top of the original
Three things the original does not do. On a phone a tap drops shapes (its phones drop nothing); Space or Enter drops them from above; and the play view switches between the two looks, Paper and Orange, which the original keeps on two separate pages.
Make your own
Build a sea of small shapes that behaves like a liquid, under one large line of type: a 2D particle-in-cell fluid on the CPU, one particle per shape, drawn with one instanced WebGL draw call per shape family. Size the tank to the screen: 2 units wide, the grid about 55 cells across at 1440 px (fewer on a phone), particle radius 0.2 of a cell, centres kept 3 radii apart, 60 pressure iterations, pure PIC so it sloshes and calms. Pour every shape from the centre of the screen at 2000 a second when it first appears. The pointer is a solid disc: about 16 px when still, growing to 78 px when fast; shapes inside are pushed to its rim and given twice its velocity. Pressing lifts the disc and opens the floor: shapes that sink through it pour again from the pointer, so the count never changes. On a phone a held finger stirs with a fixed 28 px disc. Shapes spin when they move and stop when the sea is still. Draw the text in front of every shape. Pause off screen and in a hidden tab, show a still settled sea with reduced motion, and clean up everything on unmount.
The code goes public soon. The prompt is yours now.
Credit
Inspired by @lusionltd (lusion.co). Rebuilt from scratch by HASIO — no code or assets reused.
Want this on your site?
Message us on WhatsApp. The message already says you mean , so we start from the right place.
Or ask your AI about us.
Tell us what you’re planning
See what we’ll send
Read https://hasiostudio.com/llms.txt and the pages it links. Then ask me what we’re planning, who it’s for and when we’d like to launch, and tell me whether HASIO Studio is a good fit for the project. If it is, draft a short email to hello@hasiostudio.com with our scope, timeline and budget.
Or if you prefer a human — email us at hello@hasiostudio.com
