An interactive web-based Python IDE for learning animation and physics concepts through hands-on coding exercises.
- Real-time Python code execution in the browser using Brython
- Interactive animation canvas with physics simulation
- Code editor with syntax highlighting
- Live feedback and exercise validation
- Bouncing ball physics with customizable properties
-
Clone the repository:
git clone https://github.com/limitcracker/WebPythonIDEAnimation.git
-
Start a local web server:
python -m http.server 8080
-
Open in your browser:
http://localhost:8080/animation_framework/ide.html
# Make the ball bounce high!
ball.throw(15) # Throw ball up (0-20)
ball.set_bounce(0.95) # Set bounce energy (0-1)
ball.set_color('red') # Change color
ball.set_size(30) # Change size (10-100)
- Brython - Python in the browser
- CodeMirror - Code editor with syntax highlighting
MIT License