Interactive examples showcasing the features of SimpleCanvasLibrary
Each demo shows the exact source code that's running
Drawing examples using GameCanvas
Shows how to update a drawing over time using total elapsed time.
View DemoShows how to animate drawings using step time for consistent frame-based movement.
View DemoInteractive gravity simulation with UI controls for adjusting parameters.
View DemoHandling user input and interaction
Creating user interfaces with GameInterface
Animating graphics and using sprites
Find demos by their specific features and topics
Advanced techniques and patterns
Analysis and inspection utilities
Shows the raw spritesheet to help determine frame dimensions and layout.
View DemoAnimation and movement examples
Interactive demo showing how to dynamically add and remove shapes using GameInterface buttons.
View DemoInteractive cat sprite that follows your mouse cursor with walking animation from a real spritesheet.
View DemoDemonstrates simple animation with moving shapes using GameCanvas.
View DemoInteractive gravity simulation with UI controls for adjusting parameters.
View DemoBasic sprite animation example using a cat spritesheet with stationary display.
View DemoShows how to update a drawing over time using total elapsed time.
View DemoShows how to animate drawings using step time for consistent frame-based movement.
View DemoFundamental concepts and getting started
Interactive button components
Interactive demo showing how to dynamically add and remove shapes using GameInterface buttons.
View DemoComprehensive demo showing all GameInterface features: buttons, sliders, and number inputs.
View DemoShows how to create interactive buttons using the GameInterface class.
View DemoClick event handling
Development and debugging tools
Shows the raw spritesheet to help determine frame dimensions and layout.
View DemoDialog boxes and modals
Canvas drawing techniques
Event handling (clicks, mouse movement, etc.)
GameInterface class with UI controls
Interactive demo showing how to dynamically add and remove shapes using GameInterface buttons.
View DemoComprehensive demo showing all GameInterface features: buttons, sliders, and number inputs.
View DemoShows how to create interactive buttons using the GameInterface class.
View DemoInteractive gravity simulation with UI controls for adjusting parameters.
View DemoPerfect for beginners learning the library
Number and text input fields
Comprehensive demo showing all GameInterface features: buttons, sliders, and number inputs.
View DemoUser interaction and input handling
Interactive demo showing how to dynamically add and remove shapes using GameInterface buttons.
View DemoInteractive cat sprite that follows your mouse cursor with walking animation from a real spritesheet.
View DemoComprehensive demo showing all GameInterface features: buttons, sliders, and number inputs.
View DemoShows how to create interactive buttons using the GameInterface class.
View DemoInteractive gravity simulation with UI controls for adjusting parameters.
View DemoMouse tracking and interaction
Interactive mouse tracking
Interactive cat sprite that follows your mouse cursor with walking animation from a real spritesheet.
View DemoScreen orientation handling
Demonstrates automatic canvas resizing, resize event handling, and responsive drawing that adapts to canvas size.
View DemoPhysics simulations and effects
Interactive gravity simulation with UI controls for adjusting parameters.
View DemoCanvas resizing and responsive design
Demonstrates automatic canvas resizing, resize event handling, and responsive drawing that adapts to canvas size.
View DemoResponsive canvas behavior
Demonstrates automatic canvas resizing, resize event handling, and responsive drawing that adapts to canvas size.
View DemoDynamic shape creation and manipulation
Interactive demo showing how to dynamically add and remove shapes using GameInterface buttons.
View DemoSlider input controls
Comprehensive demo showing all GameInterface features: buttons, sliders, and number inputs.
View DemoWorking with sprite graphics
Interactive cat sprite that follows your mouse cursor with walking animation from a real spritesheet.
View DemoBasic sprite animation example using a cat spritesheet with stationary display.
View DemoShows the raw spritesheet to help determine frame dimensions and layout.
View DemoUsing sprite sheets for animation
Interactive cat sprite that follows your mouse cursor with walking animation from a real spritesheet.
View DemoBasic sprite animation example using a cat spritesheet with stationary display.
View DemoShows the raw spritesheet to help determine frame dimensions and layout.
View Demo