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)

Featured Product

3MP HDR IP69K Camera for Robotics & Autonomous Vehicles

3MP HDR IP69K Camera for Robotics & Autonomous Vehicles

STURDeCAM31 from e-con Systems® is designed to make robotics and autonomous vehicles safer and more reliable. Powered by the Sony® ISX031 sensor and featuring GMSL2 interface, this compact 3MP camera delivers 120dB HDR + LFM imaging with zero motion blur — even in the most challenging outdoor conditions. Engineered to automotive-grade standards, STURDeCAM31 is IP69K certified, making it resistant to dust, water, vibration, and extreme temperatures. With support for up to 8 synchronized cameras, it enables powerful surround-view and bird's eye systems on NVIDIA® Jetson AGX Orin™.