/hexapod

Blazing fast hexapod robot simulator with React and Plotly.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

build status Code Climate technical debt codecov HitCount code style: prettier buy me coffee

Mithi's Bare-Minimum Hexapod Robot Simulator 2

drawing

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.

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

Features

drawing

🎉 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

🤖 🐳

Screenshots

leg patterns page portrait inverse kinematics page with pose table forward kinematics page walking gait page with footer nav
. . . .

Main Contributors PRs welcome!

Any contribution to improve the source code is always appreciated. This is my first time coding in Javascript and this is also my first React app, so I'm sure there is a lot of room for improvement. 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?)

License code climate issues last commit commits per month top language code files size repo size code base blanks count code base line count number of files count number of comments line in code base lines of code