GitPedia

Hexapod

Blazing fast hexapod robot simulator for the web.

From mithi·Updated June 10, 2026·View on GitHub·

You can use this web app to solve inverse kinematics, simulate various gaits, and more. In real time, you can also view all the angles the robot's eighteen joints make at any particular pose. All the computations are solely done in your browser, nothing's fetching data from somewhere else, so it should be fast. Another (somewhat) cool thing is that this app does NOT depend on any external mathematics library; it only uses Javascript's built-in Math object. The project is written primarily in JavaScript, distributed under the Apache License 2.0 license, first published in 2020. Key topics include: forward-kinematics, hacktoberfest, hexapod, inverse-kinematics, javascript.

Latest release: v0.5.0Now works offline
July 26, 2020View Changelog →

build status
Code Climate
buy me coffee

Mithi's Bare-Minimum Hexapod Robot Simulator 2

<p align="center"> <img src="https://mithi.github.io/robotics-blog/show-off.gif" alt="drawing" width="400" /> </p>

You can use this web app to solve inverse kinematics, simulate various gaits, and more. In real time, you can also view all the angles the robot's eighteen joints make at any particular pose. All the computations are solely done in your browser, nothing's fetching data from somewhere else, so it should be fast. Another (somewhat) cool thing is that this app does NOT depend on any external mathematics library; it only uses Javascript's built-in Math object.

👉 hexapod.netlify.app

Consider buying me a few cups of coffee ☕ ☕ ☕ to motivate me to build other robotics-related visualizers. (Quadrotors?!)

Features

<img src="https://mithi.github.io/robotics-blog/show-off-v2-1.gif" alt="drawing" width="325" align="right" />

🎉 Control

  • The robot's dimensions
  • The robot's 3d orientation, translation, stance, and more

🎉 Solve

  • Inverse Kinematics
  • Forward Kinematics

🎉 Simulate

  • Ripple and tripod gait variations
  • Walking forward and backwards
  • Rotating clockwise and counterclockwise

🤖 🐳

If you'd like to build your own user interface with Node, you can download the algorithm alone as a package: Hexapod Kinematics Library. There is also a "fork" modified where you can use the app to control a physical hexapod robot as you can see in the gif below.

Walking GaitsKinematics

Main Contributors PRs welcome!

Any contribution to improve the source code is always appreciated. See contributing Guide. I will put your name below if I've merged your PR multiple times or if you've substantially contributed to this project in other ways.

I love badges! (Don't we all?)

last commit
commits per month
top language
code files size
repo size
codecov
code style: prettier
License

Contributors

Showing top 6 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from mithi/hexapod via the GitHub API.Last fetched: 6/14/2026