sleddog / pool

Pool by Devin Gray
http://www.devingray.com/pool
MIT License
12 stars 18 forks source link

New volume mapping 50 #61

Closed mauzzr closed 7 years ago

mauzzr commented 7 years ago

Added sine volume mapping as described in #50 and factored the volume conversion into its own function which will also handle the calculation of volume for collisions between balls, when sound is added for those collisions.

As an aside, this branch also fixes the leading comment tag in index.html which had an extraneous ! character that could cause editors to think the entire file was commented.

sleddog commented 7 years ago

thanks @pwelby !