【文件属性】:
文件名称:slant-photo:使用 Three.js 构建的最小 360 度照片查看器
文件大小:2.28MB
文件格式:ZIP
更新时间:2021-06-25 13:47:46
JavaScript
斜照
使用构建的最小 360 度全景照片查看器。
现场示例: : 。
例子
var SlantPhoto = require ( 'slant-photo' ) ;
var el = document . querySelector ( '.photo' ) ;
var photo = new SlantPhoto ( el ) ;
photo . src ( '/somephoto.jpg' ) ;
photo . width ( window . innerWidth ) ;
photo . height ( window . innerHeight ) ;
photo . render ( ) ;
执照
麻省理工学院
【文件预览】:
slant-photo-master
----index.js(7KB)
----package.json(677B)
----test()
--------index.js(6KB)
----example.html(650B)
----component.json(638B)
----Readme.md(435B)
----example.js(585B)
----.gitignore(33B)
----History.md(192B)
----Makefile(653B)
----michigan-ave.jpg(2.31MB)