Say I have a triangle made with 3 points. How do I check if said triangle contains the a certain set of points? I’m trying to make an interactive UI with P5.js that includes an arrow that allows you to resize the object. The wireframe code is: Is there a dynamic way to tell if a point is within a
Tag: triangle
Draw isocele triangle according to angle in javascript canvas
I would like to know how can I draw an isocele triangle in canvas, if I know the first angle, and the lengths of the two equal side. Shema (known lengths are in red) And second question, is it possible to curve the top side like that : Shema Answer