three打造慌忙中行走的圆柱动画效果
代码语言:html
所属分类:三维
代码描述:three打造慌忙中行走的圆柱动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { display: grid; height: 100vh; } canvas { width: 100%; height: 100vh; display: block; cursor: -webkit-grab; cursor: grab; position: fixed; top: 0; left: 0; } a { position: relative; z-index: 1; width: -webkit-min-content; width: -moz-min-content; width: min-content; padding: 5vmin; font-family: 'Amatic SC', cursive; font-size: 2em; color: black; } </style> </head> <body translate="no"> <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.0/gsap.min.js'></script> <script type="module"> import * as $ from '//unpkg.com/three@0.118.3/build/three.module.js'; import { OrbitControls } from '//unpkg.com/three@0.118.3/examples/jsm/controls/OrbitControls.js'; import { EffectComposer } from '//unpkg.com/three@0.118.3/examples/jsm/postprocessing/EffectComposer'; import { RenderPass } from '//unpkg.com/three@0.118.3/examples/jsm/postprocessing/RenderPass'; import { UnrealBloomPas.........完整代码请登录后点击上方下载按钮下载查看
网友评论0