User Tools

Site Tools


notes:animation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

notes:animation [2026/05/12 16:29] – created osnrnotes:animation [2026/09/30 21:31] (current) – osnr
Line 33: Line 33:
     for {set i 1} {$i <= $N_FRAMES} {incr i} {     for {set i 1} {$i <= $N_FRAMES} {incr i} {
         Claim $this-frame-$i has resolved geometry $frameGeom         Claim $this-frame-$i has resolved geometry $frameGeom
-        When /someone/ wishes $this-frame-$i is outlined /color/ &\+        When -atomically /someone/ wishes $this-frame-$i is outlined /color/ &\
              $this-frame-$i has quad /frameQuad/ {              $this-frame-$i has quad /frameQuad/ {
  
Line 72: Line 72:
         Claim $this-frame-$i has quad $frameQuad         Claim $this-frame-$i has quad $frameQuad
  
-        When -nonatomically $this-frame-$i has camera slice /slice/ { +        When $this-frame-$i has camera slice /slice/ { 
-            When -nonatomically the clock time is /t/ { +            When the clock time is /t/ { 
-                Hold! -key anim -keep 25ms {+                Hold! -key [list anim $i] -keep 25ms {
                     if {round($t * $FPS) % $N_FRAMES == ($i - 1)} {                     if {round($t * $FPS) % $N_FRAMES == ($i - 1)} {
                         Wish $this-frame-$i is outlined green                         Wish $this-frame-$i is outlined green
notes/animation.1778603383.txt.gz · Last modified: by osnr

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki