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

IP Seals for Robots

IP Seals for Robots

Freudenberg Sealing Technologies' IPRS (Ingress Protection Seals for Robots) provides reliable protection for robotic systems operating in harsh environments. Designed to prevent dust, moisture, chemicals, and wear from compromising performance, IPRS extends service life and reduces maintenance. The adaptive Z-shaped geometry ensures sealing integrity under continuous motion, making it ideal for high-speed automation and outdoor applications. Manufactured with high-performance elastomers such as Fluoroprene XP and EPDM, IPRS offers exceptional resistance to lubricants, cleaning agents, and extreme temperatures. This makes it the perfect solution for six-axis robots, SCARA robots, AMRs, AGVs, and cobots. With its low-friction design and durable materials, IPRS enhances energy efficiency and operational reliability in industrial and autonomous robotics. Learn more about our IPRS Seals