bcthund / Project_Parsec

1 stars 0 forks source link

Pie Chart #3

Closed bcthund closed 4 years ago

bcthund commented 4 years ago

Create an object that can have multiple categories added tied to an integer representing percentage. No check for over 100%, leave it to the user to check their numbers.

Draw one triangle per 1%, then just draw number of triangles equal to categories percentage.

Maybe get smooth circle by drawing triangles larger than desired pie size, then use shader to drop fragments outside pie diameter.

bcthund commented 4 years ago
bcthund commented 4 years ago

Additions and changes: