Hosted by sourceforge.net
Valid XHTML 1.0 Transitional


 

Rotate Sprite Into The Same Image


Description


The original image gets copied into a new image with the same height but a width of 'number' times as much as the original image. The original image builds the first frame of the whole frame-set. It gets moved now by the width of the original image and rotated by (360/'number') degrees (clock-wise). This action gets repeated 'number' times.

Download

render-sprite-clan.scm

Example

Parameters:

Number: Number of frames for the total rotation. E.g. 24 means that 24 frames are generated each with an additional angle of 15 degrees.

File: The original file (shown above at left).

Output: The output file. (shown above at right).