Lab 1: Design a Badge Logo in CorelDRAW Step by Step, Then Check the Geometry and SVG with Python
The Goal
Design a round badge for an imaginary shop called Bean & Bloom with two rings, a cup icon in the center and text curved around the top and bottom.
Part A: In CorelDRAW
- Create a 500 x 500 px RGB document
- Create color styles: Dark Brown
#3B2A20, Cream#F6EBDD, Accent Orange#E07A2F - Draw a 360 px circle and center it on the page (press P). Fill Dark Brown
- Duplicate it (Ctrl + D), scale it to 320 px and fill Cream
- Duplicate again, scale to 308 px, remove the fill and set a 3 px Dark Brown outline
- Draw a simple cup from a rounded rectangle and a small ring for the handle and Weld them
- Draw three curved steam lines with the Bezier tool, with round caps
- Draw a 300 px circle path, type BEAN & BLOOM and use Fit Text to Path
- Make a second path for COFFEE HOUSE along the bottom and mirror the text
- Group everything and check it at 32 px and in one color
Use the Transformation docker Type exact sizes with the center reference point so every ring stays centered.
Part B: Check the Math with Python
python
import xml.etree.ElementTree as ET
size = 500
c = size / 2
r_outer = 360 / 2
r_cream = 320 / 2
r_ring = 308 / 2
svg = f"""<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {size} {size}" width="{size}" height="{size}">
<circle cx="{c}" cy="{c}" r="{r_outer}" fill="#3B2A20"/>
<circle cx="{c}" cy="{c}" r="{r_cream}" fill="#F6EBDD"/>
<circle cx="{c}" cy="{c}" r="{r_ring}" fill="none" stroke="#3B2A20" stroke-width="3"/>
</svg>"""
root = ET.fromstring(svg) # raises an error if the SVG is not valid XML
print("valid SVG, elements:", len(list(root)))
print("radii:", r_outer, r_cream, r_ring)
print("outer ring thickness:", r_outer - r_cream, "px")
print("space between the inner circles:", r_cream - r_ring, "px")
print("margin to page edge:", c - r_outer, "px")
Result
valid SVG, elements: 3 | radii: 180.0 160.0 154.0 | outer ring thickness: 20.0 px | space between the inner circles: 6.0 px | margin to page edge: 70.0 px
python
import math
text = "BEAN & BLOOM"
radius = 150
letter = 17
needed = len(text) * letter
print("arc length needed:", needed, "px")
print("covers about", round(math.degrees(needed / radius)), "degrees")
print("fits in the top half:", math.degrees(needed / radius) < 180)
Result
arc length needed: 204 px | covers about 78 degrees | fits in the top half: True
Check Your Result
- The outer ring is 20 px thick and there is 70 px of margin
- The text covers about 78 degrees, so it sits easily on the top arc
- At 32 px the cup and rings are still clear
- In one color, the cream ring should become white or empty
Not run in CorelDRAW The CorelDRAW steps come from standard workflow and Corel documentation and were not run in the app for this course. The Python and SVG check was run.
Conclusion
A badge uses circles, duplicates, shaping and text on a path. Python checks the sizes and that the SVG is valid.
Quick Summary: Goal; CorelDRAW steps; Python checks; results.

