Design engineering
Soft Machine
An open-source set of 3D and motion components for React. Steady 60 frames a second on a five-year-old laptop.
Client
Self-initiated
Role
Design engineer
Year
2025

Overview
Soft Machine is a self-initiated, open-source set of 3D and motion components for React. It exists because every gradient blob on the web was either a video or a slideshow, and neither is kind to a laptop.
Concept
Creative coding
Shader work
Component API design
Documentation


Soft, moving 3D that runs at sixty frames a second on a five-year-old laptop.
The challenge
Designers kept asking for living gradients and soft 3D shapes. Engineers kept shipping a looping video, because the real thing dropped frames. The gap was not talent. It was the lack of parts built with performance as the brief.
Concept
I set one rule before writing any code: every component must hold sixty frames a second on my 2020 laptop, on battery. Anything that could not was cut or redrawn until it could.
Shaders
The softness comes from a handful of small shaders rather than heavy geometry. Colour is bent in screen space, so a full-page gradient costs about the same as a single image.
I replaced a 4 MB hero video with eleven lines of code.
A message from a user, three days after launch

Component design
Each of the twelve components takes plain props, colours, speed and softness, and nothing a designer would need to look up. They pause when off screen and respect reduced motion by default.
Documentation
Every component has a live playground and a one-line install. The examples are the tests. If a demo drops a frame, the build fails.
Results
60 fps
On a five-year-old laptop
12
Components
2.4k
GitHub stars in the first month
The solution

