-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphics Example: regular polygons #26
Comments
@joanita-51 would you like to take this up? |
Yes, i would love to |
Please go ahead! |
@joanita-51 were you able to make the local setup (as described in #1) and get the project to compile ( |
Y
Yes, i was able to |
Hey @nikochiko, we already have an implementation for the triangle polygon. Should I create another polygon using the draw_poly function? |
We use graphics library for joy's implementation. It'd be useful to understand how graphics works. This is a suggestion for creating an illustration with the graphics library.
Make regular polygons -- triangle, square, pentagon, hexagon -- in the same canvas. Use a canvas size of 500 x 500.
Reference: https://ocaml.github.io/graphics/graphics/Graphics/index.html#val-draw_poly
The text was updated successfully, but these errors were encountered: