My question is how do get a coordinate point intersect of 2 line in draw i.o
I need a function to resolve this problem in javascript (get coordinate of point only)
Example:
My question is how do get a coordinate point intersect of 2 line in draw i.o
I need a function to resolve this problem in javascript (get coordinate of point only)
Example:
With the start and end points of both of those lines, you can calculate their slopes. Since you have at least one point you can then compute the slope-intercept form of the lines and set the y's equal to each other to calculate the intersection points' Cartesian coordinates.