~/lab/sandwich-rendering-engine

The Sandwich Rendering Engine.

Speculative Rendering Engine is an idea I am playing with: as you interact with a site, your moves trace a path through a node graph that the engine uses to predict what you will do next. With that prediction in hand it can pre-render the UI and pre-fetch the data ahead of time, so the interface stays a step in front of you. This demo puts that learning on display as a sandwich builder. Build a few delicious sandwiches and watch it learn what you will, and won't, reach for next.

Pick a starting bread.
start your sandwich
rendering options…
taste graphhover a choice · click to trace

Top Sandwiches

seeded classics + your builds
  1. 1
    Sourdough · Turkey · Swiss · Lettuce · Mustard · Ryehouse recipe85
  2. 2
    Rye · Ham · Cheddar · Pickle · Aioli · Ciabattahouse recipe85
  3. 3
    Ciabatta · Egg · Brie · Tomato · Mustard · Sourdoughhouse recipe85
  4. 4
    Sourdough · Tempeh · Swiss · Avocado · Aioli · Ciabattahouse recipe85
  5. 5
    Rye · Turkey · Cheddar · Onion · Mustard · Ciabattahouse recipe85
  6. 6
    Ciabatta · Ham · Brie · Avocado · Aioli · Sourdoughhouse recipe85

Predicted Future Sandwiches

what the engine thinks is coming

The predictor is a small, transparent model running entirely in your browser: a hand-tuned taste graph blended with what you keep reaching for. Open how the engine works in the readout to watch it think. This is the same shape as branch prediction in a CPU or speculative decoding in an LLM: do the likely work early, and win when you are right.

I imagine that with tools like this we can start to build non-deterministic UIs. I can see applications in dashboard metrics, AI modeling, or even 3D websites.