I'm totally not adding to the one-upsmanship of filled shapes going on around here.
GLIPSE Origin X, Origin Y, Radius X, Radius Y, Fill state (1 = yes, 0 = no), ColorDEF GLIPSE X%,Y%,RX%,RY%,F%,C%
DIM _#=.,__#=.
DIM T#=(((!.<<((!.<<!.)<<!.))OR(!.<<(!.<<!.))OR(!.<<!.))/(((!.<<!.)<<!.)OR(!.<<!.)OR(!.)))*(!.<<!.)
DIM S#=(T#)/((!.<<!.<<!.<<!.<<!.)*((!.<<((!.<<!.)<<!.))OR(!.<<(!.<<!.))OR(!.<<!.))OR(!.<<!.<<!.<<!.))
FOR(_#)=(.)TO(T#)STEP(S#)
IF(F%&&!.)THEN
GTRI(X%+RX%*COS(_#)),(Y%+RY%*SIN(_#)),(X%),(Y%),(X%+RX%*COS(__#)),(Y%+RY%*SIN(__#)),(C%)
ELSE
GLINE(X%+RX%*COS(_#)),(Y%+RY%*SIN(_#)),(X%+RX%*COS(__#)),(Y%+RY%*SIN(__#)),(C%)
ENDIF
(__#)=(_#)
NEXT(.)
END
I promise it works.
10 Comment(s)12Me21Head AdminThird YearMy account is over 3 years oldWebsiteSyntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfT# is (close to) pi*2
S# is a syntax error, there's an extra ) on the end. (I assume it was meant to be 8)MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthDrawingI like to draw!HobbiesReadingI like to read books!HobbiesIt was missing a ( at the beginning I believe. I must've transcribed it wrong. Should be fixed now.
Also, S# should be one radian. DFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strengthhow would that work? It looks like it has loads of errorsY_ackHead AdminLooks correct to me. What seems to be the issue?DFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthI'm just not used to using this syntax in SB.DFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthMaybe it works. I'm not used to assigning variables with "." like this:
VAR A = .12Me21Head AdminThird YearMy account is over 3 years oldWebsiteSyntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express Yourself. is the same as 0.0DFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthI get it!Y_ackHead Adminat least it's not all on one line...MZ952Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthDrawingI like to draw!HobbiesReadingI like to read books!HobbiesDon't tempt me.
VAR A = .