This program demonstrates re-use of a "bubble" class to allow the creation of multiple unique bubbles that then "bounce" around the screen. An interesting bug was also addressed in which a bubble will get stuck in the edge of the canvas if it hits a corner "just right". A solution to this problem was explained here: http://lagers.org.uk/blog/?p=122
-
Notifications
You must be signed in to change notification settings - Fork 0
This program demonstrates re-use of a "bubble" class to allow the creation of multiple unique bubbles that then "bounce" around the screen. An interesting bug was also addressed in which a bubble will get stuck in the edge of the canvas if it hits a corner "just right". A solution to this problem was explained here: http://lagers.org.uk/blog/?p=122
License
CodeCat08/P5JS-Object-Oriented-Bouncing-Balls
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This program demonstrates re-use of a "bubble" class to allow the creation of multiple unique bubbles that then "bounce" around the screen. An interesting bug was also addressed in which a bubble will get stuck in the edge of the canvas if it hits a corner "just right". A solution to this problem was explained here: http://lagers.org.uk/blog/?p=122
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published