File tree Expand file tree Collapse file tree 1 file changed +35
-11
lines changed
Expand file tree Collapse file tree 1 file changed +35
-11
lines changed Original file line number Diff line number Diff line change 11@ {
2+ # SVG Path Compatibility
3+ # (these methods directly reflect the corresponding instruction)
4+ a = ' Arc'
5+ c = ' CubicBezierCurve'
6+ l = ' Step'
7+ s = ' BezierCurve'
8+ q = ' QuadraticBezierCurve'
9+
10+ # Shorter forms:
11+ Pie = ' PieGraph'
12+ ArcR = ' ArcRight'
13+ ArcL = ' ArcLeft'
14+
15+ # Logo ('Original') Turtle Compatibility
216 pd = ' PenDown'
317 pu = ' PenUp'
418 fd = ' Forward'
5- down = ' PenDown'
6- up = ' PenUp'
7- l = ' Left'
819 lt = ' Left'
920 rt = ' Right'
10- r = ' Right'
21+ bk = ' Backward'
22+
23+ # Python Turtle Compatibility
24+ SetPos = ' GoTo'
25+ SetPosition = ' GoTo'
26+ Back = ' Backward'
1127 xPos = ' xcor'
1228 yPos = ' ycor'
29+
30+ # Python Turtle Compatibility That Will be Revised if/when the Turtle goes to 3D
31+ down = ' PenDown'
32+ up = ' PenUp'
33+ r = ' Rotate'
34+
35+ # CSS shape pre-compatibility
1336 LineTo = ' GoTo'
14- SetPos = ' GoTo'
15- SetPosition = ' GoTo'
1637 MoveTo = ' Teleport'
17- Back = ' Backward'
18- bk = ' Backward'
19- ArcR = ' ArcRight'
20- ArcL = ' ArcLeft'
2138 HLineBy = ' HorizontalLine'
2239 VLineBy = ' VerticalLine'
40+
41+ # Common transposition errors
2342 FlowerStar = ' StarFlower'
2443 FlowerGolden = ' GoldenFlower'
44+
45+ # Anglican color property names
2546 BackgroundColour = ' BackgroundColor'
2647 FillColour = ' FillColor'
2748 PenColour = ' PenColor'
49+
50+ # Internationalized Method Names.
51+ # These are technically more correct, but will not be easy to type on all keyboards.
2852 BézierCurve = ' BezierCurve'
2953 QuadraticBézierCurve = ' QuadraticBezierCurve'
30- CubicBézierCurve = ' CubicBezierCurve'
54+ CubicBézierCurve = ' CubicBezierCurve'
3155 SierpińskiTriangle = ' SierpinskiTriangle'
3256 SierpińskiArrowHeadCurve = ' SierpinskiArrowHeadCurve'
3357 SierpińskiSquareCurve = ' SierpinskiSquareCurve'
You can’t perform that action at this time.
0 commit comments