CodingTrain / CodingTrain/Suggestion-Box

Challenge: Spell word in alphabet around circle

Open
#1,720 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Sorry about the title, but i dont know how to describe it. The idea is the following: Have a circle with the alphabet around it, and make a polygon with lines joining the letters of some word. ([I made it](https://pudymody.github.io/playground/name-graph.html?radius=512&font=36&stroke_width=3&stroke_color=%23ffffff&fill=%23ff0000&duration=5&word=CODINGTRAIN) using svg, but i think is doable using p5).

Some of the things that will be excercised are that come to my mind are:
- Polar coordinates to layout the alphabet
- The vertex function to make the polygon
- Some math to offset the alphabet so that the first letter is at the 12 oclock

This is an example using the word *CodingTrain*
![image](https://user-images.githubusercontent.com/814791/155072337-e865f63c-6dad-404e-9ec0-11a1996eca5e.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.