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

Midwest Motion Products is a leading provider of robust and reliable Motion Control Products.

Midwest Motion Products is a leading provider of robust and reliable Motion Control Products.

MMP specializes in supplying high-quality Brushed & Brushless DC Motors & Gearmotors for Robotics and Automation Equipment with a wide range of motor windings and gear ratios. With an impressive track record of more than 8,000 released DC Gearmotors designs and over 2,000,000 individual part numbers, we are renowned for our ability to handle large-scale orders. Due to our huge on-hand inventory, we are also well known for lightning-fast delivery of our standard products. We take pride in our dedicated customer service and our team of knowledgeable sales and engineering experts who are ready to assist you with custom design solutions tailored to your specific application. Additionally, we also offer a wide range of complimentary products, such as DC Motor Controls, DC Linear Actuators, AC-DC power Supplies, and DC Servo Amplifiers and others.