An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
// Generated by books/science/images/actors.py: actor sprite-sheet layout and hand positions.
'use strict';
const ACTORS = {"W":22,"H":19,"K":8,"X0":11,"anims":{"stand":{"row":0,"n":1,"hands":[{"B":[-0.83,-4.81],"F":[1.05,-4.86]}]},"walk":{"row":1,"n":6,"hands":[{"B":[-0.25,-4.83],"F":[0.75,-4.83]},{"B":[1.09,-4.96],"F":[-0.63,-4.74]},{"B":[1.09,-4.96],"F":[-0.63,-4.74]},{"B":[-0.25,-4.83],"F":[0.75,-4.83]},{"B":[-1.63,-4.74],"F":[2.09,-4.96]},{"B":[-1.63,-4.74],"F":[2.09,-4.96]}]},"run":{"row":2,"n":4,"hands":[{"B":[2.31,-7.33],"F":[3.31,-7.33]},{"B":[3.41,-8.2],"F":[0.78,-5.14]},{"B":[2.31,-7.33],"F":[3.31,-7.33]},{"B":[-0.22,-5.14],"F":[4.41,-8.2]}]},"push":{"row":3,"n":6,"hands":[{"B":[4.94,-7.37],"F":[6.11,-7.86]},{"B":[4.94,-7.19],"F":[6.11,-7.68]},{"B":[4.94,-7.19],"F":[6.11,-7.68]},{"B":[4.94,-7.37],"F":[6.11,-7.86]},{"B":[4.94,-7.19],"F":[6.11,-7.68]},{"B":[4.94,-7.19],"F":[6.11,-7.68]}]},"pull":{"row":4,"n":6,"hands":[{"B":[-1.64,-5.23],"F":[-1.12,-5.56]},{"B":[-1.64,-5.05],"F":[-1.12,-5.38]},{"B":[-1.64,-5.05],"F":[-1.12,-5.38]},{"B":[-1.64,-5.23],"F":[-1.12,-5.56]},{"B":[-1.64,-5.05],"F":[-1.12,-5.38]},{"B":[-1.64,-5.05],"F":[-1.12,-5.38]}]},"strain":{"row":5,"n":2,"hands":[{"B":[1.71,-7.14],"F":[2.77,-7.44]},{"B":[1.51,-7.04],"F":[2.56,-7.34]}]},"stumble":{"row":6,"n":4,"hands":[{"B":[5.01,-7.86],"F":[6.08,-8.3]},{"B":[5.01,-7.66],"F":[6.08,-8.09]},{"B":[5.01,-7.86],"F":[6.08,-8.3]},{"B":[5.01,-7.66],"F":[6.08,-8.09]}]},"backstep":{"row":7,"n":4,"hands":[{"B":[2.0,-7.86],"F":[3.05,-8.15]},{"B":[2.0,-7.69],"F":[3.05,-7.98]},{"B":[2.0,-7.86],"F":[3.05,-8.15]},{"B":[2.0,-7.69],"F":[3.05,-7.98]}]},"kick":{"row":8,"n":3,"hands":[{"B":[2.85,-6.3],"F":[-1.14,-5.29]},{"B":[-3.32,-5.57],"F":[2.48,-5.55]},{"B":[-5.1,-6.48],"F":[2.75,-6.46]}]},"throw":{"row":9,"n":3,"hands":[{"B":[1.51,-7.84],"F":[2.64,-8.02]},{"B":[4.79,-8.39],"F":[5.81,-8.83]},{"B":[2.16,-7.22],"F":[3.37,-7.77]}]},"skate":{"row":10,"n":2,"hands":[{"B":[-1.02,-4.4],"F":[5.54,-6.4]},{"B":[-4.0,-7.35],"F":[4.87,-7.74]}]},"crouch":{"row":11,"n":1,"hands":[{"B":[-1.0,-2.93],"F":[0.66,-2.68]}]},"jump":{"row":12,"n":1,"hands":[{"B":[3.0,-11.15],"F":[3.57,-11.74]}]},"land":{"row":13,"n":1,"hands":[{"B":[3.73,-5.63],"F":[5.04,-6.29]}]},"catch":{"row":14,"n":2,"hands":[{"B":[3.84,-8.46],"F":[4.88,-8.75]},{"B":[2.01,-7.96],"F":[3.08,-8.38]}]},"toss":{"row":15,"n":3,"hands":[{"B":[2.52,-6.56],"F":[3.66,-6.62]},{"B":[3.39,-10.03],"F":[4.3,-10.38]},{"B":[0.33,-13.0],"F":[0.97,-13.09]}]},"pedal":{"row":16,"n":8,"hands":[{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]},{"B":[3.46,-9.44],"F":[4.62,-9.78]}]},"swing":{"row":17,"n":5,"hands":[{"B":[1.63,-3.74],"F":[3.06,-3.81]},{"B":[-3.35,-8.14],"F":[-2.3,-7.57]},{"B":[-2.45,-11.4],"F":[-1.75,-11.09]},{"B":[1.78,-3.84],"F":[3.21,-3.94]},{"B":[2.49,-10.83],"F":[3.25,-11.17]}]}},"bike":{"wheels":[[-5,-1.5],[6.5,-1.5]],"r":3.1,"crank":[0.5,-3.5999999999999996]}};