Megan Simulator (XKCD)

Stick-figure model

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Alfonso Nieto-Castanon (2026). Megan Simulator (XKCD) (https://www.mathworks.com/matlabcentral/fileexchange/51139-megan-simulator-xkcd), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Intuitive RGB color values from XKCD

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.8.0

. speed-up the display (~30fps real-time display on my laptop)
. improved hair physics

Download
1.7.0

added wind effects

Download
1.6.0

physics model: added hair movement and angular momentum conservation (e.g. extend your arms to reduce spin velocity)
GUI: added explanations of all user-definable parameters in Settings

Download
1.5.0

fixed camera-tracking issue

Download
1.4.0

.

Download
1.3.0

added angular control and angular momentum rules (spinning!)

Download
1.2.0

no changes: just updating the file description info

Download
1.1.0

added click-and-drag functionality on pose trajectory display

Download
1.0.0

Download