三维双面多角度折射不同图片效果

代码语言:html

所属分类:三维

代码描述:三维双面多角度折射不同图片效果

代码标签: 折射 不同 图片 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
canvas {
    width: 100%;
    height: 100vh;
    display: block;
    cursor: -webkit-grab;
    cursor: grab;
}

body {
    height: 100vh;
}

a {
    position: fixed;
    top: 0;
    left: 0 ;
    padding: 5vmin;
}
</style>

</head>
<body translate="no">
<script type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/gsap.3.3.1.js"></script>
<script type="module">
import * as $ from '//unpkg.com/three@0.120.0/build/three.module.js'
import { OrbitControls } from '//unpkg.com/three@0.120.0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0