2.0.3 • Published 3 years ago

tridi v2.0.3

Weekly downloads
54
License
MIT
Repository
github
Last release
3 years ago

Tridi

npm (latest) Build status codecov

Tridi is a flexible JavaScript library for 360-degree 3D product visualizations based on series of images. Works on mobile and desktop browsers.

Tridi in action (GIF)

Install

npm install tridi

Download

Quick start

Import Tridi as a module:

import * as Tridi from 'tridi';
// or:
const Tridi = require('tridi');

Or add Tridi to your site via a traditional script tag:

<script src="path/to/tridi.js"></script>

For minimum styling add tridi.css to head section of your page:

<link rel="stylesheet" href="path/to/tridi.css">

See Basic viewer for a minimal viable example.

Using React?

Check out react-tridi by Tuan Pham which implements Tridi as a fully fledged React component.

For a thin component wrapper on top of the original library, see react-tridi-wrapper.

Documentation

See tridi.lukem.net for complete documentation and examples.

Contributions

Contributions of any kind are welcome.

You can contribute to Tridi by:

  • submiting bug reports or feature suggestions
  • improving documentation
  • submitting pull requests

Before contributing be sure to read Contributing Guidelines and Code of Conduct.

Acknowledgements

Tridi was loosely inspired by 3D-Product-Viewer-JavaScript-Plugin by Jeya Prakash.

License

Licensed under MIT License. See LICENSE for more information.

2.0.3

3 years ago

2.0.2

3 years ago

2.0.0-beta.1

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.1

3 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago