Relative Content

Tag Archive for javascriptgeometrytrigonometryp5.jsshadow

Creating a flat shadow effect from a circle

I’ve tried a bit of trig and playing with polar to cartesian coordinates but ultimately getting a bit lost on how to achieve an effect in JS. At the moment I’ve been using p5.js but open to other options.