A next exercise . . .
#6
I am lazy and will only do it in 3 lines:
Code: (Select All)
Screen _NewImage(1000, 300, 32)
_ScreenMove 100, 200
For y = 0 To 2
    For x = 0 To 2
        Circle (x * 100 + 400, y * 100 + 50), 30
    Next
Next
a = _Atan2(60, 200)
x = 60 / Sin(a)
adj = 50
Line (350, 50)-(600 + x + adj, 50)
Line (600 + x + adj, 50)-(400 - x - adj, 250)
Line (400 - x - adj, 250)-(650, 250)
Sleep

The smaller the circles the longer the lines
b = b + ...
Reply


Messages In This Thread
A next exercise . . . - by Kernelpanic - 08-11-2023, 11:05 PM
RE: A next exercise . . . - by bplus - 08-11-2023, 11:26 PM
RE: A next exercise . . . - by CharlieJV - 08-11-2023, 11:47 PM
RE: A next exercise . . . - by SMcNeill - 08-11-2023, 11:52 PM
RE: A next exercise . . . - by SMcNeill - 08-11-2023, 11:55 PM
RE: A next exercise . . . - by bplus - 08-12-2023, 12:13 AM
RE: A next exercise . . . - by SMcNeill - 08-12-2023, 12:56 AM
RE: A next exercise . . . - by bplus - 08-12-2023, 01:03 PM
RE: A next exercise . . . - by SMcNeill - 08-12-2023, 01:23 PM
RE: A next exercise . . . - by bplus - 08-12-2023, 03:25 PM
RE: A next exercise . . . - by CharlieJV - 08-12-2023, 04:55 AM
RE: A next exercise . . . - by Kernelpanic - 08-12-2023, 02:57 PM



Users browsing this thread: 1 Guest(s)