# 2D Path Follow A circle follows a figure-8 bezier curve. ```{raw} html ▶ Run in browser ``` **Tags:** `2d` Demonstrates: - Curve2D with bezier control points - Path2D / PathFollow2D for automatic motion along a curve - on_draw() callback for rendering the path and follower - Speed control via input actions Controls: Up / Down - Increase / decrease speed Escape - Quit Run: uv run python examples/features/2d/path_follow.py ## Source ```{literalinclude} ../../examples/features/2d/path_follow.py :language: python :linenos: ```