Experimenting with canvas, math and simple animations
For a long time I wanted to play a bit with canvas and some basic animations. This experiment shows how to move an object in a specific angle and how to handle collission with walls.
The fun part was that I had to dig really deep in my memory on how to use sin and cos in order to get all the calculations right. Luckily my dad has a physics degree so he quickly brought me up to speed.
Take a look at this experiment
Written by Stijn Janssen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Canvas
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#