… timelapse focus wobble script 1.0 …
Categories: bits:solo record, camera script, movies, video experiment.
I wrote a timelapse random focus wobble script today with some help from someone over on the CHDK forum. I was able to create a pseudo-random number sequence using a linear feedback shift register.
You can see a patern develope in the randomness in the way the shots pulse. The script needs more work.
This effect will be used in portions of the video for the song “Combat”.
My code looks like this so far:
@title Macro Focus Wobble
@param b # of pics
@param f divisorget_focus a
c = 1
for g=0 to b
z=a
gosub “lfsr8″
j=c/f
z=z-256/f+j
if z<0 then let z=c
set_focus z
print "focus= ", z,"mm"
print "pic # ",g
shoot
next gend
:lfsr8
if (c & 1) = 1 then
c = (c/2) ^ 142
else
c = c / 2
endifreturn
The divisor sets how much the random sequence effects the random change in focus.
~2mb
Double click to play:
I also got a special package in the mail today that I’m really excited about!!!
Let’s go flying …. »« Selections from Spain Polaroids II (2000)