Magic Lantern Forum

Developing Magic Lantern => Scripting Corner => Topic started by: dmilligan on July 16, 2016, 10:01:44 PM

Title: Ramp.lua
Post by: dmilligan on July 16, 2016, 10:01:44 PM
This is a script that is intended to replace adv_int.mo. It's not quite complete yet, but creating keyframes is much easier (custom GUI).

Code: https://foss.heptapod.net/magic-lantern/magic-lantern/-/commits/branch/ramp_lua

To try it out, simply copy ramp.lua (https://foss.heptapod.net/magic-lantern/magic-lantern/-/raw/0a6e42ef2bf232cb896d35c44fc453332393fb1e/scripts/ramp.lua) to ML/scripts and class.lua (https://foss.heptapod.net/magic-lantern/magic-lantern/-/raw/0a6e42ef2bf232cb896d35c44fc453332393fb1e/scripts/lib/class.lua) and config.lua (https://foss.heptapod.net/magic-lantern/magic-lantern/-/raw/0a6e42ef2bf232cb896d35c44fc453332393fb1e/scripts/lib/config.lua) to ML/scripts/lib directory
Title: Re: Ramp.lua
Post by: ef on August 16, 2016, 01:10:32 PM
I registered for this forum just to say how cool this will be!
Title: Re: Ramp.lua
Post by: BBA on October 25, 2016, 11:57:06 PM
Some 40 years ago, the teacher was speaking of ?modula? as a language intended to be coded as easily as writing (sort of code as easy to write as pseudo code).
This is much further : it becomes some sort of artwork. Very nice !
Title: Re: Ramp.lua
Post by: BBA on October 26, 2016, 12:54:53 PM
Would someone mind sharing an example of the keyframes used for a day to night or night to day timelapse ?
I know one case is not the other...
If you don't mind, I would also like to know : the location, the azimuth, the elevation and the date.
Don't worry, it doesn't need to be exact: I would be very thankful with only (very) rough approximates  ;).