Commit 6792eb0 1 parent 1d22ea7 commit 6792eb0 Copy full SHA for 6792eb0
File tree 1 file changed +26
-10
lines changed
1 file changed +26
-10
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,45 @@ Python A-Turtle: AsyncIO-ready Turtle Graphics
3
3
4
4
Python A-Trutle is a library that implements Turtle Graphics with `asyncio ` support.
5
5
6
- .. todo : :
6
+ A short capability summary :
7
7
8
- Complete welcome text.
8
+ * Supports both sync and asyncio compatible coroutine API.
9
+ * Multiple turtle support with either vector or bitmap shapes.
10
+ * Concurrent animation support via the coroutine API.
11
+ * Built on top of the Standard Library's ``tkinter `` module.
12
+ * Sprite support (essentially turtles that don't draw lines)
13
+ * More.
9
14
10
15
11
16
Installation
12
17
------------
13
18
14
- .. todo ::
19
+ Python A-Turtle is a pure Python package distributed via `PyPI <https://pypi.org/pypi/aturtle >`_. Install it with:
20
+
21
+ .. code-block :: console
22
+
23
+ $ pip install aturtle
24
+
25
+ For improved bitmap image rotation speed and quality, install the optional `Pillow <https://pypi.org/pypi/Pillow >`_ extra with:
26
+
27
+ .. code-block :: console
28
+
29
+ $ pip install aturtle[pillow]
15
30
16
- Write installation section.
17
31
18
32
19
33
Quick Start
20
34
-----------
21
35
22
- .. todo ::
36
+ .. code-block :: python
23
37
24
- Write quick start section.
38
+ import aturtle
39
+
40
+ w = aturtle.Window()
41
+ sh = aturtle.shapes.vector.Triangle(radius = 20 , angle = 0 )
42
+ s = aturtle.create_sprite(w, sh, update = True )
43
+ t = aturtle.turtle.Turtle(s)
44
+ t.sync_forward(100 )
25
45
26
46
27
47
Thanks
44
64
45
65
.. marker-start-about-dont-remove
46
66
47
- .. todo ::
48
-
49
- Review sentence tense.
50
-
51
67
Python A-Turtle is being created by Tiago Montes.
52
68
53
69
.. marker-end-about-dont-remove
You can’t perform that action at this time.
0 commit comments