◐ Shell
clean mode source ↗

Add math methods `sin()`, `cos()`, `tan()`, `abs()` etc.

libprocessing / mewnala currently does not expose common Processing math methods: sin(), cos(), tan(), abs() etc.

This will improve backwards compatibility with Processing and p5.js sketches, and remove the need to explicitely import math for basic mehods.

Related to #128

Reference

See https://processing.org/reference/#math

Image