regular triangle discovery
Description
I made a discovery about regular triangles today. \n \nFor a long time I've wondered, is it possible to create a regular triangle on a computer which \nhas all of it's points exactly on an integer position. I finally succeeded in doing it with inkscape. \n \nI know almost nothing about the math behind angles. However, when creating lines with the path tool, inkscape displays the angle created by the current location relative to the first point of the line. \nFor this I used a square grid. \n \nThe ratio in pixels I found in the smallest triangle while one corner pointed straight up or down is. \n \nwidth/height \n 82/71 \n \nHow I did this was first use inkscape's polygon tool to automatically create a regular triangle. \nThen I made a grid of squares with spacing of 1 pixel. Then I snapped one corner to a grid intersection. Then I tried to follow the triangle and see if it's sides ever crossed an intersection of the grid. \n \nAnd I was so amazed that it did, and since inkscape lets me automatically snap to the grid, I quickly \nmade my own triangle path that looks like a really good regular triangle. I'm not sure if I can use this information for pixel art or not but it will be very useful for any vector editor with a square grid. \n \nI'm not sure if this discovery is correct according to geometry,algebra,trigonometry, or whatever other math I know nothing of, but it is at least a good way to approximate a regular triangle on a grid of squares. \n \n
License
More about SVG
Size 0.00 MB
Date: 04/11/2019
No. of downloads: 71