Get node and yarn (tested on node v16.8.0 and yarn 1.22.10).
yarn install
yarn dev
yarn build
# (after building)
mkdir dist/traces && cp ../../assets/traces/* dist/traces/
npx http-server dist
See /README.md.
The frontend consists of two pages:
index.html
: Landing page, provides links to some traces, allows to select a local trace fileapp.html
/app.js
: Actual visualization using three.jsgraph.js
: scene elements (entities for objects, fields, classes, etc.; connections; trail)map.js
: main logic (scene construction and management, event handling)player.js
: timeline (player and flame graph)resizers.js
: helper for attaching resize logic to.resizer
elementstrace.js
: program trace model (loading, traversing, etc.)utils/
: helpers for standard libraries, stats.js, three.js, etc.