Looping clips from six engines: a wind tunnel, electric field lines, a strange attractor, an oscilloscope, a circuit lattice and a molecule on a CRT

The code behind the spectrometry.mp4 videos

Nothing on the channel is animated by hand. A real simulation runs and every frame goes straight into the video. These are the engines that do it, free for anyone to use.

Find the engine behind a video

Tap the one that looks like what you saw.

Wind Tunnel: three airfoils shedding vortices, coloured by flow speed Field Lines: glowing blue electric field lines around moving charges Lattice Grid: a honeycomb of coloured circuit symbols flickering to a beat Shape Physics: balls breaking out of a spinning pink ring Attractors: a Lorenz butterfly drawn by thousands of glowing particles Oscilloscope: a green phosphor rose pattern on a simulated CRT Chemical Scope: serotonin and its FTIR spectrum on a green CRT Chemical Profiles: caffeine with its FTIR spectrum, animated in manim Academia: stacked simulated spectra for a class of molecules

Not public yet

These made some of my newer videos. Their code shows up on GitHub once it's cleaned up for sharing.

Gas Lab: gas molecules compressed and ignited in an engine cylinder Orbital Lab: a glowing electron orbital morphing between shapes Plume Lab: three rocket exhaust plumes with shock diamonds Mechanics Board: a physics problem solved on white paper Cinematic: a title card over a swirling blue field Elements: the carbon tile from the 118 element series Field Notes: creatures in a living blue ecosystem Bio Lab: a colony of glowing green and yellow cells Cow Launch: a cow riding a rocket plume into the sky

Try one in five minutes

You need Python 3.10+ and ffmpeg. A GPU helps, but nothing needs one.

1. Get the code

git clone https://github.com/ec175/spectrometry_public.git
cd spectrometry_public
python -m venv .venv

Then turn it on: .venv\Scripts\activate on Windows, source .venv/bin/activate on macOS and Linux.

2. Make a full video

A finished scene: one molecule and its spectra.

pip install -r chemical_profiles/requirements.txt
cd chemical_profiles
manim -ql -r 540,960 chemical_profile.py VerticalProfile_Aspirin

…or put the CRT look on your own clip

pip install -r engines/oscilloscope/src/requirements.txt
python engines/oscilloscope/src/filter_cli.py your_clip.mp4 filmed.mp4 --glitch 0.8

Use it in your own stuff

Anyone can use this code. It's MIT licensed. All I ask is a trail back to the repo:

  • Keep the two-line header at the top of any file you copy.
  • Credit it in your project or your video description:
Made with spectrometry.mp4 engines by Ethan Earl - github.com/ec175/spectrometry_public

Using an AI coding agent? Point it at AGENTS.md. Posted something? Tag @spectrometry.mp4.