How m-creed/motionlab-pro works
MotionLab-Pro is a browser-based motion analysis tool. Users enter or import motion measurements, select manual or automatically calculated parameters, and inspect tables, statistics, results, and charts; they can also view formulas, generate C code, and export a report. The sampled source is a single-file application, so its capabilities are represented as responsibilities within main.js rather than separate modules. The repository excerpts do not show all calls among these responsibilities, so the graph includes only relationships directly evidenced in the excerpts.
Main entry points: main.js Measurement rows
Components 15
Measurement input
- Data entry and paste
main.js - CSV import
main.js
Motion analysis
- Measurement rows
main.js - Parameter selection
main.js - Derived calculations
main.js - Statistics
main.js
Results and export
- Results view
main.js - Charts
main.js - Formula view
main.js - C code generation
main.js - Report export
main.js
User interface
- Data table
main.js - Tab navigation
main.js - Dark mode
main.js
Other components
- User
Connections 18
- User → Data entry and paste: enters data
main.js - User → CSV import: imports file
main.js - Data entry and paste → Measurement rows: updates rows
main.js - CSV import → Measurement rows: loads rows
main.js - User → Parameter selection: selects parameters
main.js - Parameter selection → Derived calculations: enables automatic
main.js - Measurement rows → Data table: renders rows
main.js - Measurement rows → Statistics: updates statistics
main.js - Measurement rows → Results view: renders results
main.js - Measurement rows → Charts: plots data
main.js - Measurement rows → C code generation: generates code
main.js - User → Tab navigation: switches views
main.js - Tab navigation → Results view: renders on selection
main.js - Tab navigation → Charts: renders on selection
main.js - Tab navigation → Formula view: renders on selection
main.js - Tab navigation → C code generation: generates on selection
main.js - User → Dark mode: toggles theme
main.js - User → Report export: exports report
main.js