0

Can you make a triangle with on an HTML canvas with JS?

I want to make a triangle on the HTML canvas from the Game Development with JS course. I can't make it with just two lines because I need to fill it in. I don't really have a code to show.

18th May 2023, 2:37 PM
Paxton Programer
4 Answers
+ 7
Paxton before you ask the question do search on google, this post will help you https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
18th May 2023, 2:55 PM
Sakshi [Offline šŸ™ƒ]
Sakshi [Offline šŸ™ƒ] - avatar
+ 3
No, triangles are forbidden and unclean. The secret morality police will come disappear you in the night if you try to do something like, say, this: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes#drawing_a_triangle
18th May 2023, 3:46 PM
Orin Cook
Orin Cook - avatar
0
Š’сŠµŠ¼ ŠæрŠøŠ²ŠµŃ‚ ŠŗтŠ¾ хŠ¾Ń‡ŠµŃ‚ Š² Š±Š°Š½Š“у
19th May 2023, 5:54 PM
KIDS ALL KIDS