mindrones / inscribed-grid-points

Show points of a grid inscribed in a given triangle

Home Page:https://mindrones.github.io/inscribed-grid-points/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grid points inscribed in a triangle

Shows the points of a grid inscribed in a given triangle.

Demo

Resize the window to update the triangle geometry and the inscribed points.

Click on the visualization to generate a new random triangle. Every four clicks, you get a triangle with a horizontal side (shown in green), useful to test the function generating the inscribed points.

Triangle

About

Show points of a grid inscribed in a given triangle

https://mindrones.github.io/inscribed-grid-points/

License:GNU General Public License v3.0


Languages

Language:JavaScript 93.1%Language:CSS 5.0%Language:HTML 1.9%