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

Get RFQs on Die Casting, Stamping, and Extrusion With Xometry, Your Source for Custom Parts

Get RFQs on Die Casting, Stamping, and Extrusion With Xometry, Your Source for Custom Parts

Xometry is your source for custom parts. Now, in addition to getting instant quotes on 3D Printing, CNC Machining, Sheet Metal, and Injection Molding, customers can create and send RFQs for die casting, stamping, and extrusion work to our nationwide network of pre-vetted manufacturers with just a 2D drawing. You will receive and be able to review responses from qualified shops within 7 days on an advanced web-based RFQ management platform. To learn more go directly to our site to issue and RFQ today. Stop wasting time managing RFQs through email and by phone, and start issuing RFQs at scale and in the cloud.