New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tridi

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tridi

JavaScript 360 3D Product Viewer

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
46
decreased by-37.84%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 30 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc