...
- Where can I find a command list or something, the docs only contain a todo list and changelog?
Unfortunately, I havent had the time to research a good javascript documentator. Please refer to the public functions descriptions within the TinyC5 code (all functions declared like this:
this.functionName = function( .. ) {
}
are publically available. I tried to do my best to added as explicit comments to their headers. Nevertheless, you are write I should provide a better docs for the functions. I will work on that!
- How do I get or set specific pixel color values?
For example to set a pixel at point (100,10) here is the equivalent code:
var destY = 10, destX=100, pixelIndex;
pixelIndex = ( destX * 4 ) + ( tinyC5.WIDTH * destY * 4);
tinyC5.pixels[ pixelIndex ] = 0; // Red color value (0-255)
tinyC5.pixels[ pixelIndex+1 ] = 255; // Green color value (0-255)
tinyC5.pixels[ pixelIndex+2 ] = 0; // Blue color value (0-255)
tinyC5.pixels[ pixelIndex+3 ] = 255; // Alhpa value (0-255)
I multiply with 4 because each pixel contains of the following single values: Red, Green, Blue, Alpha.
- This is prolly my animation brain talking but where is the framrate determined? For my old js games I used an interval timer which called a redraw function, what is making it tick here and at what speed?
Framerate is set to constant 60fps. Nothing to do about this, because some browsers already implement natively a function called requestAnimationFrame() which is also set to 60fps.
PS I find the code bits in the examples quite elegant, some clever coding there! 
Thanks ;-)