You need to log in to create posts and topics.

Math functions in angel script ?

Hello,
Are math functions like sin(), sqrt(), ... available in script ?
How to use them ?
Thanks

As far as I know math functions are not available.
This is something to solve.

I'm trying to create a microstepping capable stepper motor. The drawing function script, even is simple, require some math function and some drawing function (line, arc) (the avalable drawline function seems not to work).

Finally, I recreate the functions I need (ChatGPT). Sin(), cos() using Taylor's serie. drawLine() and drawArc() base only on setPixel().

Will post the result in this forum when finish.

arcachofo has reacted to this post.
arcachofo