Rectangle ========= This demo presents the rectangle scene in 2D and shows how the animation state evolves over time with lib-anim. The script defines a canva, adds the corresponding items, and updates them frame by frame to produce the final motion. .. raw:: html 2D rectangle demo Full Code --------- .. literalinclude:: ../../../demo/2d_rectangle.py :language: python :linenos: