>on the call to the seedRandom what exactly are index and true flagging?
“index” is the actual seed, “true” says to make it timeless (i.e. random values will persist from frame to frame)
>can I change the 2 and 3 in 2*Math.sin(time*freq*Math.PI*2 + phase) + 3 to variables?
Sure.
>And do you not need a semicolon after each expression?
It’s optional on the last line. It’s really optional on most lines – it’s just safer (and good practice) to put it in.
Dan