POV-Ray : Newsgroups : povray.text.tutorials : ARRAYS: More possibilities then the manual tells us : Re: ARRAYS: More possibilities then the manual tells us Server Time29 Nov 2023 21:22:15 EST (-0500)
 Re: ARRAYS: More possibilities then the manual tells us
 From: Steve Shelby Date: 24 Sep 2003 10:45:01 Message:
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#web.3f71acc72793170fbea25d220%40news.povray.org",
"headline": "Re: ARRAYS: More possibilities then the manual tells us",
"dateCreated": "2003-09-24T14:45:01+00:00",
"datePublished": "2003-09-24T14:45:01+00:00",
"author": {
"@type": "Person",
"name": "Steve Shelby"
}
}
Jaap Frank wrote:
>Hi,
>
>this is a small explanation of advanced use of arrays.
>In the manual you will find several limitations in using
>arrays, but you can circumvent this.
>
Jaap,
Can this method be used to transform an array over time, that is add a clock
value ot an array? For example, I have a spline defined by an array:
#declare MySpline = create_spline (array [6] {<-2, .6, 0>,<-1.2, .6,
0>,<-.4,-.6,0>,<.4,-.6,0>,<1.2,.6,0>,<2,.6,0>}
Say I want to transform the spline in an animation to this:
#declare MySpline = create_spline (array [6] {<-2, .1, 0>,<-1.2, .1,
0>,<-.4,-.0,0>,<.4,-.0,0>,<-1.2,0,0>,<2,0,0>}
Can that be done?
Thank you,
Steve Shelby