Cities: Skylines

Cities: Skylines

Perfect Hexagon (6-Way Guide Frame)
5 Comments
mrxenozip 15 May, 2015 @ 5:22am 
This is off by 0.1 degrees but is fixable, bloody impressive. Been trying to do hexagons for days, get the protractor mod and update. Well done.
Orchid 8 Apr, 2015 @ 6:43pm 
@Urben: One thing I want to note, is that the Bezier tool doesn't construct a perfect circular arc. The tool is based on a quadratic function, so it can only approximate a circular arc. I've explained this in my article on creating perfect pentagons. If you want it perfect, I suggest you construct the sides using the Pythagorean theorem, from 1 to square-root 2, square-root 3, and finally to 2. This creates an equilateral triangle. Then you can expand with this equilateral triangle to build a perfect hexagon.
colttenney  [author] 5 Apr, 2015 @ 10:34pm 
@Urben: I appreciate your enthusiasm Urben, and I am happy someone went and authenticated my less than 1m tollerance. However I did not expect someone would be skilled enough to prove the hexagon's lack of complete perfection. You see my mouse only has a dpi of 1000 and I run the game at 3840x2160, with the normal ingame zoom maxed all the way, the best resolution I can get is 30cm when placing a road. So I decided that I would fudge it and leave it at the nominal 15cm off of target. I am dreadfully sorry for having mislead you into accepting this hexagon as literally perfect. However, I am afraid that all of my assets will be at least 15cm off until I get my Epsilon LE-05 Laser Extensometer (which has a resolution of 1 micron) to use as my new mouse. This would allow me to place roads with 0.5mm in-game precision, and (hopefully) too small of an error for someone even as skilled as you, to notice. Again, terribly sorry for any misleading.
Urben 5 Apr, 2015 @ 4:39am 
This is not perfect, Ive measured the angle of one triangle of it by counting vertical tiles (26) and horizontal tiles (15) and came to an angle of 60.0183606312° which is 1,8% too much. So the 26 tile long side equals 208m which is 15cm too much. Yes thats under your 1m tollerance but still not perfect.

You cant create a 60° angle by counting ingame-tiles because you had to create a 1:√3 ratio. And because √3 is irrational, it can't have a ratio made of integers only.

If you really try to create a perfect 60° angle, you have to work with circles, which could be quite hard ingame.

Even if you manage to make a perfect 60° angle, it actually isnt because a computer works with digital numbers, not analog ones. So a computer also can only come near to a number equal to √3, but never perfectly to it. Thats why supercomputers still are working on pi, because pi is irrational too.

tl;dr: Nope you cant make a perfect one. And yes this is a troll post.