Experiments

Each experiment is standalone. No prerequisites, no sequence.

New
01

Embeddings

Type two phrases, get their vector representations, compare cosine similarity in real time. All-MiniLM-L6-v2 runs entirely in the browser — no server, no API.

transformers.jsNLPvectors
New
02

Semantic Search

Build a phrase collection, store embeddings in PGlite (Postgres in WebAssembly), search by meaning. 100% in-browser, IndexedDB persistent.

PGlitepgvectornearest neighbour
Soon
03

Briscola

Italian card game with a reinforcement learning agent. Watch it learn — or play against it.

RLgame
Soon
04

Pong

Two agents, self-play, emergent behavior from minimal reward signal.

self-playemergent
Soon
05

Genetic Algorithms

Watch evolution happen in real time. Mutation, selection, local optima.

evolutionoptimization