code: giovannibedetti.com illustration: Donatella Esposito This is a stress test for Processing and Web Audio API. The canvas is drawn using Processing and the sound is made with Web Audio API. At mouse click the image will be divided in 4 images. Also the audio file is split in 4 parts and these are played together. Parts 1 and 3 are played forward, while parts 2 and 4 are played backwards. You'll see and hear 1, 4, 16, 64, 256, 1024 images and sounds together. The theme is the famous J.S. Bach canon 1 à 2 from the "Musical Offering" (1747). This piece is a "crab canon", so it can be played at the same time forward and backward. Click here for the full story. This test was made just to find out if it can be combined in other ways. Check out the magic of math. Desktop only: for your pleasure you can stop the sounds using the 'p', and enable/disable the random image change pressing 's'. Warning: as I said, this is a stress test. Try it at your own risk! (your browser can hang a little bit) You will need a browser with Web Audio API support. 02/2015