Shop OBEX P1 Docs P2 Docs Learn Events
Nikos' Fibonacci Spiral Challenge - Page 3 — Parallax Forums

Nikos' Fibonacci Spiral Challenge

1356710

Comments

  • WhitWhit Posts: 4,191
    edited 2015-05-28 06:38
    No URL comes up for my attached images. In the area where my attachments are uploaded the thumbnails of the images are all pictures of a question mark leaving me only the option of putting them inline with the text.

    Left click on your inline image link - the photo will come up in a new window - right click the image - one of the option is copy image url - take the copied url back to the original post and edit the original post by pasting the url in the [img][/img] - leave no blank space and save - then your images will appear in the post.

    I am with Nikos - please tell us how you did it.
  • WhitWhit Posts: 4,191
    edited 2015-05-29 06:42
    Okay Nikos!

    I know that this is long in coming... Attached is an S2 GUI Program Maker File and Excel Calculations and Calculator File of what I call S2 Wesminster Labyrinth Modified Metric v.2.3.2.

    This is based on my latest AutoCAD drawing with very accurate dimensions of the arc lengths and line lengths (as you have seen above - to single degrees).

    Alas, there is still the need for just plain old trial and error tweaking of the program. Generally run times need to be adjusted to get the arc lengths to reflect the desired exact path. The first issue is that the 180 degree turns between adjacent paths slightly under rotate - say 175 degrees. The calculator computes those 180 degree turns with a radius of 2.5 cm to need a run time of 2.59 seconds with the wheel speeds set at -49, 100 and - so in the GUI I set a value of 2.60 - the stop watch has .05 increments. These are the tightest turns, smallest radii and are very short run times. A better actual time on one of my S2s in Louisiana at about 70 feet above sea level ;-) is 2.65 or 2.70 seconds. These slight adjustments are no big deal - of course! Just means that real robots running in real conditions vary an need to be adjusted.

    Take a look at the inserted photos - as I adjust the rotation time of the the first turn - a turn to the Left (ccw) in the Orange Sub Routine (see program) - the space between the paths at the end of arc 2 (or just before the first R.Rsub is changed. Space should be 5 cm beginning to end and it goes from 5 cm to about 7.4 cm with a turn time of 2.60 and to 6.3 cm at a turn time of 2.65 - I guess that 2.70 would be about right. This error moves through the labyrinth and changes the following arcs and turns. So adjustment is needed. Again - field adjustment! Think Goldielocks - make it just right.

    attachment.php?attachmentid=114343&d=1432906561

    attachment.php?attachmentid=114348&d=1432907561

    attachment.php?attachmentid=114349&d=1432907578

    Update: Ran the same program with brand new batteries (hardly any change) an on one of my other S2s - slight differences - nothing major - I now think that minor adjustments and will be required not matter how accurate the drawing or calculations - just to account for differences in the robots hardware and other conditions.

    I am also entering the program into Spin now (based on the new dimensions) and will see how it varies - remember that Phil Pilgrim has an rotation adjustment built in to allow for tweaks!)

    This is all so much fun! Please try the GUI program on your S2 (and others of you too!) Take a look at the Excel calculator and the values there. See how the sub routines Yellow, Orange, Red and Purple allow the tweaking of the tighter turns. Also look at how long arcs are contained in loops to overcome the 5 second run time in the GUI (for example a 145 degree arc with a run time of 9 seconds becomes a loop of 2 72.5 degree arcs running for 4.5 seconds each) Then adjust as needed for your S2 for your conditions!

    And let me know what you think and find out! Keep on scribbling...

    And Ken - Can't wait to see how all this works on the S3!
  • Carol HazlettCarol Hazlett Posts: 312
    edited 2015-05-29 17:18
    Here is how I did it. No math or hardcore programming involved. First I made a set of repeating boxes.

    attachment.php?attachmentid=114355&d=1432942900

    Then at the starting point I changed the angle of the first line of box so it matched the same number as each box was incremented in size by.
    My thought here was if each box was turned by same amount as the size of box was enlarged by the lines would intersect with each other
    at the turning points.

    attachment.php?attachmentid=114356&d=1432942987

    To make the double spiral I put a 180 degree turn at the start/end point and just repeated the spiral.

    attachment.php?attachmentid=114357&d=1432943069
    922 x 692 - 1M
    922 x 692 - 1M
    922 x 692 - 184K
  • WhitWhit Posts: 4,191
    edited 2015-05-29 17:46
    Thanks for the explanation Carol! I downloaded your code and will post a photo when I run it.

    Congrats on learning the photo posting trick too! I finally figured it out by reading Phil's instructions!
  • Carol HazlettCarol Hazlett Posts: 312
    edited 2015-05-29 17:57
    Whit wrote:
    Congrats on learning the photo posting trick too! I finally figured it out by reading Phil's instructions!

    It is the small victories which make me happy.
    I downloaded the Parallax forum BB code list.
  • WhitWhit Posts: 4,191
    edited 2015-05-29 19:10
    I downloaded the Parallax forum BB code list.

    Me too!

    And check this out! My favorite...This is DrawSquareSpiral2 - I believe! Bravo!

    attachment.php?attachmentid=114362&d=1432951832
    960 x 960 - 159K
  • Carol HazlettCarol Hazlett Posts: 312
    edited 2015-05-30 03:52
    Here is another attempt at adjusting spiral for a cleaner look.

    attachment.php?attachmentid=114364&d=1432982879

    Whit, just for you, I think this one should be called stairway to heaven.
  • Carol HazlettCarol Hazlett Posts: 312
    edited 2015-05-30 19:35
    Of course I also have to do a Fibonacci spiral.

    attachment.php?attachmentid=114373&d=1433039445
  • WhitWhit Posts: 4,191
    edited 2015-05-30 20:18
    Nicely done!
  • NikosGNikosG Posts: 705
    edited 2015-06-04 16:02
    Here is Artist's first attempt for Carol's Stairway to Heaven......

    attachment.php?attachmentid=114418&d=1433458165

    The propellerC algorithm is:


    attachment.php?attachmentid=114419&d=1433458420

    I stoped the robot before finish all the 45 loops because it went out of the writing area....
    800 x 600 - 230K
    459 x 395 - 121K
  • WhitWhit Posts: 4,191
    edited 2015-06-04 19:47
    Nicely done Nikos! The artist continues to amaze me.

    The size thing is an issue. I try things all the time and have to stop because I run out of paper or white board! That is why the chalk feeder is good because I have lots of concrete driveway! ;-)

    I am working on another spiral sort of design now - I can't test is because I am away from my S2 - I will post photos and code when I test it and it works! I have a good name picked out already!
  • ercoerco Posts: 20,244
    edited 2015-06-05 07:59
    Well done, Nikos! I trust that you use a Roomba robot to vacuum the chalk from your carpet between drawing sessions? Please don't say you do it manually! :)
  • PublisonPublison Posts: 12,366
    edited 2015-06-05 08:12
    Why stop at 2D representations? Get the artist to do 3D printing: :)

    https://www.playlsi.com/en/commercial-playground-equipment/playgrounds/harry-thomas/
  • ercoerco Posts: 20,244
    edited 2015-06-05 09:38
    Publison wrote: »
    Why stop at 2D representations? Get the artist to do 3D printing:

    Very cool, Jim. Now who's this "Golden Horatio" joker? Sounds made-up to me.
  • NikosGNikosG Posts: 705
    edited 2015-06-05 23:39
    Publison wrote: »
    Why stop at 2D representations? Get the artist to do 3D printing: :)

    It is a good idea with an "Aerial Artist" maybe an ELEV-8 with a "smoke mechanism" in order to make 3D spirals and shapes in the air........

    At the moment I don't know the abilities of an ELEV-8 but theoretically I think that a such scenario is possible .....
  • WhitWhit Posts: 4,191
    edited 2015-06-06 08:16
    Here is a little something inspired by erco that I am calling Crazy Eights - it is a spiral - Spiro-Graph sort of design based on the figure eight from the Erco Figure Eight Challenge. I haven't got it just right yet. Here is a preview though! Will post the code and full photo when it is finished.

    attachment.php?attachmentid=114425&d=1433603783
    400 x 400 - 48K
  • ercoerco Posts: 20,244
    edited 2015-06-06 15:01
    Great work, Whit and all. This is a great thread and a fitting way to showcase the S2's built-in precision. Almost funny that no one AFAIK did much in the way of these cool Spirograph-like patterns before now. The upcoming S3 should have even greater potential!

    Whit, you'll have to write an article for ROBOT to announce the imminent S3, as you did when the S2 debuted. Find out from Ken when the last S2 was manufactured & sold.

    http://www.botmag.com/parallaxs-red-hot-scribbler-2-robot
  • WhitWhit Posts: 4,191
    edited 2015-06-06 15:43
    erco wrote: »
    Great work, Whit and all. This is a great thread and a fitting way to showcase the S2's built-in precision. Almost funny that no one AFAIK did much in the way of these cool Spirograph-like patterns before now. The upcoming S3 should have even greater potential!

    Whit, you'll have to write an article for ROBOT to announce the imminent S3, as you did when the S2 debuted. Find out from Ken when the last S2 was manufactured & sold.

    http://www.botmag.com/parallaxs-red-hot-scribbler-2-robot

    Thanks erco! There have been some good Spirograph things done - I don't know where they originated, but Ken used some in his Educator's Training Course - good stuff. They are attached... Here is slide from his PowerPoint too!

    attachment.php?attachmentid=114430&d=1433630905

    As far as an S3 article - I would love to give it a shot, but... I want to share too! Would love to give Servo a shot too!

    What do you know about the new editor at Robot?
  • ercoerco Posts: 20,244
    edited 2015-06-06 19:58
    Whit wrote: »
    What do you know about the new editor at Robot?

    Not much, just contact info. He and I swapped one email since Tom left:

    Jeffrey R. Warner

    Editor In Chief, Robot Magazine

    Maplegate Media Group

    jeffreyw@maplegatemedia.com

    W: (919) 562-2176

    M: (919) 697-0522

    www.botmag.com
  • WhitWhit Posts: 4,191
    edited 2015-06-07 12:07
    Thanks kind sir!
  • WhitWhit Posts: 4,191
    edited 2015-06-12 06:11
    erco wrote: »
    Great work, Whit and all. This is a great thread and a fitting way to showcase the S2's built-in precision. Almost funny that no one AFAIK did much in the way of these cool Spirograph-like patterns before now. The upcoming S3 should have even greater potential!

    Whit, you'll have to write an article for ROBOT to announce the imminent S3, as you did when the S2 debuted. Find out from Ken when the last S2 was manufactured & sold.

    http://www.botmag.com/parallaxs-red-hot-scribbler-2-robot

    Saw this elsewhere erco...

    S3 (Scribbler 3) Robot

    Educators will be very interested in this news.

    You’ll notice that we’re currently out of stock of red S2 robots. The last shipment of 3,500 units is expected to arrive at Parallax next week, with the next delivery being our new yellow S3 robot. The S3 is the third major revision of the very successful original blue BASIC Stamp Scribbler.

    The S3 robot has been in design for a year and is progressing according to schedule for a very late 2015 release. The S3 has many significant improvements which are kept current in the Envision the S3 Robot discussion forum thread. The new features include a USB programming port, WiFi programming capability via an XBee WiFi Module socket (which may also be used for general RF communication), an exposed hacker port, and a USB-rechargeable lithium ion battery with up to eight hours of run time! All of these features were requested by teachers who use the S2 in their elementary and middle school robot programs.

    While most of us think of the hardware revisions as requiring most of the effort, it’s really the software that will make the product successful in education. The S2 GUI is currently a Windows-only program with fairly antiquated development tools. Therefore we are also building a new Graphical User Interface (GUI) starting with iOS (iPad) first. Take a look at our iPad S3 GUI progress video. When we’ve finished the iPad S3 GUI we plan on using the same graphics to develop a version that can run on Windows, Mac and Linux.

    We’ve already received prototypes of the S3’s printed circuit boards and the injection mold revisions have been ordered. The release goal for the S3 is late 2015.

    ======

    As always, please feel free to share any comments or thoughts you have on our plans by posting a reply below!

    Sincerely, Ken Gracey


    Yes! I am interested!
  • TtailspinTtailspin Posts: 1,326
    edited 2015-06-13 00:06
    I so want to get involved in the Spiral Challenge, but, all I have is this thing...
    attachment.php?attachmentid=114465&d=1434179094

    I am shamed, It doesn't even have a MCU installed to control it, yet..
    attachment.php?attachmentid=114466&d=1434179119

    On the other hand, it does make beautiful sawdust spirals, and they are 3D at that.

    You guys get to have all the fun...
    Keep at it.


    -Tommy
    1024 x 1365 - 187K
    1024 x 1365 - 178K
  • NikosGNikosG Posts: 705
    edited 2015-06-13 00:48
    Ttailspin wrote: »
    ......On the other hand, it does make beautiful sawdust spirals, and they are 3D at that.
    ....


    It makes 3D spirals on the ground or in the air? Do you have any picture from that or from something similar in order to take an idea?
  • ercoerco Posts: 20,244
    edited 2015-06-13 09:02
    NikosG wrote: »
    It makes 3D spirals on the ground or in the air? Do you have any picture from that or from something similar in order to take an idea?

    Looks like builder man Tony's tongue-in-cheek humor has spiraled out of control and left him painted in a corner!
  • TtailspinTtailspin Posts: 1,326
    edited 2015-06-13 09:51
    Sure NikosG, Here is an advertisement for the "Dust Deputy" Cyclone dust separator for Shop Vacuums,
    It's not a very action packed video, so if you just want to see the spiral action, jump forward 25 seconds or so.
    I wish that I did not wait so long to get one, No more clogged vacuum filters, Yeah!.


    The second picture, is a Prototype control panel box that I will work out the final design, after which I will discard,(it's a little rough), and then fold up a nicer looking box.


    Apologies for disrupting this Spiral Challenge thread, it's just a desperate attempt to get involved... one way or the other..:)
    Please ignore this post, and keep going with the wonderful Spirals you have been creating.


    -Tommy(mess with the thread)Tailspin
  • NikosGNikosG Posts: 705
    edited 2015-06-13 10:32
    Ttailspin wrote: »

    Apologies for disrupting this Spiral Challenge thread, it's just a desperate attempt to get involved... one way or the other..:)
    Please ignore this post, and keep going with the wonderful Spirals you have been creating.

    You don't need to apologie....

    3d spiralas in the air either using dust or smoke or something else could be an amazing project!

    The next device has very similar features with your sawdust maschine

    attachment.php?attachmentid=114470&d=1434216209


    I was wondering the use one of theese with an ELEV-8 in order to make 3D spirals and other things in the air (an idea started by Publison Post#74)
    1020 x 680 - 101K
  • WhitWhit Posts: 4,191
    edited 2015-06-13 11:09
    @Tailspin - Tommy, You are as bad as erco! - I think you just sold one! I love the Dust Deputy! Thanks for posting - even though it will cost me!

    @erco - you are still a trouble maker!

    @Nikos - smoke away!

    By the way, saw these items the other day at Wal-mart - got me thinking...

    attachment.php?attachmentid=114471&d=1434218883

    attachment.php?attachmentid=114472&d=1434218896

    They also have some standard chalk holders that might be modified for our purposes!
  • Carol HazlettCarol Hazlett Posts: 312
    edited 2015-06-18 14:49
    Whit and Nikos your spirals are getting spectacular! I am still bedridden with the pneumonia so I can not work in my workroom to run my S2 but like a little kid with a favorite doll it is on my sidetable next to the bed. I am downloading and reading everything you guys post and planning what I will do next. I am trying to come up with a design for the "Three in one" concept that is made from one continuos line and does not crossover each other. This challenge has been great fun and I am not done with Erco's figure eight yet either!
  • Carol HazlettCarol Hazlett Posts: 312
    edited 2015-06-26 10:20
    Today is a good day for a rainbow!

    attachment.php?attachmentid=114601&d=1435339002
    692 x 519 - 136K
  • ercoerco Posts: 20,244
    edited 2015-06-26 11:52
    Beautimous,Carol!

    Is that your S2 in the photo, somewhere over the rainbow?
Sign In or Register to comment.