06 2022 档案

摘要:1.首先安装gsap npm install gsap 2.引入gsap动画库 import gsap from "gsap" 3.使用 <script setup> //导入Three.js import * as Three from 'three' //导入轨道控制器 import { Orb 阅读全文
posted @ 2022-06-30 15:59 Code_Lzh 阅读(1731) 评论(0) 推荐(0) 编辑
摘要:Cesium接入在线地图只需在创建时将imageryProvider属性换为在线地图的地址即可 创建: const viewer = new Cesium.Viewer("cesiumContainer", { terrainProvider: Cesium.createWorldTerrain() 阅读全文
posted @ 2022-06-28 11:42 Code_Lzh 阅读(1148) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-06-23 10:32 Code_Lzh 阅读(105) 评论(0) 推荐(0) 编辑
摘要:<script setup> //导入Three.js import * as Three from 'three' //导入轨道控制器 import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls' import 阅读全文
posted @ 2022-06-22 16:21 Code_Lzh 阅读(294) 评论(0) 推荐(1) 编辑
摘要:创建vue项目 1.创建项目 npm init vite@latest 输入项目名称,选择vue 2. 安装依赖 npm install 3.运行 npm run dev 安装Three.js 1.首先利用npm安装three.js,具体操作代码如下: npm install three12.接下来 阅读全文
posted @ 2022-06-22 16:19 Code_Lzh 阅读(896) 评论(0) 推荐(0) 编辑
摘要:```` Document ```` 阅读全文
posted @ 2022-06-11 10:56 Code_Lzh 阅读(543) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-06-11 10:21 Code_Lzh 阅读(67) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示