Yeah, my tutorials are pretty out of date now. I worte them for v1.0, I think, so there's been some features added in since then.
Idiot, FYI, the multiple centers of rotation first appeared in my two "War Machine" Presets. This was quickly followed by some collaborative efforts producing "Indecisive Mosaic" (Which is still one of the most gorgeous presets, IMO). Shortly after, Rova modded the code and produced "Cerebral Demons" - Which he uses to plug milkdrop when he gets the chance =]
The actual multiple centers of rotation code is pretty simple:
- From War Machine (Shifting Complexity) -
per_pixel_1=cx = ((0&(x*q2-0.5))+0.5)*q3;
per_pixel_2=cy = ((0&(y*q4-0.5))+0.5)*q5;
Where:
q2 is the number of centers horizontally
q4 is the number of centers vertically
q3 and q4 are half of q1 and q2 respectively (calculated that way to cut down on the number of operations - using ...*q2*0.5 would have worked fine)
q2 and q4 can be set to fixed numbers (Indecisive Mosaic, Cerebral Demons), to whole values (War Machine Shifting Complexity), or to oscillating values (I made one, but I can't remember it now). It's also possible to add offsets to change where the centers of rotation are "centered" on the screen (Indecisive Netting)
Have fun putting the tute together - I look forward to reading it =]
- Krash
Idiot, FYI, the multiple centers of rotation first appeared in my two "War Machine" Presets. This was quickly followed by some collaborative efforts producing "Indecisive Mosaic" (Which is still one of the most gorgeous presets, IMO). Shortly after, Rova modded the code and produced "Cerebral Demons" - Which he uses to plug milkdrop when he gets the chance =]
The actual multiple centers of rotation code is pretty simple:
- From War Machine (Shifting Complexity) -
per_pixel_1=cx = ((0&(x*q2-0.5))+0.5)*q3;
per_pixel_2=cy = ((0&(y*q4-0.5))+0.5)*q5;
Where:
q2 is the number of centers horizontally
q4 is the number of centers vertically
q3 and q4 are half of q1 and q2 respectively (calculated that way to cut down on the number of operations - using ...*q2*0.5 would have worked fine)
q2 and q4 can be set to fixed numbers (Indecisive Mosaic, Cerebral Demons), to whole values (War Machine Shifting Complexity), or to oscillating values (I made one, but I can't remember it now). It's also possible to add offsets to change where the centers of rotation are "centered" on the screen (Indecisive Netting)
Have fun putting the tute together - I look forward to reading it =]
- Krash
Comment