最新下载
24小时阅读排行榜
- 1 mysql在Linux中配置时间同步与时区设置
- 2 mysql登录失败如何排查_mysql账号异常解决方法
- 3 php如何判断数组下标是否存在_php存在性检测函数法【教程】
- 4 Golang简单工厂与抽象工厂有什么区别_工厂模式差异说明
- 5 mysql中WHERE子句的使用与多条件查询
- 6 javascript如何创建与操作节点?【教程】
- 7 c++中functor仿函数是什么_c++函数对象用法【进阶】
- 8 mysql并发更新同一行数据怎么办_mysql冲突解决思路
- 9 javascript在哪里运行_如何设置开发环境【教程】
- 10 javascript事件循环是什么_宏任务和微任务如何执行【教程】
- 11 行锁和表锁有什么区别_mysql锁机制解析
- 12 XSLT 3.0的新特性在数据映射中的应用
- 13 如何给XML文件添加数字签名 C#实现XML签名
- 14 XML Catalog是什么 如何用它来解析本地DTD/XSD文件
- 15 PowerShell如何监控文件系统事件并调用API上传XML
最新教程
-
- Node.js 教程
- 16108 2025-08-28
-
- CSS3 教程
- 1546518 2025-08-27
-
- Rust 教程
- 23244 2025-08-27
-
- Vue 教程
- 25716 2025-08-22
-
- PostgreSQL 教程
- 22198 2025-08-21
-
- Git 教程
- 9185 2025-08-21
$( document ).ready( function() {
//------------------------------------------------------------------------
//Settings - params for WarpDrive
var settings = {
width: 480,
height: 480,
autoResize: false,
autoResizeMinWidth: null,
autoResizeMaxWidth: null,
autoResizeMinHeight: null,
autoResizeMaxHeight: null,
addMouseControls: true,
addTouchControls: true,
hideContextMenu: true,
starCount: 6666,
starBgCount: 2222,
starBgColor: { r:255, g:255, b:255 },
starBgColorRangeMin: 10,
starBgColorRangeMax: 40,
starColor: { r:255, g:255, b:255 },
starColorRangeMin: 10,
starColorRangeMax: 100,
starfieldBackgroundColor: { r:0, g:0, b:0 },
starDirection: 1,
starSpeed: 20,
starSpeedMax: 200,
starSpeedAnimationDuration: 2,
starFov: 300,
starFovMin: 200,
starFovAnimationDuration: 2,
starRotationPermission: true,
starRotationDirection: 1,
starRotationSpeed: 0.0,
starRotationSpeedMax: 1.0,
starRotationAnimationDuration: 2,
starWarpLineLength: 2.0,
starWarpTunnelDiameter: 100,
starFollowMouseSensitivity: 0.025,
starFollowMouseXAxis: true,
starFollowMouseYAxis: true
};
多款漂亮炫目的通过配置参数进行灵活的配置,可用鼠标进行互动的HTML5 Canvas星空背景动画特效。
