|
|
Le_Forgeron <jgr### [at] freefr> wrote:
> I saw the answers with macro, and you asked for macro, but you could
> have used a linear spline instead.
>
> #declare Spline = spline { linear_spline
> 0, 0,
> 0.3, 0,
> 0.6, 1,
> 1, 1
> };
>
> #declare Variable = Spline(clock).x ;
Jerome:
This is VERY nice and elegant.
I figured it could be done with a spline, but I don't often use them and just
wanted to help solve the problem with a quick answer - but this is much better!
:)
Post a reply to this message
|
|