<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sketchbook.git/examples/vecanim/test, branch main</title>
<subtitle>A small Zig platform for sketching games and toys</subtitle>
<id>https://git.0x4200.cafe/sketchbook.git/atom?h=main</id>
<link rel='self' href='https://git.0x4200.cafe/sketchbook.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/'/>
<updated>2026-11-17T15:15:01Z</updated>
<entry>
<title>examples: a talk that runs its own Deck, and its script</title>
<updated>2026-11-17T15:15:01Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-17T01:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=6b07c3b2ee86592a28a713b4c6c40007c28eb6b8'/>
<id>urn:sha1:6b07c3b2ee86592a28a713b4c6c40007c28eb6b8</id>
<content type='text'>
examples/talk.zig keeps an anim.Deck in its State beside its own data,
turns clicks and keys into asks and paints with an anim.Painter: two
slides, a mass that bobs (loop) while the deck waits, a damping slider laid
out and hit-tested in the talk (it takes its clicks), a choice gate that
branches on it, and slide 1 cleared beside slide 2's writing.
test/talk.script (zig build test-talk) steps it, finishes a step on a
click, goes back, jumps slides, drags the slider without advancing,
reloads mid-wait with the first step retimed (same step, t a second later)
and checks two exports with 2 s holds frame by frame. The vecanim live
scene's words follow the new pause.
</content>
</entry>
<entry>
<title>anim: the stock player runs on the Deck</title>
<updated>2026-11-17T15:15:01Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-17T01:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=7e3475a779f9e8dcb14b96cfc59e2b92a20c0cda'/>
<id>urn:sha1:7e3475a779f9e8dcb14b96cfc59e2b92a20c0cda</id>
<content type='text'>
The player's State is an anim.Deck plus the viewer's settings; keys and
clicks become an Ask: click, space and page down step (space plays or
pauses a scene with no pause), page up and backspace go back a step, ] and
[ go a slide, P plays or pauses, left/right/home/end/,/. seek through
Ask.to and Ask.end. A compiled scene is a talk without gates. The HUD
shows the slide and step, and when the talk waits. Exported, each pause
holds the scene file's hold (1 s). Its frozen hold (held, stopBetween,
proceed) is gone. Scripts read deck.t and deck.playing where they read t
and playing.
</content>
</entry>
<entry>
<title>Move standalone sketches into sketchbook examples</title>
<updated>2026-11-17T00:28:20Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-17T00:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=6933f99ddb2d7103515d26838496309a807bba26'/>
<id>urn:sha1:6933f99ddb2d7103515d26838496309a807bba26</id>
<content type='text'>
</content>
</entry>
</feed>
