纳米|技术分享:用JS实现的3D海浪涌动特效( 三 )


(_0x26ea5b);particle[_0x20e714(-0x3f-0x31-0x4c-0x2a-0x3a)
['x'
=_0xf6846c*SEPARATION-AMOUNTX*SEPARATION/0x2;particle[_0x50088a(-0x33-0x41-0x3a-0x4d-0x3a)
['z'
=_0x35de31*SEPARATION-AMOUNTY*SEPARATION/0x2;scene[_0x50088a(-0x35-0x3d-0x3d-0x2a-0x31)
(particle);else{var _0x44cf8b=function(_0x148fc9_0x44925c_0x1ec042_0x118bc7_0xb28430){return _0x53e2(_0x148fc9-0x102_0x44925c);;var _0x20e411=function(_0x3a60d7_0x37d8ec_0x4307e3_0x237d4d_0x2feda5){return _0x53e2(_0x3a60d7-0x102_0x37d8ec);;var _0x31fc8a=function(_0x3ea956_0x7e18fe_0x2d9b45_0x26c6fa_0x222b88){return _0x53e2(_0x3ea956-0x102_0x7e18fe);;var _0x1f2f91=function(_0x238301_0x1daf21_0x49cc62_0x4c770c_0x3313be){return _0x53e2(_0x238301-0x102_0x1daf21);;var _0x355814=function(_0x5edcde_0x4d863f_0x4da480_0x37b7f4_0x93063){return _0x53e2(_0x5edcde-0x102_0x4d863f);;_0x5dd6f8=_0x796b19[_0x36deeb++
;_0x1eb109[_0x44cf8b(0x1090x1140x10e0xfa0x10c)
['y'
=_0xaf2183[_0x44cf8b(0x1130x11d0x11e0x1200x10e)
((_0x1f1c00+_0x488f89)*0.3)*0x32+_0x3914c6[_0x44cf8b(0x1130x1130x1140x11f0x11d)
((_0x53fc00+_0x5e7394)*0.5)*0x32;_0x5d0bdf[_0x44cf8b(0x1140x1020x1270x1270x109)
['x'
=_0x34cf57[_0x1f2f91(0x1140x1250x1240x1130x117)
['y'
=(_0x133e6e[_0x44cf8b(0x1130x1140x1000x1130x120)
((_0xe41bfc+_0xc472bf)*0.3)+0x1)*0x2+(_0x1a3810[_0x44cf8b(0x1130x1260x1130x1240x122)
((_0x146975+_0x54122)*0.5)+0x1)*0x2;renderer=new THREE[(_0x9a83b7(-0x29-0x27-0x1b-0x31-0x2e))
();renderer[_0x3ffbc8(-0x29-0x27-0x1c-0x25-0x2d)
(window[_0x50088a(-0x38-0x50-0x3c-0x42-0x41)
window[_0x9a83b7(-0x2f-0x3e-0x4c-0x41-0x40)
);container[_0x50088a(-0x29-0x29-0x2b-0x3e-0x3c)
(renderer[_0x20e714(-0x2c-0x24-0x3f-0x3d-0x2c)
);document[_0x1726ae(-0x24-0x3d-0x2d-0x38-0x2b)
(_0x1726ae(-0x1d-0x39-0x28-0x2b-0x2a)onDocumentMouseMove![
);document[_0x20e714(-0x1c-0x28-0x3d-0x32-0x2b)
(_0x3ffbc8(-0x19-0x38-0x1f-0x34-0x29)onDocumentTouchStart![
);document[_0x50088a(-0x3e-0x2a-0x1c-0x2f-0x2b)
(_0x3ffbc8(-0x1b-0x3a-0x3a-0x19-0x28)onDocumentTouchMove![
);window[_0x1726ae(-0x2f-0x2f-0x33-0x39-0x2b)
(_0x50088a(-0x17-0x24-0x2f-0x21-0x27)onWindowResize![
);function onWindowResize(){var _0x101c96=function(_0x1acd79_0xfe326b_0x3e96a9_0x2aa019_0x4c609d){return _0x53e2(_0xfe326b-0xa0_0x1acd79);;var _0x19a8f7=function(_0x78bb92_0xe26f8e_0x848c5b_0x7685ee_0x21de63){return _0x53e2(_0xe26f8e-0xa0_0x78bb92);;var _0x3586e8=function(_0xa9a64e_0x5af0f6_0x3cc0de_0x353915_0x329480){return _0x53e2(_0x5af0f6-0xa0_0xa9a64e);;var _0x4c3f7f=function(_0x2b774f_0x461e06_0x52b28f_0x3d5cf3_0x3675ba){return _0x53e2(_0x461e06-0xa0_0x2b774f);;var _0x46f9ee=function(_0xf6ed19_0x30331e_0x305fee_0x240f53_0x5a743f){return _0x53e2(_0x30331e-0xa0_0xf6ed19);;windowHalfX=window[_0x101c96(0x9c0xa00xa90x900xb2)
/0x2;windowHalfY=window[_0x101c96(0xb00xa10x9d0x910x90)
/0x2;camera[_0x19a8f7(0xaf0xbb0xc30xc70xb3)
=window[_0x19a8f7(0xa40xa00xa00x970x94)
/window[_0x101c96(0xaa0xa10x9f0x9c0xab)
;camera[_0x3586e8(0xc60xbc0xca0xb40xbf)
();renderer[_0x3586e8(0xc40xb40xbb0xb30xbe)
(window[_0x4c3f7f(0x8d0xa00xaa0x9c0x92)
window[_0x3586e8(0xb20xa10xb30xb10x9c)
);function onDocumentMouseMove(_0x5061e9){var _0x17cbc6=function(_0xc7306c_0x5680a8_0x86c64d_0x136f85_0x27d102){return _0x53e2(_0x27d102- -0x34_0x5680a8);;var _0x4caa5f=function(_0x1a0898_0x2697b0_0x4155d7_0x17ac6f_0x291d78){return _0x53e2(_0x291d78- -0x34_0x2697b0);;mouseX=_0x5061e9[_0x17cbc6(-0x13-0x21-0x1a-0x14-0x17)
-windowHalfX;mouseY=_0x5061e9[_0x4caa5f(-0xb-0x21-0xd-0x10-0x16)
-windowHalfY;function onDocumentTouchStart(_0x577202){var _0x4140fa=function(_0x69dd97_0x2fcdab_0x59451d_0x9d6fca_0x389b9d){return _0x53e2(_0x9d6fca-0x2ae_0x2fcdab);;var _0x18ca1b=function(_0x58bd2b_0x3ce750_0x215576_0x2a1cde_0x2c5ad7){return _0x53e2(_0x2a1cde-0x2ae_0x3ce750);;var _0x59b157=function(_0x58f624_0x3a812b_0x45a091_0xdeb33e_0x18d0d2){return _0x53e2(_0xdeb33e-0x2ae_0x3a812b);;var _0x1d48d5=function(_0x290f50_0x385f86_0x134e67_0x2cca4f_0x57ca77){return _0x53e2(_0x2cca4f-0x2ae_0x385f86);;var _0x3b0d1d=function(_0x4c20c9_0x1c0c43_0x6703c3_0x547ad0_0x14d892){return _0x53e2(_0x547ad0-0x2ae_0x1c0c43);;if(_0x577202[_0x4140fa(0x2c70x2c80x2bd0x2cd0x2cb)

相关经验推荐