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

Markforged:  Buyer's Guide to 3D Printing for Manufacturing

Markforged: Buyer's Guide to 3D Printing for Manufacturing

3D printing has become a powerful force in today's manufacturing industry from prototyping to tooling and fixtures to custom, end-use parts. Many businesses struggle to find the right solutions to fit their needs and provide ROI. Selecting the right platform to prevent manufacturing roadblocks is vital to optimizing your manufacturing line productivity. Download the all new buyer's guide to help you evaluate the benefits of 3D printing and dispel misconceptions, understand the pros/cons of various 3D printing processes and materials, and assess the key considerations in selecting a 3D printer.