Shop OBEX P1 Docs P2 Docs Learn Events
Circles, arcs and spirals with S3 and Blockly — Parallax Forums

Circles, arcs and spirals with S3 and Blockly

NikosGNikosG Posts: 705
edited 2016-10-18 20:04 in Learn with BlocklyProp
Hello everybody,
From an old thread: "Nikos' Fibonacci Spiral Challenge" Whit and I, had analyzed how we can make circles, arcs and spirals with S2 and GUI.
The Math theory doesn't change, however working with Blockly we need a differen approach.
This is all about that I'll try to explain in the next lines:
First challenge : How to make a circle with specific radius R with S3 and Blockly:
s3_circles_with_Blockly.png
910 x 1164 - 398K

Comments

  • NikosGNikosG Posts: 705
    edited 2016-10-19 17:26
    For those who love math here is the proof for the formula (2)

    Calculations of the time for one circle with radius R:

    At least “TIME” is the time that need the S3 to do the desired circle (blue color) with radius R. That TIME is equal to time that need the left wheel to do the big red circle with radius R+D/2. The distance that cover the left wheel is C=2π(R+D/2).
    From measurements we also know that for a distance 17800mm the S3 need 10000ms. For the distance C the S3 need TIME so….
    Time/10000=2π(R+D/2)/17800

    proof.jpg
    898 x 937 - 204K
  • That's super Nikos.

    Hope to see you on the Webinar today. Sorry you missed the last one.

  • Publison wrote: »
    That's super Nikos.

    Hope to see you on the Webinar today. Sorry you missed the last one.
    Yes! I'll be there in 30 min!


  • WhitWhit Posts: 4,191
    Great stuff Nikos! Sorry I could not attend the Hangout with you!
Sign In or Register to comment.