Javascript 3d Model Viewer. It s a project written entirely in javascript and uses the html canvas. They use html5 and webgl.
Preparescene viewerelement modelplayer. Import modelplayer from js 3d model viewer const viewerelement document. They both have a free version.
Import modelplayer from js 3d model viewer.
The viewer api lets you build web apps on top of sketchfab s 3d viewer. Var viewerelement document getelementbyid viewer var scene modelplayer preparescene viewerelement modelplayer loadobject scene assets sample obj var fullscreenbutton document getelementbyid fullscreen button fullscreenbutton addeventlistener click function modelplayer gofullscreen viewerelement. Javascript 3d model viewer. Then run this snippet after the html of your page is loaded.