Hi,

I have implemented image support in Flickernoise. It's now in git head.

Images in patches are controlled with the following parameters:
* imagefileN: Defines the image file associated with image N. Can be a 24bpp PNG or a JPG file.
* imageN_a: Defines the opacity of image N (0-1, default 0).
* imageN_x, imageN_y: Defines the coordinates of the center of image N (0-1, default 0.5) * imageN_zoom: Defines the zoom of image N. < 1 zoom out, > 1 zoom in, 1 no zoom. Default 1.

Except for imagefileN, all parameters can be used in per-frame equations. A patch can have up to 2 images, N=1 and N=2.

I have attached an example patch.

S.

<<attachment: pleiades.jpg>>

imagefile1=pleiades.jpg
imagefile2=pleiades.jpg
decay=0.97
image1_a=0.6
image2_a=0.6
per_frame=image1_zoom=0.8+0.2*sin(1.21*time)
per_frame=image2_zoom=0.8+0.2*sin(0.98*time)
sx=1.06
sy=1.06
per_frame=cx=0.5+0.1*sin(1.82*time)
per_frame=cy=0.5+0.1*sin(0.97*time)
per_frame=rot=0.05*sin(0.4*time)
per_frame=image1_x=0.5+0.5*sin(4.32*time)
per_frame=image1_y=0.5+0.5*cos(6.14*time)
per_frame=image2_x=0.5+0.5*sin(5.17*time)
per_frame=image2_y=0.5+0.5*cos(4.47*time)
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to