I have made available the stroll: on drugs source code
available for download. Each [initial] folder is a separate project, however is arranged in such a way that they can all be placed in one project (see the packages).
The Tetris class is being recoded (so it would be best to ignore), the jar resource files are linked in compilation to the main class. The main place to look for behaviour is the camera class located in the stroll_009 project as org.konelabs.stroll.graphics.Camera. Much of the given calculations are typical of Mode 7
code and you can ignore that completely, just be concerned with scale, tilt, angle and tx/ty or ox/oy. nextFrame
is where the important things happen, as you can see it does not do much to produce the little effect - the ADSR+Oscillator+Generator classes take care of that.
In case you did not realize .16 means 16:16, means fixed point with the decimal point being on bit 16. In nextFrame
the calculations for scale (from zoomLevel) converts the range of 0-1 to be a scale that will zoom in/out from a 1:1 scale and the test
package contains all of the wave creation classes. As you can see the code is not in a generally shareable form and is [quite clearly] in the stages of a recode, but if anyone is interested and wants to assist I will provide documentation where necessary, etc.
(suddenly realizes power of Ant build files)