Skip to content
/ troika Public
forked from protectwise/troika

A JavaScript framework for interactive 3D and 2D visualizations

License

Notifications You must be signed in to change notification settings

adeze/troika

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,186 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Troika JS

Troika is a collection of JavaScript tools for creating interactive graphics in the browser, with a focus on 3D/WebGL, and optimized for data visualization use cases.

The provided tools fall into two main categories:

  • The Troika Framework, a fully featured framework for managing entire scenes with rich interactivity and high performance, and
  • A growing set of other tools for Three.js, that do not depend on that framework.

The Troika project's main goal is to take aspects of developing interactive graphics that you almost always need, but are difficult to manage yourself, and make them as easy as possible.

3D Bar Chart Example Layered Timeline ProtectWise: Protocol Threat Graph 3D Text Rendering GPU Instancing Layered Timeline


View the Troika Documentation


Build Status

Netlify Status

Development

This repository is a Lerna monorepo with 13 packages. For the best development experience, use the VS Code multi-root workspace:

# Clone the repository
git clone https://github.com/protectwise/troika.git
cd troika

# Install dependencies and bootstrap packages
npm install

# Open in VS Code with workspace configuration
code troika.code-workspace

Why Use the Workspace?

  • Per-package IntelliSense with correct import resolution
  • Build/test tasks accessible via Ctrl+Shift+B / Ctrl+Shift+T
  • Debugging configs for Jest tests and Examples dev server
  • Organized sidebar with emoji-labeled package folders

See VS_CODE_WORKSPACE_GUIDE.md for full details.

Build and Test

# Build all packages
npm run build

# Build examples
npm run build-examples

# Run tests
npm test

# Run examples dev server
npm run examples

See BUILD_NOTES.md for release process and publishing.

About

A JavaScript framework for interactive 3D and 2D visualizations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%