tjido commited on
Commit
2f90689
·
verified ·
1 Parent(s): 6f70e3c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -19
README.md CHANGED
@@ -1,40 +1,120 @@
1
  ---
2
  title: PromptingCoach
3
- emoji: 📚
4
  colorFrom: blue
5
- colorTo: blue
6
  sdk: gradio
7
  sdk_version: 5.22.0
8
  app_file: app.py
9
  pinned: true
10
  license: mit
11
- short_description: This app teaches learners how to create good prompts for AI.
12
  ---
13
 
14
- # 🌟 Turtle Graphics Prompting Coach 🐢✍️
 
15
 
16
- Learn how to write better prompts to get **Turtle code** that draws stars with LOGO-style commands!
17
 
18
- 🎯 Use prompts like:
19
- - “Draw a 5-pointed star using turtle graphics”
20
- - “Make a star with forward and right commands”
21
- - “Turtle star shape with 144-degree turns”
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
- You’ll get:
24
- - ✅ AI-generated Python turtle code
25
- - 💬 Feedback on how to improve your prompt
26
- - 🧠 Practice in clear, structured prompt engineering
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
- Perfect for beginner programmers, creative coding, and digital art classes!
 
 
 
 
 
 
 
29
 
 
 
 
30
 
31
- 📚 **Built with:**
32
- - 🤗 Hugging Face
33
- - 🧪 Transformers
34
- - 🌐 Gradio
 
35
 
36
- 🧑🏾‍💻 Created for high school students learning about AI and prompt engineering.
37
 
38
  ---
39
 
 
 
 
 
 
 
 
 
 
 
 
40
  Made with ❤️ by [@tjido](https://huggingface.co/tjido)
 
1
  ---
2
  title: PromptingCoach
3
+ emoji: 🐢
4
  colorFrom: blue
5
+ colorTo: green
6
  sdk: gradio
7
  sdk_version: 5.22.0
8
  app_file: app.py
9
  pinned: true
10
  license: mit
11
+ short_description: Coach your prompts to draw turtle graphics using AI.
12
  ---
13
 
14
+ # 🐢 Turtle Prompting Coach 🌟
15
+ Welcome to the **Turtle Prompting Coach**, an interactive AI-powered tool that helps you learn how to write *better prompts* to generate LOGO-style turtle graphics code.
16
 
17
+ Whether you're building a **square**, a **spiral**, or a **starburst**, this tool helps you practice **precision prompting**—a valuable skill in AI, programming, and clear communication.
18
 
19
+ ---
20
+
21
+ ## How It Works
22
+
23
+ 1. 💬 **You type a prompt** like:
24
+ `"Draw a 5-pointed star using turtle graphics."`
25
+
26
+ 2. 🤖 **The AI responds** with code in LOGO or Python Turtle style.
27
+
28
+ 3. 🧠 **The Coach gives feedback** on how to improve your prompt—just like a real teacher!
29
+
30
+ Use this to:
31
+ - Practice prompt engineering with a visual and familiar context
32
+ - Reinforce geometry, logic, and coding concepts
33
+ - Get inspired by generative art through code!
34
+
35
+ ---
36
+
37
+ ## 🎨 What Can I Ask It to Draw?
38
+
39
+ Here’s a list of shapes and patterns the Prompting Coach can help you generate:
40
+
41
+ ### 🔷 Basic Geometric Shapes
42
+ | Shape | Notes |
43
+ |--------------|---------------------------------|
44
+ | Square | 4 sides, 90° angles |
45
+ | Rectangle | Varying side lengths |
46
+ | Triangle | Equilateral, 120° angles |
47
+ | Pentagon | 5 sides, 72° turns |
48
+ | Hexagon | 6 sides, 60° turns |
49
+ | Octagon | 8 sides, 45° turns |
50
+ | Circle | Approximate using tiny steps |
51
+
52
+ ---
53
+
54
+ ### ⭐ Star Shapes
55
+ | Shape | Notes |
56
+ |--------------------|---------------------------------------------|
57
+ | 5-pointed star | Classic with 144° angles |
58
+ | 6-pointed star | Two overlapping triangles |
59
+ | 8-pointed star | More decorative |
60
+ | Starburst | Lines radiating from center |
61
+ | Nested stars | Repeating stars with different sizes |
62
 
63
+ ---
64
+
65
+ ### 🟥 Striped Patterns
66
+ | Pattern | Notes |
67
+ |------------------------|--------------------------------------|
68
+ | Vertical stripes | Using loops and pen-up/down |
69
+ | Horizontal stripes | Alternate directions |
70
+ | Red & white flag | Color and spacing control |
71
+ | Variable width stripes | Change size per iteration |
72
+ | Alternating colors | Set color in loop |
73
+
74
+ ---
75
+
76
+ ### 🌀 Spirals and Circular Patterns
77
+ | Shape | Notes |
78
+ |---------------------|-----------------------------------------|
79
+ | Square spiral | Expanding squares with increasing size |
80
+ | Circle spiral | Gradual curve with tiny turns |
81
+ | Sunburst | Radiating lines from center |
82
+ | Flower spiral | Complex radial petal effect |
83
+
84
+ ---
85
 
86
+ ### 🖋️ Creative and Thematic Drawings
87
+ | Shape or Art | Notes |
88
+ |---------------------|-------------------------------------------|
89
+ | House | Square + triangle roof |
90
+ | Rocket | Triangle top, rectangular body |
91
+ | Flag | Combine stripes, stars, and shapes |
92
+ | Face or emoji | Circles, arcs, and dots |
93
+ | Initials / letters | Drawing text using `fd`, `rt`, `lt` |
94
 
95
+ ---
96
+
97
+ ## 🧑🏾‍🏫 For Students and Teachers
98
 
99
+ This tool is perfect for:
100
+ - Practicing **prompt engineering**
101
+ - Visualizing **code as art**
102
+ - Reinforcing **geometry and logic**
103
+ - Exploring **AI + creativity**
104
 
105
+ Built to align with LOGO turtle lessons and ready to extend them into **21st-century prompt-based coding**.
106
 
107
  ---
108
 
109
+ ## 💻 Built With
110
+
111
+ - 🤗 Hugging Face Spaces
112
+ - 🌐 Gradio for interactivity
113
+ - 🧪 Transformers for text generation
114
+ - 🐢 Python-style Turtle logic
115
+
116
+ ---
117
+
118
+ Made with ❤️ for high school learners exploring the world of AI + code.
119
+
120
  Made with ❤️ by [@tjido](https://huggingface.co/tjido)