This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODE1 | |
VDU 23;8202;0;0;0; | |
VDU29,240;312; | |
X=100:Y=0:L=0 | |
PRINTTAB(10,2)"TESLA CYBERTRUCK"; | |
REPEAT | |
PLOT 69,X,Y | |
X=X-Y/16 | |
Y=Y+X/16 | |
L=L+1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Drawing a heart | |
REM from StackOverflow Codegolf thread - https://codegolf.stackexchange.com/questions/109917/draw-plot-a-heart-graph/ | |
MODE 1 | |
VDU 29,64;64; | |
MOVE -57,20 | |
GCOL 0,1 | |
FOR U = -56 TO 56 | |
X = U/50 | |
IF X <> 0 THEN B = X^2^.33/2 | |
R = (B^2-X^2+1)^.5*50 |