Beating Super Hexagon With Computer Vision

Two great examples of using Computer Vision to beat Super Hexagon.

Super Hexagon is a really hard game. The goal of Super Hexagon is to control a small triangle which circles around a central hexagon (which occasionally collapses into a pentagon or square in the hexagon and hyper hexagon difficulty) attempting to avoid contact with incoming "walls". 

First example from Valentin Trimaille's Super Hexagon bot:

Ray Casting Wall Detection

The point is that a bot for this game makes a really nice image processing project to start learning OpenCV: simple shapes but lots of human disturbing effects, fast-paced game meaning real-time is required, very simple controls: rotate CW or CCW... (full article)

Second example from Shaun LeBron's  Super Hexagon Unwrapper:

This project is written in Python. It employs Computer Vision algorithms provided by SimpleCV to establish a reference frame in the image. Then it warps (or "unwraps") the image based on that reference frame, using OpenGL fragment shaders... (github code) (full explanation)

Comments (0)

This post does not have any comments. Be the first to leave a comment below.


Post A Comment

You must be logged in before you can post a comment. Login now.

Featured Product

3D Vision: Ensenso B now also available as a mono version!

3D Vision: Ensenso B now also available as a mono version!

This compact 3D camera series combines a very short working distance, a large field of view and a high depth of field - perfect for bin picking applications. With its ability to capture multiple objects over a large area, it can help robots empty containers more efficiently. Now available from IDS Imaging Development Systems. In the color version of the Ensenso B, the stereo system is equipped with two RGB image sensors. This saves additional sensors and reduces installation space and hardware costs. Now, you can also choose your model to be equipped with two 5 MP mono sensors, achieving impressively high spatial precision. With enhanced sharpness and accuracy, you can tackle applications where absolute precision is essential. The great strength of the Ensenso B lies in the very precise detection of objects at close range. It offers a wide field of view and an impressively high depth of field. This means that the area in which an object is in focus is unusually large. At a distance of 30 centimetres between the camera and the object, the Z-accuracy is approx. 0.1 millimetres. The maximum working distance is 2 meters. This 3D camera series complies with protection class IP65/67 and is ideal for use in industrial environments.