making polygon spirals without sketching every line

making polygon spirals without sketching every line

hobby2005
Explorer Explorer
649 Views
7 Replies
Message 1 of 8

making polygon spirals without sketching every line

hobby2005
Explorer
Explorer

any way to make these https://www.tutorialsandyou.com/python/how-to-draw-spiral-square-and-star-in-python-turtle-12.html

 

spir.JPG  without drawing every line     i suspect an equstion would work but i have no idea where to start 

0 Likes
650 Views
7 Replies
Replies (7)
Message 2 of 8

TrippyLighting
Consultant
Consultant

If you are looking into programming this in Python, the forum has an API section where you might get better responses. 

 

@MichaelT_123 any interest in chiming in ?


EESignature

0 Likes
Message 3 of 8

mango.freund
Advisor
Advisor

Hello, if I had this task I would start with a polygon. Draw construction lines from the center over the corners. then determine with which degree the first line is to be drawn. The steeper it is, the fewer spirals are required. make sure that the lines with constrains lie on the lines. then draw the lines with arrange on path. yes, that has to be done with each segment and well, - greetings mango

0 Likes
Message 4 of 8

mango.freund
Advisor
Advisor

pardon i  want stop, but i have send it --- i am sorry.

 

0 Likes
Message 5 of 8

MichaelT_123
Advisor
Advisor

Hi Mr  TippyLighting,

 

 If the problem was presented by 'young && bright'  my 'chiming' would cause the disservice to his/her development.

This simple geometric exercise should not be difficult, and as such even encouraged as the valuable exercise of writing few lines of the code required.

 

However if it was presented by ... 'old  && #art' ... it is to late!

 

Thank You For The Trust In Me 😁

MichaelT

 

MichaelT
0 Likes
Message 6 of 8

hobby2005
Explorer
Explorer

hello thanks for the help  i should post to API     I'm not very good with code   and suspected from the start an equation was in order 

0 Likes
Message 7 of 8

hobby2005
Explorer
Explorer

yeah i figured that out last night thinking about it     if I know the distance between each coil i could  pattern points and join it with lines 

Message 8 of 8

daniel_lyall
Mentor
Mentor

@MichaelT_123 What?


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes