|
|
|
RotoZoom :
I did this RotoZoom for the Mobile Wizardry PalmOs demo contest.
It's writen in 100% 68k assembler using Pila on Linux.
The code size is less than 1KB (858 bytes including handling of the system event loop).
What does it do and how ?...
1st, I'm generating a 256x256 texture map in memory using an interference function : (2*cos(x) + 4*sin(y) + 3*sin(x+y))<<2
I'm then using this map as the texture for the rotozoom itself.
The program is using the 16bpp mode of PalmOS so it will only works on device supporting the 16bpp mode like the Handspring Visor Prism, Sony clié N610c N770C, Palm m500 series, ...
You can download the full source code with the program to generate the prc file and the needed files like the include for Pila with a few added stuff for the OS 4.x.
RotoZoom V2 256 colors version:
This version works on all devices able to display 256 colors.
I will probably update it once in a while with a better color palette and some optimisations as it can be a little bit slow on 20Mhz Palm.
Of course the full source code and binary is available for download.
I removed the PalmOS includes files for Pila from the first rotozoom archive to be able to update them without redoing the rotozoom zip archive.
So be carefull to download them if you want to be able to build the PRC yourself (the PRC is in the archive anyway).
Download :
|
|