An algorithm for inflating/deflating (offsetting, buffering) polygons
How would I “inflate” a polygon? That is, I want to do something similar to this: The requirement is that the new (inflated) … Read more
How would I “inflate” a polygon? That is, I want to do something similar to this: The requirement is that the new (inflated) … Read more
Having a list of points, how do I find if they are in clockwise order? For example: point[0] = (5,0) point[1] = (6,4) … Read more
I’m trying to create a fast 2D point inside polygon algorithm, for use in hit-testing (e.g. Polygon.contains(p:Point)). Suggestions for effective techniques would be … Read more
There’re plenty of different CSS shapes over at CSS Tricks – Shapes of CSS and I’m particularly puzzled with a triangle: #triangle-up { … Read more