Small decisions. Interesting possibilities.Submit contentSubmit
Jev Canvas GIF preview

Jev Canvas

A tldraw canvas you draw on by speaking while pointing, where Jev decides on each debounced transcript update whether the words are a command and which shape, colour, place and size they mean.

Added to Jevfast

How it uses Jev

Every transcript update, partial or final, becomes one request, so a spoken sentence costs two to four requests and at most two are in flight at once. The state holds the trimmed transcript, a description of the finger and what it is over, the visible canvas area and one compact line per existing shape, plus the finger position saved when each pointing word was spoken. Eight questions ride together: is_command and complete are yes-or-no, action covers create, move, delete, recolor, resize, duplicate, clear, undo and redo, shape and colour are Choices over the supported values, target is a Choice over the existing shape ids with a none option, where is a Choice over the finger point, the centre and eight regions, and size is a five-step Score. An optional text question asks which span is exactly the text to write. Code acts only on the returned choice and copies the span from the transcript.

What Jev decides

One spoken instruction to the canvas (illustrative)Example answers · not a recorded Jev response · Source ↗
Question 1 · is command
YOUR APP
INSTRUCTION

Is the speaker giving an instruction to the drawing canvas rather than talking to another person or thinking aloud?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · NOUL
YesNo
Question 2 · complete
YOUR APP
INSTRUCTION

Has the speaker finished the instruction, so that it can be carried out right now?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · NOUL
YesNo
Question 3 · action
YOUR APP
INSTRUCTION

What should happen on the canvas?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · CHOICE
  1. create
  2. move
  3. delete
  4. recolor
  5. resize
  6. duplicate
  7. clear
  8. undo
  9. redo
  10. none
Question 4 · shape
YOUR APP
INSTRUCTION

Which kind of new shape does the speaker ask for?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · CHOICE
  1. rectangle
  2. ellipse
  3. star
  4. note
  5. none
Question 5 · color
YOUR APP
INSTRUCTION

Which colour does the speaker ask for?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · CHOICE
  1. yellow
  2. red
  3. blue
  4. green
  5. none
Question 6 · where
YOUR APP
INSTRUCTION

Where on the canvas should the shape be placed or moved to?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · CHOICE
  1. point
  2. center
  3. top_left
  4. top
  5. bottom_right
  6. none
Question 7 · size
YOUR APP
INSTRUCTION

What size does the speaker ask for, from tiny through no size mentioned to huge?

STATE

The transcript, the finger with what it is over, the visible area, a line per existing shape, and the finger position recorded for each pointing word. Shape ids are short labels like s1.

JEV · SCORE
04

App workflow

  1. Capture speech and the hand

    The browser speech recogniser transcribes the phrase while MediaPipe tracks the fingertip and stores its position for each pointing word.

  2. Build one request

    The transcript, the shapes, the visible area and the recorded pointing positions are assembled into a single state with the fixed question set.

  3. Ignore anything not addressed to the canvas

    A low is_command probability stops the turn before any shape is touched, and an unfinished instruction waits for the next phrase.

  4. Apply the chosen action

    Code reads the action, shape, colour, target, place and size answers, creates or edits the shape on the tldraw canvas, and copies any text span from the transcript.

  5. Show the decision

    The interface reports what was chosen so the speaker can see why the canvas changed, and can undo it like any other edit.

Why it is interesting

The finger position is sampled at the moment each pointing word is spoken, so here and there resolve against where the hand actually was rather than where it is when the answer arrives. A 200 ms debounce, dropping answers that arrive after a newer one and aborting an older request when a third is needed keep the document at 300 to 550 ms per decision, and the existing shape inventory and size rubric travel in the same state so the model never invents a target.