Focus Wobble Time Lapse Script - Completed and Working Scripts - CHDK Forum

Focus Wobble Time Lapse Script

  • 0 Replies

Offline ab

  • *
  • 17
Focus Wobble Time Lapse Script
« on: 20 / May / 2008, 00:01:21 »
You can see this script in action on my blog:

Click on the camera scripts category.


You must use PhyrePhox's build in order to generate random numbers!!!!

Get it here:,978.0.html

This code will "wobble" the focus a random amount each frame.  You can set the max. limit of the wobble and number of frames to shoot.

You need to set the focus manually before running the script.

It gives a nice, chaotic pulse to the focus.

@title Focus Wobble
@param a Focus wobble +/- (mm)
@default a 50
@param b # of frames
@default b 48

get_focus f
print "Current focus ",f,"mm"
sleep 2000
for s = 1 to b
   random z
   if g<0 then let g=0
   set_focus g
   print "Shot ",s," focus ",g,"mm"
next s
« Last Edit: 20 / May / 2008, 00:03:59 by ab »


Related Topics