Baroque fractal divide lines

April 30, 2023

Julia sets make an interesting visual building block that can be combined with other kinds of transforms to create different shapes.

Here they are used to create some baroqueish page divide lines.

(more)

Python gets down to (the) Metal

April 26, 2023

Are you a mac & Python person?

Do you have a few trillion numbers to mulitply together?

But are you also a busy person who doesn’t have all day to wait for the results?

If the answer for all these questions is “Yes!”, then this post might just be for you.

(more)

Baroque divide lines come alive

February 22, 2020

On twitter I suggested that my future blog posts would be sprinkled with animated shaders in the space between paragraphs.

Some people (quite reasonbly) though this was a joke. But I actually had in mind a modern take on the ornate section divide lines you might find in an old book.

(more)

4 bits ought to be enough for anyone

February 20, 2020

It is time for our 4KB audio visual experiment with Rust & WASM to get a shader on the screen.

To do that while staying within the strict byte budget, we are going to go back to the future by making a virtual machine with a 4-bit instruction set.

(more)

4KB Rust & WASM: Finding functions

February 8, 2020

In the last post, we put together a minimal WASM file using Rust that runs directly in the browser. Next we need to make it do something by giving it a way to find and call javascript functions.

(more)

Making fruit loops dance with Rust & WASM in 4KB

February 3, 2020

I’ve been exploring Rust+WebAssembly recently. Here is an experiment made with those - my friend said it looked like thousands of fruit loops dancing to “music”. It runs in your browser (and maybe even your phone). One file, just 4092 bytes.

(more)

Raking through the embers

September 26, 2017

Let’s build up the “Juhannus Embers” GLSL fragment shader step-by-step to see how wandering particles emerge from an almost stateless system.

(more)

Embers (inline)

September 2, 2017

This is the same “Juhannus Embers” shader I posted earlier, but this time I upgraded my own lightweight WebGL javascript library (so far called “gle.js”) to support animations so that it can be shown running without the embedded shadertoy player. Because the shadertoy player is quite fully featured, and more inteded for desktop browsers, it has some trouble on some mobile devices. The gle.js player is quite slim, so it may work slightly better on mobile. (more)

Embers

August 31, 2017

This was a small experiment to create a simple particle engine in a fragment shader that could run with good performance on mobile devices. I will describe in more detail how it works in a future post, but you can examine the source already on shadertoy. It’s built around triangle waves which I showed in the last post. (Unfortunately the embedded player may not work on all devices)