Skip to content

Physics simulation of creatures interacting with environment (work in progress)

License

Notifications You must be signed in to change notification settings

NirajPatelRobots/creatureSim

Repository files navigation

creatureSim

Physics simulation of creatures interacting with environment

Download Instructions

  1. Download the repo
  2. Run main.py

Requires python 3.5 or newer.

Requires numpy 1.17 or newer (honestly, older probably works too).

Displaying animations requires VPython 7.5 or newer.

Saving animations as GIFs requires Pillow 7.0 or newer and Vpython.

Concepts

  • A creature is an object that can move.
  • A physState is the physical location of the creature and all its limbs.
  • A pose is the relative state of all the objects the creature can move. For example, standing up is a pose.
  • A walkCycle is a repeating list of poses that the creature uses to move

Major Tasks TODO

  • learning algorithm for walkCycles
  • speed up physics
  • consistently measure execution times

Known Bugs Surprise Features

  • strange positioning before and after animations
  • no friction between body and ground
  • creatures do not have souls

Niraj did this

About

Physics simulation of creatures interacting with environment (work in progress)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages