Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A next exercise . . .
#10
(08-12-2023, 01:03 PM)bplus Wrote:
(08-12-2023, 12:56 AM)SMcNeill Wrote: I can do it with one dot.  Nobody ever mentioned how WIDE the line was!  The center line on the highway would certainly cover all those dots!  Wink

Oh man! what a solution, I luv it! Just use a really, really, really big pencil LOL

But here's my actual solution, which I think is what we're looking for here:

Code: (Select All)
SCREEN _NEWIMAGE(1000, 400, 32)
_SCREENMOVE _MIDDLE
FOR y = 0 TO 2: FOR x = 0 TO 2
        CIRCLE (x * 100 + 400, y * 100 + 50), 3
NEXT x, y
LINE (400, 50)-STEP(300, 0)
LINE -(400, 350)
LINE -STEP(0, -300)
LINE -STEP(200, 200)
SLEEP

Unlike yours, or my other suggestions, this doesn't require the circle (or the line) to be any larger than a single pixel/point to work.  I've only got this set to a size 3 circle so that the dots stand out and are recognizable for us.  They don't have to be so large as to allow bisecting them at top/middle/bottom like your solution does.  Wink
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: 2 Guest(s)