Save Expand icon

Ron Valstar
front-end developer

Strange attractors in JavaScript

Over ten years ago I made a strange attractor renderer in Java (and P55). Back then Java applets were still the only way to get raw computing power to the client-side of the web. A strange attractor is not complicated, but because it is deterministic it needs a few billion iterations for a proper result. September last year Chrome dropped support for Java applets. Since JavaScript has come a long way I thought I’d try a remake in Nodejs. I compared a rough to a client-side implementation and found the speed difference negligible enough to bring the entire implementation to client-side JavaScript.
Contrary to the old Java applet this JavaScript version can burp out animated gifs and webm videos.

attractors00
attractors01
attractors02
Lorenz 84 52
Lorenz 84 31
Lorenz 84 57