Hello!
It is possibel that here
the sinus and cosinus are inverted for some reason while calculating the coordinates?
// Get the sine of the radian to find the x co-ordinate of this point of the circle
// and multiply it by the radius.
let x = radian.sin() * radius;
// Do the same with cosine to find the y co-ordinate.
let y = radian.cos() * radius;
// Construct and return a point object with a color.
Hello! It is possibel that here the sinus and cosinus are inverted for some reason while calculating the coordinates?
Thank you!