Double Pendulum Chaos Explorer (AI built)
Version 1.0.2 (1.78 MB) by
Duncan Carlsmith
AI-built HTML5 and MATLAB apps to explore chaos with a double pendulum
Editor's Note: This file was selected as MATLAB Central Pick of the Week
A desktop AI App can build HTML5 interactive apps and convert them to MATLAB interactive GUI apps if connected to MATLAB via MCP. An AI enabled browser like Chrome with Claude Chrome Extension or Perplexity Comet browser can operate MATLAB Online and build deployable apps with more modern tools using App Designer.
This File Exchange submission package contains the HTML5 and .m interactive versions of an application to explore chaos with a double pendulum described at Double Pendulum Chaos Explorer: From HTML5 Prototype to MATLAB interactive application with AI. An included file will install the MATLAB app in your Apps Library if desired. Claude desktop App with MATLAB MCP connection to a local MATLAB App was used first to prototype the HTML5 version and then with MATLAB to develop the MATLAB version. The app allows the user to adjust initial conditions to explore quasi harmonic and chaotic regimes. The user can also launch an adjustable number of double-pendulum systems simulated simultaneously with initial conditions in a small range to observe how their motions might diverge.
The included apps may interest students and instructors of physics and related fields. The process and scope of the apps may interest code developers. Additional educational products by the author may be found here.
Cite As
Duncan Carlsmith (2026). Double Pendulum Chaos Explorer (AI built) (https://uk.mathworks.com/matlabcentral/fileexchange/182985-double-pendulum-chaos-explorer-ai-built), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
