UNPKG

model2image

Version:

Use model2image to display thumbnails of 3D models on a web page without requiring plugins or external programs.

26 lines (17 loc) 556 B
# model2image [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) Use model2image to display thumbnails of 3D models on a web page without requiring plugins or external programs. ## Install ```bash npm install model2image ``` ## Usage ```javascript import { model2image } from 'model2image'; async function modelToImage() { const imageUrl = await model2image(modelUrl); console.log(imageUrl); } ``` ## License [MIT](LICENSE)