Shadertoy demos

Shader experiments

Links to some of my demos and code in shadertoy. Shadertoy is a platform for creating and sharing shaders. "Shader" is a type of program that runs on the GPU and can create complex visual effects in real time. The shaders linked here are mostly visual experiments related to physics concepts, but they can also be appreciated for their artistic and technical qualities.

A white spacetime grid curves around a red point beside a magenta worldline.
2023-12-14

Rindler transformations 2D

Construction of Rindler coordinates for an observer under constant proper acceleration.

Open on Shadertoy →
Rows of red and blue charges form a cylindrical array above a green reference grid.
2023-03-08

Origins of Magnetism 3

Magnetic forces are electric forces in the moving frame. Part 3

Open on Shadertoy →
A violet rocket faces a red ring within a three-dimensional lattice of white cubes.
2022-07-12

Relativistic Space Drive

Relativistic speeds from first person perspective. Retardation effects included.

Open on Shadertoy →
Cyan and red wave patterns scatter through two columns of circular refractive regions.
Shadertoy

Maxwell's Equations simulation

Wave propagation in a refractive medium with absorbing boundaries.

Open on Shadertoy →
A violet rocket hovers over a green grid in front of a sheet of red and blue charges.
Shadertoy

Origins of Magnetism 2

Magnetic forces are electric forces in the moving frame. Part 2

Open on Shadertoy →
Red and cyan wavefronts interfere around a circular refractive region.
Shadertoy

Maxwell's Equations with soft refraction

Wave propagation in a refractive medium

Open on Shadertoy →
Blue charges above and red charges below stretch into the distance over a green grid.
Shadertoy

Origins of Magnetism 1

Magnetic forces are electric forces in the moving frame. Part 1

Open on Shadertoy →
Rows of black and white cubes converge around a central ring against a red-tinted horizon.
Shadertoy

Rindler Horizon

Visualization of Rindler horizon in first person perspective.

Open on Shadertoy →
A violet rocket travels among rows of gray wireframe spheres.
Shadertoy

Terrel-Penrose effect

What Spheres, both rotating and unrotating, look like for a fast-moving observer.

Open on Shadertoy →
A purple apparent cube is displaced from a pale cube marking its true position.
2022-06-14

Retard3D

My first attempt at a ray-marched 3D scene with retardation effects.

Open on Shadertoy →
Glowing purple cells cover a transparent torus with a bright violet rim.
2022-04-28

Game of Life on Torus

A buffer-practice: Game of Life shader on a Toroidal world.

Open on Shadertoy →