Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Draw-a-cuboid/ZX-Spectrum-Basic/draw-a-cuboid.basic
Normal file
6
Task/Draw-a-cuboid/ZX-Spectrum-Basic/draw-a-cuboid.basic
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
10 LET width=50: LET height=width*1.5: LET depth=width*2
|
||||
20 LET x=80: LET y=10
|
||||
30 PLOT x,y
|
||||
40 DRAW 0,height: DRAW width,0: DRAW 0,-height: DRAW -width,0: REM Front
|
||||
50 PLOT x,y+height: DRAW depth/2,height: DRAW width,0: DRAW 0,-height: DRAW -width,-height
|
||||
60 PLOT x+width,y+height: DRAW depth/2,height
|
||||
Loading…
Add table
Add a link
Reference in a new issue