05 2022 档案
摘要:import * as THREE from 'three'; import { OrbitControls } from "three/examples/jsm/controls/OrbitControls"; import { RectAreaLightHelper } from "three/
阅读全文
摘要:import * as THREE from 'three'; import { OrbitControls } from "three/examples/jsm/controls/OrbitControls"; /** * 3d helper 辅助对象 * https://threejs.org/
阅读全文
摘要:import * as THREE from 'three'; import { OrbitControls } from "three/examples/jsm/controls/OrbitControls"; /** * 3d 几何体 * https://threejs.org/docs/ind
阅读全文
摘要:import * as THREE from 'three'; import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader"; import { OrbitControls } from "three/examples/jsm/
阅读全文
摘要:import * as THREE from 'three'; import WebGL from "three/examples/jsm/capabilities/WebGL"; /** * 3d 根据文档学习 2 - 画线 * https://threejs.org/docs/index.htm
阅读全文
摘要:import * as THREE from 'three'; import WebGL from "three/examples/jsm/capabilities/WebGL"; /** * 3d 根据文档学习 1 - 起步 * 绘制过程 * 兼容性检查 * https://threejs.org
阅读全文
摘要:接 yii框架安装的那篇博文:https://www.cnblogs.com/guofan/p/9909158.html 这里直接将后端代码整个放到 xampp 的 htdocs 文件夹下: 这里有的文件你可能没有,不要慌,后边都会有~ 启动 apache 服务器,访问 8080 端口: 咦,和之前
阅读全文
摘要:import * as THREE from 'three'; // 视图旋转控件 import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'; // 拖拽控件 import { DragControls } f
阅读全文
摘要:首先需要 linux 虚拟机启动服务器,我这里用的是 tomcat ,放的内容是前端界面。 没有设置 linux 的网络相关 使用个简单的方式来实现该效果: 1、将 windows 的端口 4202 映射到 linux 的服务器端口 8080 上(取不用的端口配置映射即可) 2、将 windows
阅读全文
摘要:import * as THREE from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'; /** * 3d 学习 */ export class ThreeStudy { co
阅读全文
摘要:import { Pieces } from "../@share/pieces"; /** * 类项目中的xy折线图 * demo https://echarts.apache.org/examples/zh/editor.html?c=dynamic-data2 * 文档 https://ech
阅读全文
摘要:import { Pieces } from "../@share/pieces"; /** * 柱形图 * xy 轴可交换 * 柱体默认颜色,亦可设置区间颜色 * 栅格分度数配置 * 数值显示位置配置 inside | top */ export class ColumnChart { TYPE_
阅读全文
摘要:记录工作中用到的命令: cd (切换目录) cd是Change Directory的缩写,这是用来变换工作目录的命令。 cd [相对路径或绝对路径] #使用 mkdir 命令创建 runoob 目录 [root@www ~]# mkdir runoob #使用绝对路径切换到 runoob 目录 [r
阅读全文
摘要:tomcat 搭好,每次启动都要cd 到 bin 目录去执行 startup.sh 未免太过麻烦,想简单化一点,配置成快捷命令。 了解了一下 init.d: init.d 目录中存放的是一系列系统服务的管理(启动与停止)脚本。 可以通过在 init.d 里创建脚本来管理服务。 通过命令来创建脚本:
阅读全文
摘要:linux 虚拟机都安装好了,当然要好好玩一玩了! windows 本地有一个 测试 demo 的项目 代码编译好待用。 安装服务器必要项: 下载 tomcat tar 包:https://tomcat.apache.org/download-10.cgi 解压进入bin目录启动服务:./start
阅读全文
摘要:main.js const { app, BrowserWindow } = require('electron') function createWindow () { // 创建浏览器窗口 let win = new BrowserWindow({ width: 800, height: 600
阅读全文
摘要:虚拟机安装讲的非常详细清楚,这里不多说 https://zhuanlan.zhihu.com/p/41940739 下载 node 包,可以用命令,也可以直接 windows 下载 tar 包再复制过去: 命令类似这种: wget https://nodejs.org/dist/v12.18.3/n
阅读全文
摘要:demo:https://echarts.apache.org/examples/zh/editor.html?c=dynamic-data2 文档:https://echarts.apache.org/zh/option.html#series-line 根据项目中使用的折线图,整理可配置属性:
阅读全文
摘要:今天按官网 demo 画的折线图,tooltip 死活出不来: https://echarts.apache.org/examples/zh/editor.html?c=dynamic-data2 本地: tooltip 配置项代码一样,没有动,界面上却发现了2者的不同: 官网demo 上,canv
阅读全文
摘要:用仪表盘做个 demo 玩玩 代码: import { Pieces } from "./share/pieces"; /** * 通过对仪表盘样式的整理 * 做个钟表 demo 验证掌握情况 * 文档:https://echarts.apache.org/zh/option.html#series
阅读全文
摘要:项目里有仪表盘,整理下样式配置: 代码: import { Pieces } from "./share/pieces"; /** * 仪表盘 * 文档:https://echarts.apache.org/zh/option.html#series-gauge.axisLine * demo:ht
阅读全文