最新下载
西山居首页jQuery焦点图代码
CSS3扁平化风格联系表单
24小时阅读排行榜
- 1 php动态网站开发怎样过滤敏感词_PHP动态网站敏感词过滤法【方案】
- 2 javascript怎样进行内存泄漏排查【教程】
- 3 如何使用Golang实现Web日志收集_Golang Web日志管理技巧
- 4 SQL 分表后查询为何变复杂?
- 5 Linux SSH 安全加固最佳实践
- 6 如何在Golang中处理字符串拆分_Golang strings.Split与Join技巧
- 7 javascript的let和const是什么_与var有什么区别【教程】
- 8 javascript的类如何定义_与构造函数有什么区别【教程】
- 9 javascript对象如何创建_访问属性和方法的技巧是什么【教程】
- 10 Golang Web项目如何处理错误返回_统一错误处理方案
- 11 如何在 PHP 中按字符首次出现顺序对元音与辅音分别排序
- 12 javascript如何绘制图表与图形?【教程】
- 13 箭头函数在javascript中有什么不同_何时使用它们【教程】
- 14 javascript的展开运算符是什么_有哪些实用场景【教程】
- 15 php数组怎样筛选含换行符项_php换行符数组筛选法【教程】
最新教程
-
- Node.js 教程
- 16082 2025-08-28
-
- CSS3 教程
- 1546459 2025-08-27
-
- Rust 教程
- 23226 2025-08-27
-
- Vue 教程
- 25695 2025-08-22
-
- PostgreSQL 教程
- 22182 2025-08-21
-
- Git 教程
- 9171 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星空背景动画特效。
