QB64.org Forum

Active Forums => Programs => Topic started by: STxAxTIC on February 14, 2022, 08:07:36 am

Title: Draw any curve using only circles
Post by: STxAxTIC on February 14, 2022, 08:07:36 am
REDACTED
Title: Re: Draw any curve using only circles
Post by: SMcNeill on February 14, 2022, 09:53:47 am
Draw any curve using only circles -- except for one solving the two roads problem!!  https://qb64forum.alephc.xyz/index.php?topic=2138.0

You can't use a circle to solve that problem because the slope of the slope of the slope won't slope the slope of the sloping, making a sloping mess!  All you can do is use a bezier curve to find the solution, and that's not possible with circles.
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 14, 2022, 10:35:42 am
Community vote: should I give Steve the time of day or consider him a troll? 5 votes in the affirmative will warrant a response.
Title: Re: Draw any curve using only circles
Post by: _vince on February 14, 2022, 11:07:03 am
You can't use a circle to solve that problem because the slope of the slope of the slope won't slope the slope of the sloping, making a sloping mess!  All you can do is use a bezier curve to find the solution, and that's not possible with circles.

Imagine having to mow the lawn or run a tractor/combine harvester in a bezier curve, Bill needs to learn to face reality and think outside the box every once in a while.
Title: Re: Draw any curve using only circles
Post by: bplus on February 14, 2022, 11:36:56 am
This is pretty cool:
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 14, 2022, 06:29:26 pm
Damn bplus I thought you were gonna come out of the gates with some kind of mod for this program - but instead a link to Mathologer? Solid stuff. I'm really glad the bad guy from Indiana Jones found a new niche after having his face melted off when he opened the Lost Ark.
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 14, 2022, 10:45:09 pm
REDACTED
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 21, 2022, 01:20:46 pm
Just updated the top post. The code explains itself a lot better while running, so much better that I recommend you forget what you've seen and just run the new one. Check it out if you've got the circles for it. I understand if you don't.

Draw some squares, or draw your house or something.
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 23, 2022, 04:40:54 pm
REDACTED
Title: Re: Draw any curve using only circles
Post by: bplus on February 23, 2022, 04:53:00 pm
 


This thing (older version now) just keeps on going like the bunny...
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 23, 2022, 05:21:36 pm
Its pretty amazing how good it does before being finished. You can treat the graphs at the bottom like progress indicators:

 


or pause right there, take out only the red curve, and you have a pretty cool B+ signature
Title: Re: Draw any curve using only circles
Post by: bplus on February 23, 2022, 05:52:02 pm
So what's going on along the bottom edge of the newest version? a log curve and a bar code or a bottle brush :)

I wonder if this is 2D version of predicting pattern of yes and no, right or left...
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on February 23, 2022, 06:11:17 pm
REDACTED
Title: Re: Draw any curve using only circles
Post by: SpriggsySpriggs on February 23, 2022, 06:37:14 pm
I wish I understood math more. This is impressive stuff, Bill!
Title: Re: Draw any curve using only circles
Post by: Pete on February 25, 2022, 06:30:02 pm
Hey give Steve a break, he comes from Virginia, which has a fair share of TrOLL roads.

Pete
Title: Re: Draw any curve using only circles
Post by: STxAxTIC on March 06, 2022, 03:09:39 pm
REDACTED