Owner: P5 Editor porting project
API: P5 (r2)
World type: No Mind
An array is a list of data. Each piece of data in an array * is identified by an index number representing its position in * the array. Arrays are zero based, which means that the first * element in the array is [0], the second element is [1], and so on. * In this example, an array named "coswave" is created and * filled with the cosine values. This data is displayed three * separate ways on the screen.
Type: Public. Plain JS.
View plain JS.
Get Embed code.
Get New window embed code.
Get Autorun embed code.
7 runs
Run | |
Edit | Must be logged in. |
Update image | Must be logged in. |
Clone | Must be logged in. |
New Mind | Only valid for Worlds that use Minds. |
Change World type | Must be owner. |
Change API | Must be owner. |
Delete | Must be owner. |