#N canvas 533 102 521 605 10; #X declare -lib Gem; #X declare -lib Gem; #X obj 98 76 gemhead; #X obj 140 169 bng 15 250 50 0 empty empty load_movie 0 -6 0 8 -262144 -1 -1; #X obj 160 358 tgl 15 0 empty empty REC 0 -6 0 8 -258699 -262144 -1 0 1; #X obj 98 537 pix_texture; #X floatatom 127 486 5 0 0 1 current_frame - -; #X floatatom 156 464 5 0 0 1 frames_recorded - -; #X obj 186 446 tgl 15 0 empty empty rec_status 0 -6 0 8 -262144 -1 -1 0 1; #X obj 302 100 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 192 358 5 0 0 2 speed - -; #X floatatom 234 361 5 0 0 2 frame - -; #X text 10 9 Description: Loops an image sequence (frames) with variable speed playback and seek function.; #X obj 302 128 mtl/gemsWin /dimen 320 240; #X obj 98 240 mtl/gemsMovies; #X obj 98 409 mtl/gemsLoop 32; #X msg 215 185 1; #X obj 98 562 rectangle; #X text 204 410 Argument: maximum number of frames.; #X text 9 42 tags: gems; #X obj 444 15 import Gem; #X obj 98 122 mtl/gemsStretch; #X connect 0 0 19 0; #X connect 1 0 12 1; #X connect 2 0 13 1; #X connect 3 0 15 0; #X connect 7 0 11 0; #X connect 8 0 13 2; #X connect 9 0 13 3; #X connect 12 0 13 0; #X connect 13 0 3 0; #X connect 13 1 4 0; #X connect 13 2 5 0; #X connect 13 3 6 0; #X connect 14 0 12 2; #X connect 19 0 12 0;