Canvas - Island - sample 09 - Clusterbomb

I want to create a worms-like game and I see there are a lot of interesting things
to deal with canvas and image data. These functions are useful for ‪#‎javascript‬ ‪#‎HTML5‬ ‪#‎CSS3‬ .
Just between the rocket and the airstrike you will find a new weapon called the clusterbomb that
causes huge damages. Hopefully it is not very accurate. Select its icon in the options then use the
arrow to indicate an initial direction and speed. You cannot choose a target to track but the blast
is more destructive as dozen of fireballs are ejected in all directions and explode as they impact
the ground. That is why it's not easy to anticipate the consequences of the use of such a weapon.

More samples and useful functions here