@tsparticles/all 3.0.3 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1011.min.js +2 -0
- package/1011.min.js.LICENSE.txt +1 -0
- package/1030.min.js +2 -0
- package/1030.min.js.LICENSE.txt +1 -0
- package/1122.min.js +2 -0
- package/1122.min.js.LICENSE.txt +1 -0
- package/1147.min.js +2 -0
- package/1147.min.js.LICENSE.txt +1 -0
- package/1163.min.js +2 -0
- package/1163.min.js.LICENSE.txt +1 -0
- package/1188.min.js +2 -0
- package/1188.min.js.LICENSE.txt +1 -0
- package/1196.min.js +2 -0
- package/1196.min.js.LICENSE.txt +1 -0
- package/1264.min.js +2 -0
- package/1264.min.js.LICENSE.txt +1 -0
- package/1299.min.js +2 -0
- package/1299.min.js.LICENSE.txt +1 -0
- package/1308.min.js +2 -0
- package/1308.min.js.LICENSE.txt +1 -0
- package/1317.min.js +2 -0
- package/1317.min.js.LICENSE.txt +1 -0
- package/1332.min.js +2 -0
- package/1332.min.js.LICENSE.txt +1 -0
- package/1364.min.js +2 -0
- package/1364.min.js.LICENSE.txt +1 -0
- package/1472.min.js +2 -0
- package/1472.min.js.LICENSE.txt +1 -0
- package/1490.min.js +2 -0
- package/1490.min.js.LICENSE.txt +1 -0
- package/1492.min.js +2 -0
- package/1492.min.js.LICENSE.txt +1 -0
- package/1513.min.js +2 -0
- package/1513.min.js.LICENSE.txt +1 -0
- package/1539.min.js +2 -0
- package/1539.min.js.LICENSE.txt +1 -0
- package/1705.min.js +2 -0
- package/1705.min.js.LICENSE.txt +1 -0
- package/1708.min.js +2 -0
- package/1708.min.js.LICENSE.txt +1 -0
- package/1769.min.js +2 -0
- package/1769.min.js.LICENSE.txt +1 -0
- package/1808.min.js +2 -0
- package/1808.min.js.LICENSE.txt +1 -0
- package/1810.min.js +2 -0
- package/1810.min.js.LICENSE.txt +1 -0
- package/1831.min.js +2 -0
- package/1831.min.js.LICENSE.txt +1 -0
- package/1912.min.js +2 -0
- package/1912.min.js.LICENSE.txt +1 -0
- package/1916.min.js +2 -0
- package/1916.min.js.LICENSE.txt +1 -0
- package/1952.min.js +2 -0
- package/1952.min.js.LICENSE.txt +1 -0
- package/196.min.js +2 -0
- package/196.min.js.LICENSE.txt +1 -0
- package/197.min.js +2 -0
- package/197.min.js.LICENSE.txt +1 -0
- package/1982.min.js +2 -0
- package/1982.min.js.LICENSE.txt +1 -0
- package/208.min.js +2 -0
- package/208.min.js.LICENSE.txt +1 -0
- package/2081.min.js +2 -0
- package/2081.min.js.LICENSE.txt +1 -0
- package/2121.min.js +2 -0
- package/2121.min.js.LICENSE.txt +1 -0
- package/2124.min.js +2 -0
- package/2124.min.js.LICENSE.txt +1 -0
- package/2173.min.js +2 -0
- package/2173.min.js.LICENSE.txt +1 -0
- package/2200.min.js +2 -0
- package/2200.min.js.LICENSE.txt +1 -0
- package/2227.min.js +2 -0
- package/2227.min.js.LICENSE.txt +1 -0
- package/2281.min.js +2 -0
- package/2281.min.js.LICENSE.txt +1 -0
- package/231.min.js +2 -0
- package/231.min.js.LICENSE.txt +1 -0
- package/2397.min.js +2 -0
- package/2397.min.js.LICENSE.txt +1 -0
- package/2407.min.js +2 -0
- package/2407.min.js.LICENSE.txt +1 -0
- package/2486.min.js +2 -0
- package/2486.min.js.LICENSE.txt +1 -0
- package/255.min.js +2 -0
- package/255.min.js.LICENSE.txt +1 -0
- package/256.min.js +2 -0
- package/256.min.js.LICENSE.txt +1 -0
- package/2580.min.js +2 -0
- package/2580.min.js.LICENSE.txt +1 -0
- package/2628.min.js +2 -0
- package/2628.min.js.LICENSE.txt +1 -0
- package/2720.min.js +2 -0
- package/2720.min.js.LICENSE.txt +1 -0
- package/2765.min.js +2 -0
- package/2765.min.js.LICENSE.txt +1 -0
- package/2870.min.js +2 -0
- package/2870.min.js.LICENSE.txt +1 -0
- package/2890.min.js +2 -0
- package/2890.min.js.LICENSE.txt +1 -0
- package/2899.min.js +2 -0
- package/2899.min.js.LICENSE.txt +1 -0
- package/290.min.js +2 -0
- package/290.min.js.LICENSE.txt +1 -0
- package/294.min.js +2 -0
- package/294.min.js.LICENSE.txt +1 -0
- package/2946.min.js +2 -0
- package/2946.min.js.LICENSE.txt +1 -0
- package/3054.min.js +2 -0
- package/3054.min.js.LICENSE.txt +1 -0
- package/3134.min.js +2 -0
- package/3134.min.js.LICENSE.txt +1 -0
- package/3141.min.js +2 -0
- package/3141.min.js.LICENSE.txt +1 -0
- package/3196.min.js +2 -0
- package/3196.min.js.LICENSE.txt +1 -0
- package/3255.min.js +2 -0
- package/3255.min.js.LICENSE.txt +1 -0
- package/3261.min.js +2 -0
- package/3261.min.js.LICENSE.txt +1 -0
- package/3411.min.js +2 -0
- package/3411.min.js.LICENSE.txt +1 -0
- package/3457.min.js +2 -0
- package/3457.min.js.LICENSE.txt +1 -0
- package/3468.min.js +2 -0
- package/3468.min.js.LICENSE.txt +1 -0
- package/3473.min.js +2 -0
- package/3473.min.js.LICENSE.txt +1 -0
- package/3486.min.js +2 -0
- package/3486.min.js.LICENSE.txt +1 -0
- package/3517.min.js +2 -0
- package/3517.min.js.LICENSE.txt +1 -0
- package/3597.min.js +2 -0
- package/3597.min.js.LICENSE.txt +1 -0
- package/3610.min.js +2 -0
- package/3610.min.js.LICENSE.txt +1 -0
- package/3629.min.js +2 -0
- package/3629.min.js.LICENSE.txt +1 -0
- package/3648.min.js +2 -0
- package/3648.min.js.LICENSE.txt +1 -0
- package/3685.min.js +2 -0
- package/3685.min.js.LICENSE.txt +1 -0
- package/3699.min.js +2 -0
- package/3699.min.js.LICENSE.txt +1 -0
- package/3705.min.js +2 -0
- package/3705.min.js.LICENSE.txt +1 -0
- package/3733.min.js +2 -0
- package/3733.min.js.LICENSE.txt +1 -0
- package/3817.min.js +2 -0
- package/3817.min.js.LICENSE.txt +1 -0
- package/3837.min.js +2 -0
- package/3837.min.js.LICENSE.txt +1 -0
- package/384.min.js +2 -0
- package/384.min.js.LICENSE.txt +1 -0
- package/3862.min.js +2 -0
- package/3862.min.js.LICENSE.txt +1 -0
- package/3869.min.js +2 -0
- package/3869.min.js.LICENSE.txt +1 -0
- package/3904.min.js +2 -0
- package/3904.min.js.LICENSE.txt +1 -0
- package/4011.min.js +2 -0
- package/4011.min.js.LICENSE.txt +1 -0
- package/4037.min.js +2 -0
- package/4037.min.js.LICENSE.txt +1 -0
- package/4043.min.js +2 -0
- package/4043.min.js.LICENSE.txt +1 -0
- package/409.min.js +2 -0
- package/409.min.js.LICENSE.txt +1 -0
- package/4098.min.js +2 -0
- package/4098.min.js.LICENSE.txt +1 -0
- package/4116.min.js +2 -0
- package/4116.min.js.LICENSE.txt +1 -0
- package/4122.min.js +2 -0
- package/4122.min.js.LICENSE.txt +1 -0
- package/4127.min.js +2 -0
- package/4127.min.js.LICENSE.txt +1 -0
- package/4176.min.js +2 -0
- package/4176.min.js.LICENSE.txt +1 -0
- package/4245.min.js +2 -0
- package/4245.min.js.LICENSE.txt +1 -0
- package/4271.min.js +2 -0
- package/4271.min.js.LICENSE.txt +1 -0
- package/4314.min.js +2 -0
- package/4314.min.js.LICENSE.txt +1 -0
- package/4328.min.js +2 -0
- package/4328.min.js.LICENSE.txt +1 -0
- package/4342.min.js +2 -0
- package/4342.min.js.LICENSE.txt +1 -0
- package/4380.min.js +2 -0
- package/4380.min.js.LICENSE.txt +1 -0
- package/4396.min.js +2 -0
- package/4396.min.js.LICENSE.txt +1 -0
- package/4438.min.js +2 -0
- package/4438.min.js.LICENSE.txt +1 -0
- package/4515.min.js +2 -0
- package/4515.min.js.LICENSE.txt +1 -0
- package/4522.min.js +2 -0
- package/4522.min.js.LICENSE.txt +1 -0
- package/4547.min.js +2 -0
- package/4547.min.js.LICENSE.txt +1 -0
- package/4595.min.js +2 -0
- package/4595.min.js.LICENSE.txt +1 -0
- package/4662.min.js +2 -0
- package/4662.min.js.LICENSE.txt +1 -0
- package/4687.min.js +2 -0
- package/4687.min.js.LICENSE.txt +1 -0
- package/4717.min.js +2 -0
- package/4717.min.js.LICENSE.txt +1 -0
- package/4732.min.js +2 -0
- package/4732.min.js.LICENSE.txt +1 -0
- package/4737.min.js +2 -0
- package/4737.min.js.LICENSE.txt +1 -0
- package/4766.min.js +2 -0
- package/4766.min.js.LICENSE.txt +1 -0
- package/4794.min.js +2 -0
- package/4794.min.js.LICENSE.txt +1 -0
- package/482.min.js +2 -0
- package/482.min.js.LICENSE.txt +1 -0
- package/485.min.js +2 -0
- package/485.min.js.LICENSE.txt +1 -0
- package/4866.min.js +2 -0
- package/4866.min.js.LICENSE.txt +1 -0
- package/4922.min.js +2 -0
- package/4922.min.js.LICENSE.txt +1 -0
- package/4973.min.js +2 -0
- package/4973.min.js.LICENSE.txt +1 -0
- package/4994.min.js +2 -0
- package/4994.min.js.LICENSE.txt +1 -0
- package/5010.min.js +2 -0
- package/5010.min.js.LICENSE.txt +1 -0
- package/5034.min.js +2 -0
- package/5034.min.js.LICENSE.txt +1 -0
- package/5075.min.js +2 -0
- package/5075.min.js.LICENSE.txt +1 -0
- package/5092.min.js +2 -0
- package/5092.min.js.LICENSE.txt +1 -0
- package/5120.min.js +2 -0
- package/5120.min.js.LICENSE.txt +1 -0
- package/5171.min.js +2 -0
- package/5171.min.js.LICENSE.txt +1 -0
- package/5243.min.js +2 -0
- package/5243.min.js.LICENSE.txt +1 -0
- package/5245.min.js +2 -0
- package/5245.min.js.LICENSE.txt +1 -0
- package/5250.min.js +2 -0
- package/5250.min.js.LICENSE.txt +1 -0
- package/5274.min.js +2 -0
- package/5274.min.js.LICENSE.txt +1 -0
- package/5308.min.js +2 -0
- package/5308.min.js.LICENSE.txt +1 -0
- package/5329.min.js +2 -0
- package/5329.min.js.LICENSE.txt +1 -0
- package/533.min.js +2 -0
- package/533.min.js.LICENSE.txt +1 -0
- package/5337.min.js +2 -0
- package/5337.min.js.LICENSE.txt +1 -0
- package/5437.min.js +2 -0
- package/5437.min.js.LICENSE.txt +1 -0
- package/5444.min.js +2 -0
- package/5444.min.js.LICENSE.txt +1 -0
- package/548.min.js +2 -0
- package/548.min.js.LICENSE.txt +1 -0
- package/5523.min.js +2 -0
- package/5523.min.js.LICENSE.txt +1 -0
- package/5534.min.js +2 -0
- package/5534.min.js.LICENSE.txt +1 -0
- package/5537.min.js +2 -0
- package/5537.min.js.LICENSE.txt +1 -0
- package/5582.min.js +2 -0
- package/5582.min.js.LICENSE.txt +1 -0
- package/560.min.js +2 -0
- package/560.min.js.LICENSE.txt +1 -0
- package/5647.min.js +2 -0
- package/5647.min.js.LICENSE.txt +1 -0
- package/5683.min.js +2 -0
- package/5683.min.js.LICENSE.txt +1 -0
- package/571.min.js +2 -0
- package/571.min.js.LICENSE.txt +1 -0
- package/5715.min.js +2 -0
- package/5715.min.js.LICENSE.txt +1 -0
- package/5742.min.js +2 -0
- package/5742.min.js.LICENSE.txt +1 -0
- package/5754.min.js +2 -0
- package/5754.min.js.LICENSE.txt +1 -0
- package/5819.min.js +2 -0
- package/5819.min.js.LICENSE.txt +1 -0
- package/5841.min.js +2 -0
- package/5841.min.js.LICENSE.txt +1 -0
- package/5852.min.js +2 -0
- package/5852.min.js.LICENSE.txt +1 -0
- package/599.min.js +2 -0
- package/599.min.js.LICENSE.txt +1 -0
- package/6004.min.js +2 -0
- package/6004.min.js.LICENSE.txt +1 -0
- package/6067.min.js +2 -0
- package/6067.min.js.LICENSE.txt +1 -0
- package/6072.min.js +2 -0
- package/6072.min.js.LICENSE.txt +1 -0
- package/6132.min.js +2 -0
- package/6132.min.js.LICENSE.txt +1 -0
- package/6152.min.js +2 -0
- package/6152.min.js.LICENSE.txt +1 -0
- package/6540.min.js +2 -0
- package/6540.min.js.LICENSE.txt +1 -0
- package/655.min.js +2 -0
- package/655.min.js.LICENSE.txt +1 -0
- package/6551.min.js +2 -0
- package/6551.min.js.LICENSE.txt +1 -0
- package/6634.min.js +2 -0
- package/6634.min.js.LICENSE.txt +1 -0
- package/6763.min.js +2 -0
- package/6763.min.js.LICENSE.txt +1 -0
- package/6772.min.js +2 -0
- package/6772.min.js.LICENSE.txt +1 -0
- package/6803.min.js +2 -0
- package/6803.min.js.LICENSE.txt +1 -0
- package/69.min.js +2 -0
- package/69.min.js.LICENSE.txt +1 -0
- package/7002.min.js +2 -0
- package/7002.min.js.LICENSE.txt +1 -0
- package/7031.min.js +2 -0
- package/7031.min.js.LICENSE.txt +1 -0
- package/7049.min.js +2 -0
- package/7049.min.js.LICENSE.txt +1 -0
- package/7077.min.js +2 -0
- package/7077.min.js.LICENSE.txt +1 -0
- package/7103.min.js +2 -0
- package/7103.min.js.LICENSE.txt +1 -0
- package/7108.min.js +2 -0
- package/7108.min.js.LICENSE.txt +1 -0
- package/7139.min.js +2 -0
- package/7139.min.js.LICENSE.txt +1 -0
- package/7331.min.js +2 -0
- package/7331.min.js.LICENSE.txt +1 -0
- package/7423.min.js +2 -0
- package/7423.min.js.LICENSE.txt +1 -0
- package/7441.min.js +2 -0
- package/7441.min.js.LICENSE.txt +1 -0
- package/7500.min.js +2 -0
- package/7500.min.js.LICENSE.txt +1 -0
- package/7517.min.js +2 -0
- package/7517.min.js.LICENSE.txt +1 -0
- package/7687.min.js +2 -0
- package/7687.min.js.LICENSE.txt +1 -0
- package/7697.min.js +2 -0
- package/7697.min.js.LICENSE.txt +1 -0
- package/7725.min.js +2 -0
- package/7725.min.js.LICENSE.txt +1 -0
- package/7757.min.js +2 -0
- package/7757.min.js.LICENSE.txt +1 -0
- package/7769.min.js +2 -0
- package/7769.min.js.LICENSE.txt +1 -0
- package/7794.min.js +2 -0
- package/7794.min.js.LICENSE.txt +1 -0
- package/7835.min.js +2 -0
- package/7835.min.js.LICENSE.txt +1 -0
- package/7859.min.js +2 -0
- package/7859.min.js.LICENSE.txt +1 -0
- package/7886.min.js +2 -0
- package/7886.min.js.LICENSE.txt +1 -0
- package/7890.min.js +2 -0
- package/7890.min.js.LICENSE.txt +1 -0
- package/7900.min.js +2 -0
- package/7900.min.js.LICENSE.txt +1 -0
- package/7919.min.js +2 -0
- package/7919.min.js.LICENSE.txt +1 -0
- package/8000.min.js +2 -0
- package/8000.min.js.LICENSE.txt +1 -0
- package/801.min.js +2 -0
- package/801.min.js.LICENSE.txt +1 -0
- package/8060.min.js +2 -0
- package/8060.min.js.LICENSE.txt +1 -0
- package/8088.min.js +2 -0
- package/8088.min.js.LICENSE.txt +1 -0
- package/8127.min.js +2 -0
- package/8127.min.js.LICENSE.txt +1 -0
- package/8158.min.js +2 -0
- package/8158.min.js.LICENSE.txt +1 -0
- package/8179.min.js +2 -0
- package/8179.min.js.LICENSE.txt +1 -0
- package/8346.min.js +2 -0
- package/8346.min.js.LICENSE.txt +1 -0
- package/8361.min.js +2 -0
- package/8361.min.js.LICENSE.txt +1 -0
- package/8445.min.js +2 -0
- package/8445.min.js.LICENSE.txt +1 -0
- package/861.min.js +2 -0
- package/861.min.js.LICENSE.txt +1 -0
- package/8739.min.js +2 -0
- package/8739.min.js.LICENSE.txt +1 -0
- package/8852.min.js +2 -0
- package/8852.min.js.LICENSE.txt +1 -0
- package/8883.min.js +2 -0
- package/8883.min.js.LICENSE.txt +1 -0
- package/889.min.js +2 -0
- package/889.min.js.LICENSE.txt +1 -0
- package/9033.min.js +2 -0
- package/9033.min.js.LICENSE.txt +1 -0
- package/9062.min.js +2 -0
- package/9062.min.js.LICENSE.txt +1 -0
- package/9087.min.js +2 -0
- package/9087.min.js.LICENSE.txt +1 -0
- package/9121.min.js +2 -0
- package/9121.min.js.LICENSE.txt +1 -0
- package/9126.min.js +2 -0
- package/9126.min.js.LICENSE.txt +1 -0
- package/9133.min.js +2 -0
- package/9133.min.js.LICENSE.txt +1 -0
- package/9251.min.js +2 -0
- package/9251.min.js.LICENSE.txt +1 -0
- package/9257.min.js +2 -0
- package/9257.min.js.LICENSE.txt +1 -0
- package/9331.min.js +2 -0
- package/9331.min.js.LICENSE.txt +1 -0
- package/9376.min.js +2 -0
- package/9376.min.js.LICENSE.txt +1 -0
- package/9392.min.js +2 -0
- package/9392.min.js.LICENSE.txt +1 -0
- package/9431.min.js +2 -0
- package/9431.min.js.LICENSE.txt +1 -0
- package/95.min.js +2 -0
- package/95.min.js.LICENSE.txt +1 -0
- package/952.min.js +2 -0
- package/952.min.js.LICENSE.txt +1 -0
- package/9530.min.js +2 -0
- package/9530.min.js.LICENSE.txt +1 -0
- package/9532.min.js +2 -0
- package/9532.min.js.LICENSE.txt +1 -0
- package/9588.min.js +2 -0
- package/9588.min.js.LICENSE.txt +1 -0
- package/9674.min.js +2 -0
- package/9674.min.js.LICENSE.txt +1 -0
- package/9803.min.js +2 -0
- package/9803.min.js.LICENSE.txt +1 -0
- package/9806.min.js +2 -0
- package/9806.min.js.LICENSE.txt +1 -0
- package/9836.min.js +2 -0
- package/9836.min.js.LICENSE.txt +1 -0
- package/9845.min.js +2 -0
- package/9845.min.js.LICENSE.txt +1 -0
- package/9921.min.js +2 -0
- package/9921.min.js.LICENSE.txt +1 -0
- package/9937.min.js +2 -0
- package/9937.min.js.LICENSE.txt +1 -0
- package/9979.min.js +2 -0
- package/9979.min.js.LICENSE.txt +1 -0
- package/README.md +2 -0
- package/basic_dist_browser_index_js.js +30 -0
- package/browser/bundle.js +1 -1
- package/browser/index.js +4 -43
- package/cjs/bundle.js +1 -1
- package/cjs/index.js +71 -87
- package/effects_bubble_dist_browser_BubbleDrawer_js.js +30 -0
- package/effects_bubble_dist_browser_index_js.js +30 -0
- package/effects_trail_dist_browser_TrailDrawer_js.js +30 -0
- package/effects_trail_dist_browser_index_js.js +30 -0
- package/engine_dist_browser_Core_Container_js.js +90 -0
- package/engine_dist_browser_Core_Particle_js.js +30 -0
- package/esm/bundle.js +1 -1
- package/esm/index.js +4 -43
- package/full_dist_browser_index_js.js +30 -0
- package/interactions_external_attract_dist_browser_Attractor_js.js +30 -0
- package/interactions_external_attract_dist_browser_Utils_js.js +30 -0
- package/interactions_external_attract_dist_browser_index_js.js +50 -0
- package/interactions_external_bounce_dist_browser_Bouncer_js.js +30 -0
- package/interactions_external_bounce_dist_browser_Utils_js.js +30 -0
- package/interactions_external_bounce_dist_browser_index_js.js +50 -0
- package/interactions_external_bubble_dist_browser_Bubbler_js.js +40 -0
- package/interactions_external_bubble_dist_browser_index_js.js +90 -0
- package/interactions_external_connect_dist_browser_Connector_js.js +40 -0
- package/interactions_external_connect_dist_browser_index_js.js +70 -0
- package/interactions_external_grab_dist_browser_Grabber_js.js +40 -0
- package/interactions_external_grab_dist_browser_index_js.js +70 -0
- package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +40 -0
- package/interactions_external_particle_dist_browser_index_js.js +30 -0
- package/interactions_external_pause_dist_browser_Pauser_js.js +30 -0
- package/interactions_external_pause_dist_browser_index_js.js +30 -0
- package/interactions_external_pop_dist_browser_Popper_js.js +30 -0
- package/interactions_external_pop_dist_browser_index_js.js +30 -0
- package/interactions_external_push_dist_browser_Pusher_js.js +30 -0
- package/interactions_external_push_dist_browser_index_js.js +50 -0
- package/interactions_external_remove_dist_browser_Remover_js.js +30 -0
- package/interactions_external_remove_dist_browser_index_js.js +50 -0
- package/interactions_external_repulse_dist_browser_Repulser_js.js +30 -0
- package/interactions_external_repulse_dist_browser_index_js.js +90 -0
- package/interactions_external_slow_dist_browser_Slower_js.js +30 -0
- package/interactions_external_slow_dist_browser_index_js.js +50 -0
- package/interactions_external_trail_dist_browser_TrailMaker_js.js +30 -0
- package/interactions_external_trail_dist_browser_index_js.js +50 -0
- package/interactions_light_dist_browser_ExternalLighter_js.js +40 -0
- package/interactions_light_dist_browser_ParticlesLighter_js.js +40 -0
- package/interactions_light_dist_browser_index_js.js +110 -0
- package/interactions_particles_attract_dist_browser_Attractor_js.js +30 -0
- package/interactions_particles_attract_dist_browser_index_js.js +30 -0
- package/interactions_particles_collisions_dist_browser_Absorb_js.js +30 -0
- package/interactions_particles_collisions_dist_browser_Bounce_js.js +30 -0
- package/interactions_particles_collisions_dist_browser_Collider_js.js +40 -0
- package/interactions_particles_collisions_dist_browser_Destroy_js.js +40 -0
- package/interactions_particles_collisions_dist_browser_index_js.js +30 -0
- package/interactions_particles_links_dist_browser_CircleWarp_js.js +30 -0
- package/interactions_particles_links_dist_browser_LinkInstance_js.js +40 -0
- package/interactions_particles_links_dist_browser_Linker_js.js +30 -0
- package/interactions_particles_links_dist_browser_index_js.js +110 -0
- package/interactions_particles_repulse_dist_browser_Repulser_js.js +40 -0
- package/interactions_particles_repulse_dist_browser_index_js.js +30 -0
- package/move_base_dist_browser_BaseMover_js.js +30 -0
- package/move_base_dist_browser_Utils_js.js +30 -0
- package/move_base_dist_browser_index_js.js +30 -0
- package/move_parallax_dist_browser_ParallaxMover_js.js +30 -0
- package/move_parallax_dist_browser_index_js.js +30 -0
- package/package.json +48 -45
- package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +30 -0
- package/paths_curlNoise_dist_browser_index_js.js +30 -0
- package/paths_curves_dist_browser_CurvesPathGenerator_js.js +30 -0
- package/paths_curves_dist_browser_Curves_js.js +30 -0
- package/paths_curves_dist_browser_index_js.js +30 -0
- package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +60 -0
- package/paths_perlinNoise_dist_browser_index_js.js +30 -0
- package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +30 -0
- package/paths_polygon_dist_browser_index_js.js +30 -0
- package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +30 -0
- package/paths_simplexNoise_dist_browser_index_js.js +30 -0
- package/paths_svg_dist_browser_SVGPathGenerator_js.js +30 -0
- package/paths_svg_dist_browser_index_js.js +30 -0
- package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +30 -0
- package/paths_zigzag_dist_browser_index_js.js +30 -0
- package/pjs_dist_browser_index_js.js +50 -0
- package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +30 -0
- package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +60 -0
- package/plugins_absorbers_dist_browser_Absorbers_js.js +30 -0
- package/plugins_absorbers_dist_browser_index_js.js +50 -0
- package/plugins_canvasMask_dist_browser_CanvasMaskInstance_js.js +40 -0
- package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +100 -0
- package/plugins_canvasMask_dist_browser_index_js.js +30 -0
- package/plugins_easings_back_dist_browser_index_js.js +30 -0
- package/plugins_easings_circ_dist_browser_index_js.js +30 -0
- package/plugins_easings_cubic_dist_browser_index_js.js +30 -0
- package/plugins_easings_expo_dist_browser_index_js.js +30 -0
- package/plugins_easings_linear_dist_browser_index_js.js +30 -0
- package/plugins_easings_quad_dist_browser_index_js.js +30 -0
- package/plugins_easings_quart_dist_browser_index_js.js +30 -0
- package/plugins_easings_quint_dist_browser_index_js.js +30 -0
- package/plugins_easings_sine_dist_browser_index_js.js +30 -0
- package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +180 -0
- package/plugins_emittersShapes_canvas_dist_browser_index_js.js +30 -0
- package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +120 -0
- package/plugins_emittersShapes_circle_dist_browser_index_js.js +30 -0
- package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +140 -0
- package/plugins_emittersShapes_path_dist_browser_index_js.js +30 -0
- package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +140 -0
- package/plugins_emittersShapes_polygon_dist_browser_index_js.js +30 -0
- package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +120 -0
- package/plugins_emittersShapes_square_dist_browser_index_js.js +30 -0
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +30 -0
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +90 -0
- package/plugins_emitters_dist_browser_Emitters_js.js +30 -0
- package/plugins_emitters_dist_browser_ShapeManager_js.js +30 -0
- package/plugins_emitters_dist_browser_index_js.js +100 -0
- package/plugins_exports_image_dist_browser_ExportImageInstance_js.js +30 -0
- package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +30 -0
- package/plugins_exports_image_dist_browser_index_js.js +30 -0
- package/plugins_exports_json_dist_browser_ExportJSONInstance_js.js +30 -0
- package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +30 -0
- package/plugins_exports_json_dist_browser_index_js.js +30 -0
- package/plugins_exports_video_dist_browser_ExportVideoInstance_js.js +30 -0
- package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +30 -0
- package/plugins_exports_video_dist_browser_index_js.js +30 -0
- package/plugins_hsvColor_dist_browser_HsvColorManager_js.js +30 -0
- package/plugins_hsvColor_dist_browser_index_js.js +30 -0
- package/plugins_infection_dist_browser_InfectionInstance_js.js +40 -0
- package/plugins_infection_dist_browser_InfectionPlugin_js.js +50 -0
- package/plugins_infection_dist_browser_ParticlesInfecter_js.js +30 -0
- package/plugins_infection_dist_browser_index_js.js +50 -0
- package/plugins_motion_dist_browser_MotionInstance_js.js +30 -0
- package/plugins_motion_dist_browser_MotionPlugin_js.js +50 -0
- package/plugins_motion_dist_browser_index_js.js +30 -0
- package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +40 -0
- package/plugins_poisson_dist_browser_PoissonInstance_js.js +40 -0
- package/plugins_poisson_dist_browser_index_js.js +30 -0
- package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +30 -0
- package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +90 -0
- package/plugins_polygonMask_dist_browser_index_js.js +70 -0
- package/plugins_polygonMask_dist_browser_utils_js.js +30 -0
- package/plugins_sounds_dist_browser_SoundsInstance_js.js +30 -0
- package/plugins_sounds_dist_browser_SoundsPlugin_js.js +120 -0
- package/plugins_sounds_dist_browser_index_js.js +30 -0
- package/report.html +3 -3
- package/shapes_arrow_dist_browser_ArrowDrawer_js.js +30 -0
- package/shapes_arrow_dist_browser_Utils_js.js +30 -0
- package/shapes_arrow_dist_browser_index_js.js +30 -0
- package/shapes_cards_dist_browser_ClubDrawer_js.js +30 -0
- package/shapes_cards_dist_browser_DiamondDrawer_js.js +30 -0
- package/shapes_cards_dist_browser_HeartDrawer_js.js +30 -0
- package/shapes_cards_dist_browser_SpadeDrawer_js.js +30 -0
- package/shapes_cards_dist_browser_Utils_js.js +30 -0
- package/shapes_cards_dist_browser_index_js.js +30 -0
- package/shapes_circle_dist_browser_CircleDrawer_js.js +30 -0
- package/shapes_circle_dist_browser_Utils_js.js +30 -0
- package/shapes_circle_dist_browser_index_js.js +30 -0
- package/shapes_cog_dist_browser_CogDrawer_js.js +30 -0
- package/shapes_cog_dist_browser_Utils_js.js +30 -0
- package/shapes_cog_dist_browser_index_js.js +30 -0
- package/shapes_emoji_dist_browser_EmojiDrawer_js.js +30 -0
- package/shapes_emoji_dist_browser_Utils_js.js +30 -0
- package/shapes_emoji_dist_browser_index_js.js +40 -0
- package/shapes_heart_dist_browser_HeartDrawer_js.js +30 -0
- package/shapes_heart_dist_browser_Utils_js.js +30 -0
- package/shapes_heart_dist_browser_index_js.js +30 -0
- package/shapes_image_dist_browser_GifUtils_Utils_js.js +50 -0
- package/shapes_image_dist_browser_ImageDrawer_js.js +30 -0
- package/shapes_image_dist_browser_ImagePreloader_js.js +40 -0
- package/shapes_image_dist_browser_index_js.js +40 -0
- package/shapes_line_dist_browser_LineDrawer_js.js +30 -0
- package/shapes_line_dist_browser_Utils_js.js +30 -0
- package/shapes_line_dist_browser_index_js.js +30 -0
- package/shapes_path_dist_browser_PathDrawer_js.js +30 -0
- package/shapes_path_dist_browser_Utils_js.js +30 -0
- package/shapes_path_dist_browser_index_js.js +30 -0
- package/shapes_polygon_dist_browser_PolygonDrawer_js.js +40 -0
- package/shapes_polygon_dist_browser_TriangleDrawer_js.js +40 -0
- package/shapes_polygon_dist_browser_Utils_js.js +30 -0
- package/shapes_polygon_dist_browser_index_js.js +30 -0
- package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +30 -0
- package/shapes_rounded-polygon_dist_browser_Utils_js.js +30 -0
- package/shapes_rounded-polygon_dist_browser_index_js.js +30 -0
- package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +30 -0
- package/shapes_rounded-rect_dist_browser_Utils_js.js +30 -0
- package/shapes_rounded-rect_dist_browser_index_js.js +30 -0
- package/shapes_spiral_dist_browser_SpiralDrawer_js.js +30 -0
- package/shapes_spiral_dist_browser_Utils_js.js +30 -0
- package/shapes_spiral_dist_browser_index_js.js +30 -0
- package/shapes_square_dist_browser_SquareDrawer_js.js +30 -0
- package/shapes_square_dist_browser_Utils_js.js +30 -0
- package/shapes_square_dist_browser_index_js.js +30 -0
- package/shapes_star_dist_browser_StarDrawer_js.js +30 -0
- package/shapes_star_dist_browser_Utils_js.js +30 -0
- package/shapes_star_dist_browser_index_js.js +30 -0
- package/shapes_text_dist_browser_Utils_js.js +30 -0
- package/shapes_text_dist_browser_index_js.js +40 -0
- package/slim_dist_browser_index_js.js +30 -0
- package/tsparticles.all.bundle.js +2075 -20364
- package/tsparticles.all.bundle.min.js +1 -1
- package/tsparticles.all.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.all.js +300 -284
- package/tsparticles.all.min.js +1 -1
- package/tsparticles.all.min.js.LICENSE.txt +1 -1
- package/umd/bundle.js +1 -1
- package/umd/index.js +73 -88
- package/updaters_color_dist_browser_ColorUpdater_js.js +30 -0
- package/updaters_color_dist_browser_index_js.js +30 -0
- package/updaters_destroy_dist_browser_DestroyUpdater_js.js +90 -0
- package/updaters_destroy_dist_browser_index_js.js +30 -0
- package/updaters_gradient_dist_browser_GradientUpdater_js.js +90 -0
- package/updaters_gradient_dist_browser_Utils_js.js +30 -0
- package/updaters_gradient_dist_browser_index_js.js +30 -0
- package/updaters_life_dist_browser_LifeUpdater_js.js +60 -0
- package/updaters_life_dist_browser_Utils_js.js +30 -0
- package/updaters_life_dist_browser_index_js.js +30 -0
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +30 -0
- package/updaters_opacity_dist_browser_index_js.js +30 -0
- package/updaters_orbit_dist_browser_OrbitUpdater_js.js +60 -0
- package/updaters_orbit_dist_browser_index_js.js +30 -0
- package/updaters_outModes_dist_browser_BounceOutMode_js.js +30 -0
- package/updaters_outModes_dist_browser_DestroyOutMode_js.js +30 -0
- package/updaters_outModes_dist_browser_NoneOutMode_js.js +30 -0
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +30 -0
- package/updaters_outModes_dist_browser_OutOutMode_js.js +30 -0
- package/updaters_outModes_dist_browser_Utils_js.js +30 -0
- package/updaters_outModes_dist_browser_index_js.js +30 -0
- package/updaters_roll_dist_browser_RollUpdater_js.js +50 -0
- package/updaters_roll_dist_browser_Utils_js.js +30 -0
- package/updaters_roll_dist_browser_index_js.js +30 -0
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +50 -0
- package/updaters_rotate_dist_browser_index_js.js +30 -0
- package/updaters_size_dist_browser_SizeUpdater_js.js +30 -0
- package/updaters_size_dist_browser_index_js.js +30 -0
- package/updaters_strokeColor_dist_browser_StrokeColorUpdater_js.js +30 -0
- package/updaters_strokeColor_dist_browser_index_js.js +30 -0
- package/updaters_tilt_dist_browser_TiltUpdater_js.js +50 -0
- package/updaters_tilt_dist_browser_index_js.js +30 -0
- package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +50 -0
- package/updaters_twinkle_dist_browser_index_js.js +30 -0
- package/updaters_wobble_dist_browser_Utils_js.js +30 -0
- package/updaters_wobble_dist_browser_WobbleUpdater_js.js +50 -0
- package/updaters_wobble_dist_browser_index_js.js +30 -0
- package/utils_simplexNoise_dist_browser_index_js.js +80 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["move_base_dist_browser_Utils_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../move/base/dist/browser/Utils.js":
|
|
21
|
+
/*!*********************************************!*\
|
|
22
|
+
!*** ../../move/base/dist/browser/Utils.js ***!
|
|
23
|
+
\*********************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ applyDistance: () => (/* binding */ applyDistance),\n/* harmony export */ applyPath: () => (/* binding */ applyPath),\n/* harmony export */ getProximitySpeedFactor: () => (/* binding */ getProximitySpeedFactor),\n/* harmony export */ initSpin: () => (/* binding */ initSpin),\n/* harmony export */ move: () => (/* binding */ move),\n/* harmony export */ spin: () => (/* binding */ spin)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst half = 0.5,\n minVelocity = 0,\n identity = 1,\n moveSpeedFactor = 60,\n minSpinRadius = 0,\n spinFactor = 0.01;\nfunction applyDistance(particle) {\n const initialPosition = particle.initialPosition,\n {\n dx,\n dy\n } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(initialPosition, particle.position),\n dxFixed = Math.abs(dx),\n dyFixed = Math.abs(dy),\n {\n maxDistance\n } = particle.retina,\n hDistance = maxDistance.horizontal,\n vDistance = maxDistance.vertical;\n if (!hDistance && !vDistance) {\n return;\n }\n const hasHDistance = (hDistance && dxFixed >= hDistance) ?? false,\n hasVDistance = (vDistance && dyFixed >= vDistance) ?? false;\n if ((hasHDistance || hasVDistance) && !particle.misplaced) {\n particle.misplaced = !!hDistance && dxFixed > hDistance || !!vDistance && dyFixed > vDistance;\n if (hDistance) {\n particle.velocity.x = particle.velocity.y * half - particle.velocity.x;\n }\n if (vDistance) {\n particle.velocity.y = particle.velocity.x * half - particle.velocity.y;\n }\n } else if ((!hDistance || dxFixed < hDistance) && (!vDistance || dyFixed < vDistance) && particle.misplaced) {\n particle.misplaced = false;\n } else if (particle.misplaced) {\n const pos = particle.position,\n vel = particle.velocity;\n if (hDistance && (pos.x < initialPosition.x && vel.x < minVelocity || pos.x > initialPosition.x && vel.x > minVelocity)) {\n vel.x *= -(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n if (vDistance && (pos.y < initialPosition.y && vel.y < minVelocity || pos.y > initialPosition.y && vel.y > minVelocity)) {\n vel.y *= -(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)();\n }\n }\n}\nasync function move(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, delta) {\n await applyPath(particle, delta);\n const gravityOptions = particle.gravity,\n gravityFactor = gravityOptions?.enable && gravityOptions.inverse ? -identity : identity;\n if (moveDrift && moveSpeed) {\n particle.velocity.x += moveDrift * delta.factor / (moveSpeedFactor * moveSpeed);\n }\n if (gravityOptions?.enable && moveSpeed) {\n particle.velocity.y += gravityFactor * (gravityOptions.acceleration * delta.factor) / (moveSpeedFactor * moveSpeed);\n }\n const decay = particle.moveDecay;\n particle.velocity.multTo(decay);\n const velocity = particle.velocity.mult(moveSpeed);\n if (gravityOptions?.enable && maxSpeed > minVelocity && (!gravityOptions.inverse && velocity.y >= minVelocity && velocity.y >= maxSpeed || gravityOptions.inverse && velocity.y <= minVelocity && velocity.y <= -maxSpeed)) {\n velocity.y = gravityFactor * maxSpeed;\n if (moveSpeed) {\n particle.velocity.y = velocity.y / moveSpeed;\n }\n }\n const zIndexOptions = particle.options.zIndex,\n zVelocityFactor = (identity - particle.zIndexFactor) ** zIndexOptions.velocityRate;\n velocity.multTo(zVelocityFactor);\n const {\n position\n } = particle;\n position.addTo(velocity);\n if (moveOptions.vibrate) {\n position.x += Math.sin(position.x * Math.cos(position.y));\n position.y += Math.cos(position.y * Math.sin(position.x));\n }\n}\nfunction spin(particle, moveSpeed) {\n const container = particle.container;\n if (!particle.spin) {\n return;\n }\n const updateFunc = {\n x: particle.spin.direction === \"clockwise\" ? Math.cos : Math.sin,\n y: particle.spin.direction === \"clockwise\" ? Math.sin : Math.cos\n };\n particle.position.x = particle.spin.center.x + particle.spin.radius * updateFunc.x(particle.spin.angle);\n particle.position.y = particle.spin.center.y + particle.spin.radius * updateFunc.y(particle.spin.angle);\n particle.spin.radius += particle.spin.acceleration;\n const maxCanvasSize = Math.max(container.canvas.size.width, container.canvas.size.height),\n halfMaxSize = maxCanvasSize * half;\n if (particle.spin.radius > halfMaxSize) {\n particle.spin.radius = halfMaxSize;\n particle.spin.acceleration *= -identity;\n } else if (particle.spin.radius < minSpinRadius) {\n particle.spin.radius = minSpinRadius;\n particle.spin.acceleration *= -identity;\n }\n particle.spin.angle += moveSpeed * spinFactor * (identity - particle.spin.radius / maxCanvasSize);\n}\nasync function applyPath(particle, delta) {\n const particlesOptions = particle.options,\n pathOptions = particlesOptions.move.path,\n pathEnabled = pathOptions.enable;\n if (!pathEnabled) {\n return;\n }\n if (particle.lastPathTime <= particle.pathDelay) {\n particle.lastPathTime += delta.value;\n return;\n }\n const path = await particle.pathGenerator?.generate(particle, delta);\n if (path) {\n particle.velocity.addTo(path);\n }\n if (pathOptions.clamp) {\n particle.velocity.x = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)(particle.velocity.x, -identity, identity);\n particle.velocity.y = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)(particle.velocity.y, -identity, identity);\n }\n particle.lastPathTime -= particle.pathDelay;\n}\nfunction getProximitySpeedFactor(particle) {\n return particle.slow.inRange ? particle.slow.factor : identity;\n}\nfunction initSpin(particle) {\n const container = particle.container,\n options = particle.options,\n spinOptions = options.move.spin;\n if (!spinOptions.enable) {\n return;\n }\n const spinPos = spinOptions.position ?? {\n x: 50,\n y: 50\n },\n spinFactor = 0.01,\n spinCenter = {\n x: spinPos.x * spinFactor * container.canvas.size.width,\n y: spinPos.y * spinFactor * container.canvas.size.height\n },\n pos = particle.getPosition(),\n distance = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistance)(pos, spinCenter),\n spinAcceleration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(spinOptions.acceleration);\n particle.retina.spinAcceleration = spinAcceleration * container.retina.pixelRatio;\n const minVelocity = 0;\n particle.spin = {\n center: spinCenter,\n direction: particle.velocity.x >= minVelocity ? \"clockwise\" : \"counter-clockwise\",\n angle: particle.velocity.angle,\n radius: distance,\n acceleration: particle.retina.spinAcceleration\n };\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../move/base/dist/browser/Utils.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["move_base_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../move/base/dist/browser/index.js":
|
|
21
|
+
/*!*********************************************!*\
|
|
22
|
+
!*** ../../move/base/dist/browser/index.js ***!
|
|
23
|
+
\*********************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBaseMover: () => (/* binding */ loadBaseMover)\n/* harmony export */ });\nasync function loadBaseMover(engine, refresh = true) {\n await engine.addMover(\"base\", async () => {\n const {\n BaseMover\n } = await __webpack_require__.e(/*! import() */ \"move_base_dist_browser_BaseMover_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./BaseMover.js */ \"../../move/base/dist/browser/BaseMover.js\"));\n return new BaseMover();\n }, refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../move/base/dist/browser/index.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["move_parallax_dist_browser_ParallaxMover_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../move/parallax/dist/browser/ParallaxMover.js":
|
|
21
|
+
/*!*********************************************************!*\
|
|
22
|
+
!*** ../../move/parallax/dist/browser/ParallaxMover.js ***!
|
|
23
|
+
\*********************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ParallaxMover: () => (/* binding */ ParallaxMover)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst half = 0.5;\nclass ParallaxMover {\n async init() {\n await Promise.resolve();\n }\n isEnabled(particle) {\n return !(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isSsr)() && !particle.destroyed && particle.container.actualOptions.interactivity.events.onHover.parallax.enable;\n }\n async move(particle) {\n const container = particle.container,\n options = container.actualOptions,\n parallaxOptions = options.interactivity.events.onHover.parallax;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isSsr)() || !parallaxOptions.enable) {\n return;\n }\n const parallaxForce = parallaxOptions.force,\n mousePos = container.interactivity.mouse.position;\n if (!mousePos) {\n return;\n }\n const canvasSize = container.canvas.size,\n canvasCenter = {\n x: canvasSize.width * half,\n y: canvasSize.height * half\n },\n parallaxSmooth = parallaxOptions.smooth,\n factor = particle.getRadius() / parallaxForce,\n centerDistance = {\n x: (mousePos.x - canvasCenter.x) * factor,\n y: (mousePos.y - canvasCenter.y) * factor\n },\n {\n offset\n } = particle;\n offset.x += (centerDistance.x - offset.x) / parallaxSmooth;\n offset.y += (centerDistance.y - offset.y) / parallaxSmooth;\n await Promise.resolve();\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../move/parallax/dist/browser/ParallaxMover.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["move_parallax_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../move/parallax/dist/browser/index.js":
|
|
21
|
+
/*!*************************************************!*\
|
|
22
|
+
!*** ../../move/parallax/dist/browser/index.js ***!
|
|
23
|
+
\*************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadParallaxMover: () => (/* binding */ loadParallaxMover)\n/* harmony export */ });\nasync function loadParallaxMover(engine, refresh = true) {\n await engine.addMover(\"parallax\", async () => {\n const {\n ParallaxMover\n } = await __webpack_require__.e(/*! import() */ \"move_parallax_dist_browser_ParallaxMover_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ParallaxMover.js */ \"../../move/parallax/dist/browser/ParallaxMover.js\"));\n return new ParallaxMover();\n }, refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../move/parallax/dist/browser/index.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/all",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -99,50 +99,53 @@
|
|
|
99
99
|
"./package.json": "./package.json"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@tsparticles/effect-bubble": "^3.0
|
|
103
|
-
"@tsparticles/effect-trail": "^3.0
|
|
104
|
-
"@tsparticles/engine": "^3.0
|
|
105
|
-
"@tsparticles/interaction-external-
|
|
106
|
-
"@tsparticles/interaction-
|
|
107
|
-
"@tsparticles/interaction-
|
|
108
|
-
"@tsparticles/
|
|
109
|
-
"@tsparticles/path-
|
|
110
|
-
"@tsparticles/path-
|
|
111
|
-
"@tsparticles/path-
|
|
112
|
-
"@tsparticles/path-
|
|
113
|
-
"@tsparticles/path-
|
|
114
|
-
"@tsparticles/
|
|
115
|
-
"@tsparticles/
|
|
116
|
-
"@tsparticles/
|
|
117
|
-
"@tsparticles/plugin-
|
|
118
|
-
"@tsparticles/plugin-easing-
|
|
119
|
-
"@tsparticles/plugin-easing-
|
|
120
|
-
"@tsparticles/plugin-easing-
|
|
121
|
-
"@tsparticles/plugin-easing-
|
|
122
|
-
"@tsparticles/plugin-easing-
|
|
123
|
-
"@tsparticles/plugin-easing-
|
|
124
|
-
"@tsparticles/plugin-
|
|
125
|
-
"@tsparticles/plugin-
|
|
126
|
-
"@tsparticles/plugin-emitters-shape-
|
|
127
|
-
"@tsparticles/plugin-
|
|
128
|
-
"@tsparticles/plugin-
|
|
129
|
-
"@tsparticles/plugin-export-
|
|
130
|
-
"@tsparticles/plugin-
|
|
131
|
-
"@tsparticles/plugin-
|
|
132
|
-
"@tsparticles/plugin-
|
|
133
|
-
"@tsparticles/plugin-
|
|
134
|
-
"@tsparticles/plugin-
|
|
135
|
-
"@tsparticles/
|
|
136
|
-
"@tsparticles/
|
|
137
|
-
"@tsparticles/
|
|
138
|
-
"@tsparticles/shape-
|
|
139
|
-
"@tsparticles/shape-
|
|
140
|
-
"@tsparticles/shape-
|
|
141
|
-
"@tsparticles/shape-
|
|
142
|
-
"@tsparticles/shape-
|
|
143
|
-
"@tsparticles/
|
|
144
|
-
"@tsparticles/
|
|
145
|
-
"tsparticles": "^3.0
|
|
102
|
+
"@tsparticles/effect-bubble": "^3.2.0",
|
|
103
|
+
"@tsparticles/effect-trail": "^3.2.0",
|
|
104
|
+
"@tsparticles/engine": "^3.2.0",
|
|
105
|
+
"@tsparticles/interaction-external-particle": "^3.2.0",
|
|
106
|
+
"@tsparticles/interaction-external-pop": "^3.2.0",
|
|
107
|
+
"@tsparticles/interaction-light": "^3.2.0",
|
|
108
|
+
"@tsparticles/interaction-particles-repulse": "^3.2.0",
|
|
109
|
+
"@tsparticles/path-curl-noise": "^3.2.0",
|
|
110
|
+
"@tsparticles/path-curves": "^3.2.0",
|
|
111
|
+
"@tsparticles/path-perlin-noise": "^3.2.0",
|
|
112
|
+
"@tsparticles/path-polygon": "^3.2.0",
|
|
113
|
+
"@tsparticles/path-simplex-noise": "^3.2.0",
|
|
114
|
+
"@tsparticles/path-svg": "^3.2.0",
|
|
115
|
+
"@tsparticles/path-zig-zag": "^3.2.0",
|
|
116
|
+
"@tsparticles/pjs": "^3.2.0",
|
|
117
|
+
"@tsparticles/plugin-canvas-mask": "^3.2.0",
|
|
118
|
+
"@tsparticles/plugin-easing-back": "^3.2.0",
|
|
119
|
+
"@tsparticles/plugin-easing-circ": "^3.2.0",
|
|
120
|
+
"@tsparticles/plugin-easing-cubic": "^3.2.0",
|
|
121
|
+
"@tsparticles/plugin-easing-expo": "^3.2.0",
|
|
122
|
+
"@tsparticles/plugin-easing-linear": "^3.2.0",
|
|
123
|
+
"@tsparticles/plugin-easing-quart": "^3.2.0",
|
|
124
|
+
"@tsparticles/plugin-easing-quint": "^3.2.0",
|
|
125
|
+
"@tsparticles/plugin-easing-sine": "^3.2.0",
|
|
126
|
+
"@tsparticles/plugin-emitters-shape-canvas": "^3.2.0",
|
|
127
|
+
"@tsparticles/plugin-emitters-shape-path": "^3.2.0",
|
|
128
|
+
"@tsparticles/plugin-emitters-shape-polygon": "^3.2.0",
|
|
129
|
+
"@tsparticles/plugin-export-image": "^3.2.0",
|
|
130
|
+
"@tsparticles/plugin-export-json": "^3.2.0",
|
|
131
|
+
"@tsparticles/plugin-export-video": "^3.2.0",
|
|
132
|
+
"@tsparticles/plugin-hsv-color": "^3.2.0",
|
|
133
|
+
"@tsparticles/plugin-infection": "^3.2.0",
|
|
134
|
+
"@tsparticles/plugin-motion": "^3.2.0",
|
|
135
|
+
"@tsparticles/plugin-poisson-disc": "^3.2.0",
|
|
136
|
+
"@tsparticles/plugin-polygon-mask": "^3.2.0",
|
|
137
|
+
"@tsparticles/plugin-sounds": "^3.2.0",
|
|
138
|
+
"@tsparticles/shape-arrow": "^3.2.0",
|
|
139
|
+
"@tsparticles/shape-cards": "^3.2.0",
|
|
140
|
+
"@tsparticles/shape-cog": "^3.2.0",
|
|
141
|
+
"@tsparticles/shape-heart": "^3.2.0",
|
|
142
|
+
"@tsparticles/shape-path": "^3.2.0",
|
|
143
|
+
"@tsparticles/shape-rounded-polygon": "^3.2.0",
|
|
144
|
+
"@tsparticles/shape-rounded-rect": "^3.2.0",
|
|
145
|
+
"@tsparticles/shape-spiral": "^3.2.0",
|
|
146
|
+
"@tsparticles/updater-gradient": "^3.2.0",
|
|
147
|
+
"@tsparticles/updater-orbit": "^3.2.0",
|
|
148
|
+
"tsparticles": "^3.2.0"
|
|
146
149
|
},
|
|
147
150
|
"publishConfig": {
|
|
148
151
|
"access": "public"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_curlNoise_dist_browser_CurlNoiseGenerator_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/curlNoise/dist/browser/CurlNoiseGenerator.js":
|
|
21
|
+
/*!****************************************************************!*\
|
|
22
|
+
!*** ../../paths/curlNoise/dist/browser/CurlNoiseGenerator.js ***!
|
|
23
|
+
\****************************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CurlNoiseGenerator: () => (/* binding */ CurlNoiseGenerator)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _tsparticles_simplex_noise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/simplex-noise */ \"../../utils/simplexNoise/dist/browser/index.js\");\n\n\nconst defaultOptions = {\n speed: 0.2,\n step: 250\n },\n double = 2;\nclass CurlNoiseGenerator {\n constructor() {\n const simplex = new _tsparticles_simplex_noise__WEBPACK_IMPORTED_MODULE_1__.SimplexNoise();\n this._simplex = simplex.noise2d;\n this.options = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, defaultOptions);\n }\n generate(particle) {\n const pos = particle.getPosition(),\n {\n speed,\n step\n } = this.options,\n x = pos.x / step,\n y = pos.y / step,\n eps = 0.001,\n n1a = this._simplex.noise(x, y + eps),\n n2a = this._simplex.noise(x, y - eps),\n a = (n1a - n2a) / (double * eps),\n n1b = this._simplex.noise(x + eps, y),\n n2b = this._simplex.noise(x - eps, y),\n b = (n1b - n2b) / (double * eps);\n particle.velocity.x = 0;\n particle.velocity.y = 0;\n return Promise.resolve(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.create(speed * a, speed * -b));\n }\n async init(container) {\n const sourceOptions = container.actualOptions.particles.move.path.options;\n this.options.seed = sourceOptions?.seed;\n this.options.speed = (sourceOptions?.speed ?? defaultOptions.speed) * container.retina.pixelRatio;\n this.options.step = sourceOptions?.step ?? defaultOptions.step;\n this._simplex.seed(this.options.seed ?? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)());\n await Promise.resolve();\n }\n reset() {}\n update() {}\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/curlNoise/dist/browser/CurlNoiseGenerator.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_curlNoise_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/curlNoise/dist/browser/index.js":
|
|
21
|
+
/*!***************************************************!*\
|
|
22
|
+
!*** ../../paths/curlNoise/dist/browser/index.js ***!
|
|
23
|
+
\***************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ curlNoisePathName: () => (/* binding */ curlNoisePathName),\n/* harmony export */ loadCurlNoisePath: () => (/* binding */ loadCurlNoisePath)\n/* harmony export */ });\nconst curlNoisePathName = \"curlNoise\";\nasync function loadCurlNoisePath(engine, refresh = true) {\n const {\n CurlNoiseGenerator\n } = await Promise.all(/*! import() */[__webpack_require__.e(\"utils_simplexNoise_dist_browser_index_js\"), __webpack_require__.e(\"paths_curlNoise_dist_browser_CurlNoiseGenerator_js\")]).then(__webpack_require__.bind(__webpack_require__, /*! ./CurlNoiseGenerator.js */ \"../../paths/curlNoise/dist/browser/CurlNoiseGenerator.js\"));\n await engine.addPathGenerator(curlNoisePathName, new CurlNoiseGenerator(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/curlNoise/dist/browser/index.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_curves_dist_browser_CurvesPathGenerator_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/curves/dist/browser/CurvesPathGenerator.js":
|
|
21
|
+
/*!**************************************************************!*\
|
|
22
|
+
!*** ../../paths/curves/dist/browser/CurvesPathGenerator.js ***!
|
|
23
|
+
\**************************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CurvesPathGenerator: () => (/* binding */ CurvesPathGenerator)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst double = 2,\n doublePI = Math.PI * double;\nfunction randomVelocity() {\n const offset = 0.8,\n factor = 0.6;\n return (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * factor + offset;\n}\nclass CurvesPathGenerator {\n constructor() {\n this.options = {\n rndFunc: null,\n period: 100,\n nbHarmonics: 2,\n attenHarmonics: 0.8,\n lowValue: -0.03,\n highValue: 0.03\n };\n }\n async generate(p) {\n if (!p.pathGen) {\n const options = this.options,\n {\n CurvesPathGen\n } = await __webpack_require__.e(/*! import() */ \"paths_curves_dist_browser_Curves_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Curves.js */ \"../../paths/curves/dist/browser/Curves.js\"));\n p.pathGen = CurvesPathGen(options.rndFunc, options.period, options.nbHarmonics, options.attenHarmonics, options.lowValue, options.highValue);\n }\n if (!p.curveVelocity) {\n p.curveVelocity = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.origin;\n p.curveVelocity.length = randomVelocity();\n p.curveVelocity.angle = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * doublePI;\n } else {\n p.curveVelocity.length += 0.01;\n p.curveVelocity.angle = (p.curveVelocity.angle + p.pathGen()) % doublePI;\n }\n p.velocity.x = 0;\n p.velocity.y = 0;\n return p.curveVelocity;\n }\n async init(container) {\n const sourceOptions = container.actualOptions.particles.move.path.options,\n {\n options\n } = this;\n if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isFunction)(sourceOptions.rndFunc)) {\n options.rndFunc = sourceOptions.rndFunc;\n } else if ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isString)(sourceOptions.rndFunc)) {\n options.rndFunc = window[sourceOptions.rndFunc] ?? this.options.rndFunc;\n }\n options.period = sourceOptions.period ?? options.period;\n options.nbHarmonics = sourceOptions.nbHarmonics ?? options.nbHarmonics;\n options.attenHarmonics = sourceOptions.attenHarmonics ?? options.attenHarmonics;\n options.lowValue = sourceOptions.lowValue ?? options.lowValue;\n options.highValue = sourceOptions.highValue ?? options.highValue;\n await Promise.resolve();\n }\n reset(particle) {\n delete particle.pathGen;\n delete particle.curveVelocity;\n }\n update() {}\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/curves/dist/browser/CurvesPathGenerator.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_curves_dist_browser_Curves_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/curves/dist/browser/Curves.js":
|
|
21
|
+
/*!*************************************************!*\
|
|
22
|
+
!*** ../../paths/curves/dist/browser/Curves.js ***!
|
|
23
|
+
\*************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CurvesPathGen: () => (/* binding */ CurvesPathGen)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nfunction CurvesPathGen(rndFunc, period, nbHarmonics, attenHarmonics, lowValue = 0, highValue = 1) {\n const arP0 = [],\n arP1 = [],\n amplitudes = [],\n increments = [],\n phases = [],\n randomFunc = rndFunc ?? _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom;\n let globAmplitude = 0;\n if (nbHarmonics < 1) nbHarmonics = 1;\n for (let kh = 1; kh <= nbHarmonics; ++kh) {\n arP0[kh] = randomFunc();\n arP1[kh] = randomFunc();\n amplitudes[kh] = kh === 1 ? 1 : amplitudes[kh - 1] * attenHarmonics;\n globAmplitude += amplitudes[kh];\n increments[kh] = kh / period;\n phases[kh] = randomFunc();\n }\n amplitudes.forEach((value, kh) => amplitudes[kh] = value / globAmplitude * (highValue - lowValue));\n return () => {\n let pf,\n pfl,\n signal = 0;\n for (let kh = nbHarmonics; kh >= 1; --kh) {\n pf = phases[kh] += increments[kh];\n if (phases[kh] >= 1) {\n pf = phases[kh] -= 1;\n arP0[kh] = arP1[kh];\n arP1[kh] = randomFunc();\n }\n pfl = pf ** 2 * (3 - 2 * pf);\n signal += (arP0[kh] * (1 - pfl) + arP1[kh] * pfl) * amplitudes[kh];\n }\n return signal + lowValue;\n };\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/curves/dist/browser/Curves.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_curves_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/curves/dist/browser/index.js":
|
|
21
|
+
/*!************************************************!*\
|
|
22
|
+
!*** ../../paths/curves/dist/browser/index.js ***!
|
|
23
|
+
\************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ curvesPathName: () => (/* binding */ curvesPathName),\n/* harmony export */ loadCurvesPath: () => (/* binding */ loadCurvesPath)\n/* harmony export */ });\nconst curvesPathName = \"curvesPathGenerator\";\nasync function loadCurvesPath(engine, refresh = true) {\n const {\n CurvesPathGenerator\n } = await __webpack_require__.e(/*! import() */ \"paths_curves_dist_browser_CurvesPathGenerator_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./CurvesPathGenerator.js */ \"../../paths/curves/dist/browser/CurvesPathGenerator.js\"));\n await engine.addPathGenerator(curvesPathName, new CurvesPathGenerator(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/curves/dist/browser/index.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/perlinNoise/dist/browser/PerlinNoiseGenerator.js":
|
|
21
|
+
/*!********************************************************************!*\
|
|
22
|
+
!*** ../../paths/perlinNoise/dist/browser/PerlinNoiseGenerator.js ***!
|
|
23
|
+
\********************************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PerlinNoiseGenerator: () => (/* binding */ PerlinNoiseGenerator)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n/* harmony import */ var _tsparticles_perlin_noise__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/perlin-noise */ \"../../utils/perlinNoise/dist/browser/index.js\");\n\n\nconst double = 2,\n doublePI = Math.PI * double,\n defaultOptions = {\n draw: false,\n size: 20,\n increment: 0.004,\n columns: 0,\n rows: 0,\n width: 0,\n height: 0,\n factor: {\n angle: 0.02,\n length: 0.01\n },\n offset: {\n x: 40000,\n y: 40000\n }\n };\nclass PerlinNoiseGenerator {\n constructor() {\n this._calculateField = () => {\n const {\n field,\n noiseGen,\n options\n } = this,\n lengthFactor = options.factor.length,\n angleFactor = options.factor.angle;\n for (let x = 0; x < options.columns; x++) {\n const column = field[x];\n for (let y = 0; y < options.rows; y++) {\n const cell = column[y];\n cell.length = noiseGen.noise3d(x * lengthFactor + options.offset.x, y * lengthFactor + options.offset.y, this.noiseZ);\n cell.angle = noiseGen.noise3d(x * angleFactor, y * angleFactor, this.noiseZ) * doublePI;\n }\n }\n };\n this._drawField = ctx => {\n const {\n field,\n options\n } = this;\n for (let x = 0; x < options.columns; x++) {\n const column = field[x];\n for (let y = 0; y < options.rows; y++) {\n const cell = column[y],\n {\n angle,\n length\n } = cell;\n ctx.setTransform(1, 0, 0, 1, x * this.options.size, y * this.options.size);\n ctx.rotate(angle);\n ctx.strokeStyle = \"white\";\n ctx.beginPath();\n ctx.moveTo(0, 0);\n ctx.lineTo(0, this.options.size * length);\n ctx.stroke();\n ctx.setTransform(1, 0, 0, 1, 0, 0);\n }\n }\n };\n this._initField = () => {\n const {\n columns,\n rows\n } = this.options;\n this.field = new Array(columns);\n for (let x = 0; x < columns; x++) {\n this.field[x] = new Array(rows);\n for (let y = 0; y < rows; y++) {\n this.field[x][y] = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.origin;\n }\n }\n };\n this.noiseGen = new _tsparticles_perlin_noise__WEBPACK_IMPORTED_MODULE_1__.PerlinNoise();\n this.field = [];\n this.noiseZ = 0;\n this.options = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, defaultOptions);\n }\n generate(particle) {\n const pos = particle.getPosition(),\n {\n size\n } = this.options,\n point = {\n x: Math.max(Math.floor(pos.x / size), 0),\n y: Math.max(Math.floor(pos.y / size), 0)\n },\n {\n field\n } = this;\n return Promise.resolve(!field?.[point.x]?.[point.y] ? _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.origin : field[point.x][point.y].copy());\n }\n async init(container) {\n this.container = container;\n this._setup();\n await Promise.resolve();\n }\n reset() {}\n update() {\n if (!this.container) {\n return;\n }\n this._calculateField();\n this.noiseZ += this.options.increment;\n if (this.options.draw) {\n this.container.canvas.draw(ctx => this._drawField(ctx));\n }\n }\n _resetField() {\n const container = this.container;\n if (!container) {\n return;\n }\n const sourceOptions = container.actualOptions.particles.move.path.options,\n {\n options\n } = this;\n options.size = sourceOptions.size > 0 ? sourceOptions.size : defaultOptions.size;\n options.increment = sourceOptions.increment > 0 ? sourceOptions.increment : defaultOptions.increment;\n options.draw = !!sourceOptions.draw;\n const offset = sourceOptions.offset;\n options.offset.x = offset?.x ?? defaultOptions.offset.x;\n options.offset.y = offset?.y ?? defaultOptions.offset.y;\n const factor = sourceOptions.factor;\n options.factor.angle = factor?.angle ?? defaultOptions.factor.angle;\n options.factor.length = factor?.length ?? defaultOptions.factor.length;\n options.width = container.canvas.size.width;\n options.height = container.canvas.size.height;\n this.options.seed = sourceOptions.seed;\n this.noiseGen.seed(this.options.seed ?? (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)());\n options.columns = Math.floor(this.options.width / this.options.size) + 1;\n options.rows = Math.floor(this.options.height / this.options.size) + 1;\n this._initField();\n }\n _setup() {\n this.noiseZ = 0;\n this._resetField();\n window.addEventListener(\"resize\", () => this._resetField());\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/perlinNoise/dist/browser/PerlinNoiseGenerator.js?");
|
|
27
|
+
|
|
28
|
+
/***/ }),
|
|
29
|
+
|
|
30
|
+
/***/ "../../utils/perlinNoise/dist/browser/Grad.js":
|
|
31
|
+
/*!****************************************************!*\
|
|
32
|
+
!*** ../../utils/perlinNoise/dist/browser/Grad.js ***!
|
|
33
|
+
\****************************************************/
|
|
34
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
35
|
+
|
|
36
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Grad: () => (/* binding */ Grad)\n/* harmony export */ });\nclass Grad {\n constructor(x, y, z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }\n dot2(x, y) {\n return this.x * x + this.y * y;\n }\n dot3(x, y, z) {\n return this.dot2(x, y) + this.z * z;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../utils/perlinNoise/dist/browser/Grad.js?");
|
|
37
|
+
|
|
38
|
+
/***/ }),
|
|
39
|
+
|
|
40
|
+
/***/ "../../utils/perlinNoise/dist/browser/PerlinNoise.js":
|
|
41
|
+
/*!***********************************************************!*\
|
|
42
|
+
!*** ../../utils/perlinNoise/dist/browser/PerlinNoise.js ***!
|
|
43
|
+
\***********************************************************/
|
|
44
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
45
|
+
|
|
46
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PerlinNoise: () => (/* binding */ PerlinNoise)\n/* harmony export */ });\n/* harmony import */ var _Grad_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Grad.js */ \"../../utils/perlinNoise/dist/browser/Grad.js\");\n\nclass PerlinNoise {\n constructor() {\n this._grad3 = [new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(1, 1, 0), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(-1, 1, 0), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(1, -1, 0), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(-1, -1, 0), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(1, 0, 1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(-1, 0, 1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(1, 0, -1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(-1, 0, -1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(0, 1, 1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(0, -1, 1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(0, 1, -1), new _Grad_js__WEBPACK_IMPORTED_MODULE_0__.Grad(0, -1, -1)];\n this._p = [151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 11, 32, 57, 177, 33, 88, 237, 149, 56, 87, 174, 20, 125, 136, 171, 168, 68, 175, 74, 165, 71, 134, 139, 48, 27, 166, 77, 146, 158, 231, 83, 111, 229, 122, 60, 211, 133, 230, 220, 105, 92, 41, 55, 46, 245, 40, 244, 102, 143, 54, 65, 25, 63, 161, 1, 216, 80, 73, 209, 76, 132, 187, 208, 89, 18, 169, 200, 196, 135, 130, 116, 188, 159, 86, 164, 100, 109, 198, 173, 186, 3, 64, 52, 217, 226, 250, 124, 123, 5, 202, 38, 147, 118, 126, 255, 82, 85, 212, 207, 206, 59, 227, 47, 16, 58, 17, 182, 189, 28, 42, 223, 183, 170, 213, 119, 248, 152, 2, 44, 154, 163, 70, 221, 153, 101, 155, 167, 43, 172, 9, 129, 22, 39, 253, 19, 98, 108, 110, 79, 113, 224, 232, 178, 185, 112, 104, 218, 246, 97, 228, 251, 34, 242, 193, 238, 210, 144, 12, 191, 179, 162, 241, 81, 51, 145, 235, 249, 14, 239, 107, 49, 192, 214, 31, 181, 199, 106, 157, 184, 84, 204, 176, 115, 121, 50, 45, 127, 4, 150, 254, 138, 236, 205, 93, 222, 114, 67, 29, 24, 72, 243, 141, 128, 195, 78, 66, 215, 61, 156, 180];\n this._gradP = new Array(512);\n this._perm = new Array(512);\n }\n noise2d(x, y) {\n const {\n _gradP,\n _perm\n } = this;\n let X = Math.floor(x),\n Y = Math.floor(y);\n x = x - X;\n y = y - Y;\n X = X & 255;\n Y = Y & 255;\n const n00 = _gradP[X + _perm[Y]].dot2(x, y),\n n01 = _gradP[X + _perm[Y + 1]].dot2(x, y - 1),\n n10 = _gradP[X + 1 + _perm[Y]].dot2(x - 1, y),\n n11 = _gradP[X + 1 + _perm[Y + 1]].dot2(x - 1, y - 1);\n const u = this._fade(x);\n return this._lerp(this._lerp(n00, n10, u), this._lerp(n01, n11, u), this._fade(y));\n }\n noise3d(x, y, z) {\n const {\n _gradP: gradP,\n _perm: perm\n } = this;\n let X = Math.floor(x),\n Y = Math.floor(y),\n Z = Math.floor(z);\n x = x - X;\n y = y - Y;\n z = z - Z;\n X = X & 255;\n Y = Y & 255;\n Z = Z & 255;\n const n000 = gradP[X + perm[Y + perm[Z]]].dot3(x, y, z),\n n001 = gradP[X + perm[Y + perm[Z + 1]]].dot3(x, y, z - 1),\n n010 = gradP[X + perm[Y + 1 + perm[Z]]].dot3(x, y - 1, z),\n n011 = gradP[X + perm[Y + 1 + perm[Z + 1]]].dot3(x, y - 1, z - 1),\n n100 = gradP[X + 1 + perm[Y + perm[Z]]].dot3(x - 1, y, z),\n n101 = gradP[X + 1 + perm[Y + perm[Z + 1]]].dot3(x - 1, y, z - 1),\n n110 = gradP[X + 1 + perm[Y + 1 + perm[Z]]].dot3(x - 1, y - 1, z),\n n111 = gradP[X + 1 + perm[Y + 1 + perm[Z + 1]]].dot3(x - 1, y - 1, z - 1),\n u = this._fade(x),\n v = this._fade(y),\n w = this._fade(z);\n return this._lerp(this._lerp(this._lerp(n000, n100, u), this._lerp(n001, n101, u), w), this._lerp(this._lerp(n010, n110, u), this._lerp(n011, n111, u), w), v);\n }\n seed(inputSeed) {\n const {\n _grad3: grad3,\n _gradP: gradP,\n _perm: perm,\n _p: p\n } = this;\n let seed = inputSeed;\n if (seed > 0 && seed < 1) {\n seed *= 65536;\n }\n seed = Math.floor(seed);\n if (seed < 256) {\n seed |= seed << 8;\n }\n for (let i = 0; i < 256; i++) {\n const v = i & 1 ? p[i] ^ seed & 255 : p[i] ^ seed >> 8 & 255;\n perm[i] = perm[i + 256] = v;\n gradP[i] = gradP[i + 256] = grad3[v % 12];\n }\n }\n _fade(t) {\n return t * t * t * (t * (t * 6 - 15) + 10);\n }\n _lerp(a, b, t) {\n return (1 - t) * a + t * b;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../utils/perlinNoise/dist/browser/PerlinNoise.js?");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ "../../utils/perlinNoise/dist/browser/index.js":
|
|
51
|
+
/*!*****************************************************!*\
|
|
52
|
+
!*** ../../utils/perlinNoise/dist/browser/index.js ***!
|
|
53
|
+
\*****************************************************/
|
|
54
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
55
|
+
|
|
56
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PerlinNoise: () => (/* reexport safe */ _PerlinNoise_js__WEBPACK_IMPORTED_MODULE_0__.PerlinNoise)\n/* harmony export */ });\n/* harmony import */ var _PerlinNoise_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PerlinNoise.js */ \"../../utils/perlinNoise/dist/browser/PerlinNoise.js\");\n\n\n//# sourceURL=webpack://@tsparticles/all/../../utils/perlinNoise/dist/browser/index.js?");
|
|
57
|
+
|
|
58
|
+
/***/ })
|
|
59
|
+
|
|
60
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_perlinNoise_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/perlinNoise/dist/browser/index.js":
|
|
21
|
+
/*!*****************************************************!*\
|
|
22
|
+
!*** ../../paths/perlinNoise/dist/browser/index.js ***!
|
|
23
|
+
\*****************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadPerlinNoisePath: () => (/* binding */ loadPerlinNoisePath),\n/* harmony export */ perlinNoisePathName: () => (/* binding */ perlinNoisePathName)\n/* harmony export */ });\nconst perlinNoisePathName = \"perlinNoise\";\nasync function loadPerlinNoisePath(engine, refresh = true) {\n const {\n PerlinNoiseGenerator\n } = await __webpack_require__.e(/*! import() */ \"paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./PerlinNoiseGenerator.js */ \"../../paths/perlinNoise/dist/browser/PerlinNoiseGenerator.js\"));\n await engine.addPathGenerator(perlinNoisePathName, new PerlinNoiseGenerator(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/perlinNoise/dist/browser/index.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_polygon_dist_browser_PolygonPathGenerator_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/polygon/dist/browser/PolygonPathGenerator.js":
|
|
21
|
+
/*!****************************************************************!*\
|
|
22
|
+
!*** ../../paths/polygon/dist/browser/PolygonPathGenerator.js ***!
|
|
23
|
+
\****************************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PolygonPathGenerator: () => (/* binding */ PolygonPathGenerator)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass PolygonPathGenerator {\n constructor() {\n this._createDirs = () => {\n this.dirsList = [];\n for (let i = 0; i < 360; i += 360 / this.options.sides) {\n const angle = this.options.angle + i;\n this.dirsList.push(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.create(Math.cos(angle * Math.PI / 180), Math.sin(angle * Math.PI / 180)));\n }\n };\n this.dirsList = [];\n this.options = {\n sides: 6,\n turnSteps: 20,\n angle: 30\n };\n }\n generate(p) {\n const {\n sides\n } = this.options;\n if (p.hexStep === undefined) {\n p.hexStep = 0;\n }\n if (p.hexDirection === undefined) {\n p.hexDirection = sides === 6 ? ((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * 3 | 0) * 2 : (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() * sides | 0;\n }\n if (p.hexSpeed === undefined) {\n p.hexSpeed = p.velocity.length;\n }\n if (p.hexStep % this.options.turnSteps === 0) {\n p.hexDirection = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRandom)() > 0.5 ? (p.hexDirection + 1) % sides : (p.hexDirection + sides - 1) % sides;\n }\n p.velocity.x = 0;\n p.velocity.y = 0;\n p.hexStep++;\n const direction = this.dirsList[p.hexDirection];\n return Promise.resolve(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.create(direction.x * p.hexSpeed, direction.y * p.hexSpeed));\n }\n async init(container) {\n const options = container.actualOptions.particles.move.path.options;\n this.options.sides = options.sides > 0 ? options.sides : 6;\n this.options.angle = options.angle ?? 30;\n this.options.turnSteps = options.turnSteps >= 0 ? options.turnSteps : 20;\n this._createDirs();\n await Promise.resolve();\n }\n reset(particle) {\n delete particle.hexStep;\n delete particle.hexDirection;\n delete particle.hexSpeed;\n }\n update() {}\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/polygon/dist/browser/PolygonPathGenerator.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Author : Matteo Bruni
|
|
3
|
+
* MIT license: https://opensource.org/licenses/MIT
|
|
4
|
+
* Demo / Generator : https://particles.js.org/
|
|
5
|
+
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
|
+
* How to use? : Check the GitHub README
|
|
7
|
+
* v3.2.0
|
|
8
|
+
*/
|
|
9
|
+
"use strict";
|
|
10
|
+
/*
|
|
11
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
12
|
+
* This devtool is neither made for production nor for readable output files.
|
|
13
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
14
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
15
|
+
* or disable the default devtool with "devtool: false".
|
|
16
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
17
|
+
*/
|
|
18
|
+
(this["webpackChunk_tsparticles_all"] = this["webpackChunk_tsparticles_all"] || []).push([["paths_polygon_dist_browser_index_js"],{
|
|
19
|
+
|
|
20
|
+
/***/ "../../paths/polygon/dist/browser/index.js":
|
|
21
|
+
/*!*************************************************!*\
|
|
22
|
+
!*** ../../paths/polygon/dist/browser/index.js ***!
|
|
23
|
+
\*************************************************/
|
|
24
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
25
|
+
|
|
26
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadPolygonPath: () => (/* binding */ loadPolygonPath),\n/* harmony export */ polygonPathName: () => (/* binding */ polygonPathName)\n/* harmony export */ });\nconst polygonPathName = \"polygonPathGenerator\";\nasync function loadPolygonPath(engine, refresh = true) {\n const {\n PolygonPathGenerator\n } = await __webpack_require__.e(/*! import() */ \"paths_polygon_dist_browser_PolygonPathGenerator_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./PolygonPathGenerator.js */ \"../../paths/polygon/dist/browser/PolygonPathGenerator.js\"));\n await engine.addPathGenerator(polygonPathName, new PolygonPathGenerator(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/polygon/dist/browser/index.js?");
|
|
27
|
+
|
|
28
|
+
/***/ })
|
|
29
|
+
|
|
30
|
+
}]);
|