How do I paint a shape?
#22
Here a more complex shape
a fir tree
Code: (Select All)
Screen _NewImage(1200, 820, 32)
Dim colr As _Unsigned Long
colr = _RGB32(0, 255, 255)
Draw "s6" ' default setting of Draw
Draw "C" + Str$(colr) + "bm600,300" + "g50r10g75r15g100r225D100L50u100r50bm-2,+8 p " + Str$(_RGBA(139, 100, 11, 255)) + "," + Str$(colr) + "c" + Str$(colr) + " bm+2,-8 r175h100r15h75r10h50" + "bm +0,+15 p" + Str$(_RGBA32(0, 255, 0, 255)) + "," + Str$(colr)
_Delay 1
Draw "S2C" + Str$(colr) + "bm200,100" + "g50r10g75r15g100r225D100L50u100r50bm-4,+8 p " + Str$(_RGBA(139, 100, 11, 255)) + "," + Str$(colr) + "c" + Str$(colr) + " bm+4,-8 r175h100r15h75r10h50" + "bm +0,+15 p" + Str$(_RGBA32(0, 255, 0, 255)) + "," + Str$(colr)
_Delay 1

Draw "s1C" + Str$(colr) + "bm50,30" + "g50r10g75r15g100r225D100L50u100r50bm-4,+8 p " + Str$(_RGBA(139, 100, 11, 255)) + "," + Str$(colr) + "c" + Str$(colr) + " bm+4,-8 r175h100r15h75r10h50" + "bm +0,+15 p" + Str$(_RGBA32(0, 255, 0, 255)) + "," + Str$(colr)
_Delay 1

Draw "s4C" + Str$(colr) + "bm800,300" + "g50r10g75r15g100r225D100L50u100r50bm-2,+10 p " + Str$(_RGBA(139, 100, 11, 255)) + "," + Str$(colr) + "c" + Str$(colr) + " bm+2,-10 r175h100r15h75r10h50" + "bm +0,+15 p" + Str$(_RGBA32(0, 255, 0, 255)) + "," + Str$(colr)
you can build a wood!
Reply


Messages In This Thread
How do I paint a shape? - by PhilOfPerth - 06-27-2023, 08:00 AM
RE: How do I paint a shape? - by mnrvovrfc - 06-27-2023, 10:54 AM
RE: How do I paint a shape? - by OldMoses - 06-27-2023, 11:22 AM
RE: How do I paint a shape? - by TerryRitchie - 06-27-2023, 11:56 AM
RE: How do I paint a shape? - by bplus - 06-27-2023, 12:26 PM
RE: How do I paint a shape? - by Petr - 06-27-2023, 02:05 PM
RE: How do I paint a shape? - by Petr - 06-27-2023, 02:19 PM
RE: How do I paint a shape? - by PhilOfPerth - 06-28-2023, 05:20 AM
RE: How do I paint a shape? - by mnrvovrfc - 06-28-2023, 07:13 PM
RE: How do I paint a shape? - by Petr - 06-27-2023, 02:39 PM
RE: How do I paint a shape? - by TempodiBasic - 06-28-2023, 12:19 AM
RE: How do I paint a shape? - by PhilOfPerth - 06-28-2023, 05:36 AM
RE: How do I paint a shape? - by bplus - 06-28-2023, 01:29 AM
RE: How do I paint a shape? - by mnrvovrfc - 06-28-2023, 02:08 AM
RE: How do I paint a shape? - by PhilOfPerth - 06-28-2023, 05:04 AM
RE: How do I paint a shape? - by bplus - 06-28-2023, 02:16 AM
RE: How do I paint a shape? - by mnrvovrfc - 06-28-2023, 02:50 AM
RE: How do I paint a shape? - by bplus - 06-28-2023, 03:03 AM
RE: How do I paint a shape? - by bplus - 06-28-2023, 02:30 AM
RE: How do I paint a shape? - by PhilOfPerth - 06-28-2023, 05:03 AM
RE: How do I paint a shape? - by TempodiBasic - 06-28-2023, 09:24 PM
RE: How do I paint a shape? - by TempodiBasic - 06-28-2023, 10:09 PM



Users browsing this thread: 7 Guest(s)