2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
6
Task/Draw-a-cuboid/ZX-Spectrum-Basic/draw-a-cuboid.zx
Normal file
6
Task/Draw-a-cuboid/ZX-Spectrum-Basic/draw-a-cuboid.zx
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