3 ms·
I wasn't expecting scaling the points by a some multiplier number for line through points example https://github.com/stevenpetryk/mafs/blob/main/src/display/Lin
by fatih-erikli 4y ago
I wasn't expecting scaling the points by a some multiplier number for line through points example https://github.com/stevenpetryk/mafs/blob/main/src/display/Line/ThroughPoints.tsx#L23 https://github.com/stevenpetryk/mafs/blob/main/src/display/L...
Doing some trigonometry to get the angles of the points and drawing lines from the svg edges could be a better approach
- stevenpetryk 4y agoYeah, you found some jank.