The Interpolation Widget

A Digit Widget Zscript Tutorial

 

I thought I would save Juandel's great tutorial on using this script to make an Earth/Moon image. Here it is

I wanted to find out if i was able to use Digits superduper interpolation script for something "on purpose" this time and decided i’ll give an earth/moon/phases pic a try (i assume the distance-ratio to be mucho perverted and the pic to be everything but a realistic representation but for those who are interested in exploring the script but have not done so up-to-now i’ll give some settings below anyway

So here is what i did using Digits interpolate script for doing an orbit like the one above

Digit's Notes

Also you can let Digits Widgets Scale the size of the moon for you

Before you make your position markers

1. place the moon at 0 Zdepth and size it
2. Since you selected +-800 units of Z for your start and end, locate the "Zdepth Area Size" section of the script. Make the "MaxZdepth" about 1600 and press "RefObject". This sets the work area at +-1600 so that your moon at +800 will be 50% larger and at -800 it will be 50% smaller.
3. Make Position Marker 1 by placing the moon at -800 Z and the correct XY then press "SizeObject" This will correctly size the moon 50% smaller. Press the Position Marker "Save" to create Marker 1
4. Move the moon to +800 Z and XY and press "SizeObject" this will make the moon 50% larger than it was at 0 Z. Press the "M+" to increment the Position Marker to #2 and press "Save" to save it

I might mention that you can use the "ZdepthMult" to further control the Zdepth size. If you set it to 1.5 in the example above at +800 the moon would be 75% larger not 50%. You use this to control the magnitude of the depth curve to your liking.

Now you are ready to do the rest. As you mentioned you could use the "C-Rotateit" switch to interpolate the rotation from Marker 1 to Marker 2 but the "C-Pointit" function is mucho better for this.