A technical notebook about signals and machines
sinusoidal.space
Visual essays and interactive lessons about how continuous phenomena become samples, spectra, tensors and computation—and what gets lost along the way.
signals → representations → models → efficient computation
Learn by doing
Signals to learning.
An interactive masterclass from your first waveform to modern sequence models.
40 lessons, 10 modules and four integration projects. Predict, experiment, check your understanding and apply the idea. Start with basic arithmetic; build up the maths and practical judgement along the way.
Featured essays
All essaysNonlinearities create frequencies—and aliases
Follow newly created harmonics across the sampling boundary.
07RoPE: relative position as phase difference
Rotate content vectors and inspect relative attention scores.
08Why fewer operations can still run slower
Follow FFT stages into memory traffic and hardware utilisation.
09Memory as a dynamical system
Connect decaying, rotating states to filters and sequence models.
01The Fourier transform, made visible
Compose a signal, then inspect the magnitude and phase that describe it.
02Aliasing is everywhere
See why different continuous signals can become identical after sampling.
03Convolution: FIR filters → CNNs → fast computation
Follow one operation across filtering, learned kernels and frequency space.
04Sinusoidal positional encodings, from first principles
Build a vector representation of position from paired periodic coordinates.
05Building a GPU STFT pipeline
Map a time–frequency transform from equations to buffers and execution.
Open the lab
All experimentsNonlinear harmonic folding
Compare direct cubic sampling with an ideal band-limited reference.
Rotary position explorer
Move query and key positions and inspect their dot product.
FFT traffic calculator
Compare stage-by-stage transfers with an ideal I/O floor.
Rotating state memory
Inspect how decay and rotation shape an impulse response.
What this is
Signal processing and machine learning are often taught in separate rooms. This notebook follows the representations that connect them: from physical variation to samples, from samples to useful coordinates, and from those coordinates to algorithms that must run on real hardware.