Home

Selected work

Projects

A collection of work at the intersection of mathematics, code and artificial intelligence.

LM LAB
01Interactive notebooklive demo

LM LAB

Learn how ChatGPT works — from the ground up.

An interactive notebook that walks, chapter by chapter, through the ideas behind language models. Not a course or a tutorial: a tour of the concepts with visualizations you can touch — from the simplest bigram to attention and text generation.

What's included
  • Interactive visualizations
  • 5 guided chapters
  • Live inference
  • Bilingual (EN · ES)
sova
02Language + compilerin progress

sova

Write pseudocode in Spanish. Compile to WebAssembly.

A small, expressive language whose keywords read like Spanish pseudocode, with a full compiler that turns it into runnable WebAssembly. You write FUNCION, MIENTRAS, MOSTRAR… and get a .wasm module that runs in Node.js or the browser.

What's included
  • Static types
  • Functions by value and reference
  • Arrays and records
  • Runs in Node.js and the browser
More work04
03Digital garden

My Latent Space

latent-space · essay

Notes, ideas and unfinished thinking. A personal system to explore concepts and map meaning.

Mind · Essays·Notes·Evolving
writingEssays · Notes2025
04Inference engine

titan-engine

bench · tok/s

High-performance LLM inference engine written in C++ and CUDA.

C++ · CUDA·Custom kernels·In progress
in progressC++ · CUDA2025
05Mathematical visualization

fourier-draw

transition_matrix

Draw a stroke and watch it rebuilt with epicycles: the Fourier transform turned into an animation you can touch.

Canvas·Live DFT·~3 KB
live demoCanvas · Math · DFT2024
06Generative lab

automata

A playground for cellular automata and artificial life running on the GPU. Simple rules that generate complex behavior.

WebGL·Rust → WASM·60 fps
in progressWebGL · Rust · WASM2024