Thanks Paul!, I had changes the window size from 1000x1000 to 700x700, but I must have missed changing the center point (500 to 350) on the very first Y value. It works perfectly now that you caught that.
I made a program that creates shapes and stars, but I keep getting one extra line whenever I do stars as seen here.
I can't seem to find a straightforward way to fix it that doesn't screw up regular shapes (not stars)
Here is the code:
I changed asin and acos to sin and cos, for some reason the website I found for using sine and cosine said to put a's before it, but I'm still getting an error in Eclipse. It wants me to cast my variables as floats, I think the problem has something to do with the range of input and output allowed for sine and cosine, but I don't know what that is. I attached a picture of what it looks like in eclipse