Share:

# TA v2

Check out v1 here

This time there are 1000 rays instead of just 50 (because it looks cool)

Also, instead of JS we use a custom RPN expression language

This makes it faster to write and safer to share

## Expression Language

the current time in seconds`t`

the current angle in radians`a`

negate the previous value`n`

absolute value of the previous value`m`

add the previous two values`+`

multiply the previous two values`*`

subtract the previous value from the one before it`-`

divide the previous value from the one before it`/`

bitwise-and the previous two values`&`

bitwise-or the previous two values`|`

bitwise-xor the previous two values`^`

duplicate the previous value`d`

take the sine of the previous value`s`

take the cosine of the previous value`c`