mrdoob / model-tag

Custom Elements for easily displaying 3D models.

Home Page:https://mrdoob.github.io/model-tag/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<model-tag>

Custom HTML Elements for displaying 3D models.

Demo: https://mrdoob.github.io/model-tag/ (Browser with Custom Elements support required)

Usage

Add this in your page's <head>.

<script src="model-gltf.js"></script>

Use <model-gltf> to load and display your file.

<model-gltf src="example.gltf"/>

Same thing with model-obj, model-stl, model-three, ...

About

Custom Elements for easily displaying 3D models.

https://mrdoob.github.io/model-tag/

License:MIT License


Languages

Language:JavaScript 96.4%Language:HTML 3.6%