Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google/model-viewer

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google/model-viewer

Easily display interactive 3D models on the web and in AR!

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is @google/model-viewer?

@google/model-viewer is a web component that allows you to easily display and interact with 3D models on the web. It supports various features such as AR (Augmented Reality) viewing, lighting controls, and animation.

What are @google/model-viewer's main functionalities?

Basic 3D Model Display

This feature allows you to display a 3D model with basic controls such as auto-rotation and camera controls.

<model-viewer src="path/to/your/model.glb" alt="A 3D model" auto-rotate camera-controls></model-viewer>

Augmented Reality (AR) Support

This feature enables AR support, allowing users to view the 3D model in augmented reality using various AR modes.

<model-viewer src="path/to/your/model.glb" alt="A 3D model" ar ar-modes="webxr scene-viewer quick-look" camera-controls></model-viewer>

Lighting and Environment

This feature allows you to add realistic lighting and environment settings to your 3D model, enhancing its visual appearance.

<model-viewer src="path/to/your/model.glb" alt="A 3D model" environment-image="path/to/your/environment.hdr" exposure="1" shadow-intensity="1" camera-controls></model-viewer>

Animations

This feature supports animations within the 3D model, allowing you to play specific animations automatically.

<model-viewer src="path/to/your/model.glb" alt="A 3D model" animation-name="Run" autoplay camera-controls></model-viewer>

Other packages similar to @google/model-viewer

Keywords

FAQs

Package last updated on 23 Oct 2024

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