Commit Graph

71 Commits

Author SHA1 Message Date
Léa Saviot
7efb48ab6e [python/turtle] Turtle::circle's angle argument is optional 2018-12-10 16:59:11 +01:00
Léa Saviot
fa0e93e8ac [python/turtle] Fix Turtle::circle for negative angles 2018-12-10 16:51:16 +01:00
Léa Saviot
3249ccb695 [python/turtle] "back()" shortcut for "backwards()" 2018-12-10 14:31:44 +01:00
Léa Saviot
3b334257ad [python/turlte] Move the turtle paws to mimic crawling 2018-12-10 14:10:44 +01:00
Léa Saviot
c95e291dd1 [python/turtle] First icon redesign 2018-12-07 16:58:59 +01:00
Léa Saviot
c8a5972243 [python/turtle] Turtle::circle(radius, angle) 2018-12-07 10:51:14 +01:00
Léa Saviot
cc3beb6014 [python/turtle] Turtle::reset() method 2018-12-06 17:26:43 +01:00
Léa Saviot
9c9355deba [python/turtle] Use Escher::Metric values instead of copying them 2018-12-06 17:26:43 +01:00
Léa Saviot
3ca1790908 [python/turtle] The Y axis is oriented upwards 2018-12-06 17:26:35 +01:00
Léa Saviot
432e259f30 [python/turtle] Speed max and min should produce the same behavior 2018-12-06 13:55:07 +01:00
Léa Saviot
d530637591 [python/turtle] Fix speed type 2018-12-06 13:38:05 +01:00
Léa Saviot
e769255c05 [python/turtle] Default pen size is 1 2018-12-06 11:55:29 +01:00
Léa Saviot
4b3ce7a7f1 [python/turtle] Fix Turtle::setSpeed
If speed > 10 or < 0.5, it should be set to 0. When speed is 10 or 0,
the drawing should be instantaneous. Default speed is 3.
2018-12-06 11:55:20 +01:00
Léa Saviot
1e78f20ac1 [python] Return after interruption in possibly long turtle methods
forward(100) with speed = 3 can now be interrupted.
2018-12-06 11:48:42 +01:00
Romain Goyet
05a2491479 [python/turtle] Fix the heading 2018-11-16 18:34:46 +01:00
Romain Goyet
467ae9c6f3 [python/turtle] Fix small typos 2018-11-16 18:34:23 +01:00
Romain Goyet
5748521876 [python/turtle] Try to play well with uPy's GC 2018-11-16 18:33:41 +01:00
Romain Goyet
7fc34fe17f [python/turtle] Use an init method to reset the turtle 2018-11-16 18:33:05 +01:00
Romain Goyet
a9091c933b [python/turtle] Use a Turtle class 2018-11-16 15:31:31 +01:00
Romain Goyet
fe076d0578 [python/turtle] Use mp_float_t 2018-11-16 10:33:28 +01:00
Romain Goyet
22a39a2fd6 [python/turtle] Use a dedicated folder 2018-11-16 10:31:16 +01:00