Polygonal Intersection And Gradients

Game Introduction

How To Play

The points are draggable. Concave polygons will collapse into a smaller, convex polygon. If you want intersection calculation or concave polygons, you can simply just split the polygon into triangles first, and then apply a multi-input or gate to whether the intersection is true in each triangle. This method of splitting polygons into triangles is used in 3D face-based rendering engines, and the gradient created here is the same result you would get if you places colored lights in different parts of a room.

Author

piano_miles

Category

Game Information

Game Popularity

363 views

Collection Count

26 favorites