上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 以 JavaScript 语言为主。 物理引擎:matter.js 开源仓库: https://github.com/liabru/matter-js 了解过时物理引擎:Box2DWeb,虽然 JS 语言没有在更新维护,但是 C++ 版还在,https://github.com/erincatto/ 阅读全文
posted @ 2023-10-09 15:46 辰梦starDream 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 代码 function color(color) { return (color += "0123456789abcdef"[Math.floor(Math.random() * 6)]) && (color.length == 6 ? color : arguments.callee(color) 阅读全文
posted @ 2023-10-08 23:07 辰梦starDream 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 链接地址:npmjs.com con-colors 安装依赖 yarn add con-colors 使用 导入: import { print } from "con-colors"; 使用: print.succ("成功的消息"); print.err("失败的消息") 例子: import { 阅读全文
posted @ 2023-10-06 20:40 辰梦starDream 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 首先初始化: npm init 文件夹结构 .gitignore Git 库忽略文件清单.npmignore 不包括在 npm 注册库中的文件清单LECENSE 模块的授权文件README.md 说明文档bin 保存模块可执行文件的文件夹doc 保存模块文档的文件夹example 保存模块实际示例l 阅读全文
posted @ 2023-10-06 19:52 辰梦starDream 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 环境: NodeJssocket.io 4.7.2 安装依赖 yarn add socket.io 创建服务器 引入文件 特别注意: 涉及到 colors 的代码,请采取 console.log() 打印 // 基础老三样 import http from "http"; import fs fro 阅读全文
posted @ 2023-10-06 12:01 辰梦starDream 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 视频格式说明: AVI(画面损失较少,文件格式太大,渲染时间太长)- 标清H264(MP4) 画面清晰,体积适中预设支持很多格式常用mov 格式可以调节滤镜、视频透明底FLV 常见网络格式清晰度差,体积小支持通道 一般选择 H264 即可。 如果是样片,可以选择 FLV,清晰度较差的。 阅读全文
posted @ 2023-10-05 17:22 辰梦starDream 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 效果演示: 【看 welcome to here 部分】 环境: Node.js 18.16.0 正文部分 我们可以通过 console.log() 在终端打印字符串。 只要在我们的字符串前面加上转义字符即可。 差不多就是下面这样的结构: 用代码就是: console.log("\x1B[33m\x 阅读全文
posted @ 2023-10-05 15:17 辰梦starDream 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 本章为超级浓缩版,文章过于短,方便复习使用哦~ 文章目录 1. 简单引入 vue.js2. 指令2.1 事件绑定指令 v-on (简写 @)2.2 内容渲染指令2.3 双向绑定指令 v-model2.4 属性绑定指令 v-bind (简写 : )2.5 条件渲染指令2.6 循环指令 v-for 3. 阅读全文
posted @ 2023-10-04 10:19 辰梦starDream 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. maven 安装 配置安装 路径 maven 下载位置: D:\software\apache-maven-3.8.6 默认仓库位置: C:\Users\star-dream\.m2\repository 【已更改】 本地仓库设置为:D:\software\apache-maven-3.8.6 阅读全文
posted @ 2023-10-04 09:16 辰梦starDream 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 初始化: yarn init 使用命令: yarn add mongodb 新建 index.js 文件: const MongoClient = require('mongodb').MongoClient; const db_name = "fly_articleDb"; const url = 阅读全文
posted @ 2023-10-03 12:05 辰梦starDream 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页