【文件属性】:
文件名称:HTML5 Canvas的多款星空背景动画特效.zip
文件大小:126KB
文件格式:ZIP
更新时间:2022-07-31 04:27:32
js特效-HTML5 Canvas的多款星空背景动画特效
$( document ).ready( function() {
//------------------------------------------------------------------------
//Settings - params for WarpDrive
var settings = {
width: 480,
height: 480,
autoResize: false,
autoResi*Width: null,
autoResizeMaxWidth: null,
autoResi*Height: 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星空背景动画特效。
【文件预览】:
HTML5 Canvas的多款星空背景动画特效
----index7.html(5KB)
----index4.html(4KB)
----index6.html(4KB)
----index2.html(4KB)
----index3.html(4KB)
----index8.html(5KB)
----js()
--------jquery.warpdrive.js(27KB)
--------jquery-1.11.0.min.js(94KB)
--------jquery.warpdrive.min.js(9KB)
----php中文网免费下载站.txt(219B)
----css()
--------normalize.css(2KB)
--------zzsc-demo.css(6KB)
----index.html(3KB)
----index5.html(4KB)
----php中文网下载站.url(114B)
----img()
--------Alien_logo.png(67KB)