最新下载
24小时阅读排行榜
- 1 dataclass 如何让 field(default_factory) 支持依赖注入
- 2 systemd-coredump 如何设置保留完整 core 文件且压缩存储
- 3 Go语言中for循环内闭包捕获变量的常见陷阱与解决方案
- 4 Python 元类的设计理念与应用场景
- 5 PostgreSQL 如何用 pg_prewarm 预热表到 shared_buffers
- 6 Linux 内存分配失败时发生了什么?
- 7 pandas 如何在 merge 时处理重复键的多种策略
- 8 Go TCP 连接调用 File() 后无法正常关闭的问题解析与修复方案
- 9 html个人页面怎么加loading_html加载动画编写【体验】
- 10 Python 静态方法、类方法与实例方法区别
- 11 如何实现一个只在第一次访问时计算的属性(lazy property)
- 12 html5布局代码遮罩层覆盖布局_html5布局代码遮罩层法【技巧】
- 13 html5滤镜如何让轮廓发光_html5轮廓发光滤镜法【步骤】
- 14 html5播放rtsp怎么鉴权_html5rtsp流鉴权实现法【安全】
- 15 html5播放rtsp画面卡顿为何_html5解决rtsp卡顿技巧【排障】
最新教程
-
- Node.js 教程
- 16215 2025-08-28
-
- CSS3 教程
- 1546768 2025-08-27
-
- Rust 教程
- 23350 2025-08-27
-
- Vue 教程
- 25804 2025-08-22
-
- PostgreSQL 教程
- 22288 2025-08-21
-
- Git 教程
- 9265 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星空背景动画特效。
