@tsparticles/all 3.3.0 → 3.4.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/README.md +1 -1
- package/browser/bundle.js +0 -2
- package/browser/index.js +48 -1
- package/cjs/bundle.js +0 -2
- package/cjs/index.js +95 -48
- package/esm/bundle.js +0 -2
- package/esm/index.js +48 -1
- package/package.json +49 -48
- package/report.html +1 -1
- package/tsparticles.all.bundle.js +4224 -302
- package/tsparticles.all.bundle.min.js +1 -1
- package/tsparticles.all.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.all.js +24 -32
- package/tsparticles.all.min.js +1 -1
- package/tsparticles.all.min.js.LICENSE.txt +1 -1
- package/umd/bundle.js +1 -3
- package/umd/index.js +96 -73
- package/1038.min.js +0 -2
- package/1038.min.js.LICENSE.txt +0 -1
- package/1043.min.js +0 -2
- package/1043.min.js.LICENSE.txt +0 -1
- package/1054.min.js +0 -2
- package/1054.min.js.LICENSE.txt +0 -1
- package/118.min.js +0 -2
- package/118.min.js.LICENSE.txt +0 -1
- package/1199.min.js +0 -2
- package/1199.min.js.LICENSE.txt +0 -1
- package/1235.min.js +0 -2
- package/1235.min.js.LICENSE.txt +0 -1
- package/1290.min.js +0 -2
- package/1290.min.js.LICENSE.txt +0 -1
- package/1313.min.js +0 -2
- package/1313.min.js.LICENSE.txt +0 -1
- package/1340.min.js +0 -2
- package/1340.min.js.LICENSE.txt +0 -1
- package/1444.min.js +0 -2
- package/1444.min.js.LICENSE.txt +0 -1
- package/1460.min.js +0 -2
- package/1460.min.js.LICENSE.txt +0 -1
- package/1475.min.js +0 -2
- package/1475.min.js.LICENSE.txt +0 -1
- package/152.min.js +0 -2
- package/152.min.js.LICENSE.txt +0 -1
- package/1612.min.js +0 -2
- package/1612.min.js.LICENSE.txt +0 -1
- package/168.min.js +0 -2
- package/168.min.js.LICENSE.txt +0 -1
- package/1817.min.js +0 -2
- package/1817.min.js.LICENSE.txt +0 -1
- package/1854.min.js +0 -2
- package/1854.min.js.LICENSE.txt +0 -1
- package/1862.min.js +0 -2
- package/1862.min.js.LICENSE.txt +0 -1
- package/1992.min.js +0 -2
- package/1992.min.js.LICENSE.txt +0 -1
- package/1996.min.js +0 -2
- package/1996.min.js.LICENSE.txt +0 -1
- package/2031.min.js +0 -2
- package/2031.min.js.LICENSE.txt +0 -1
- package/2043.min.js +0 -2
- package/2043.min.js.LICENSE.txt +0 -1
- package/2101.min.js +0 -2
- package/2101.min.js.LICENSE.txt +0 -1
- package/211.min.js +0 -2
- package/211.min.js.LICENSE.txt +0 -1
- package/2112.min.js +0 -2
- package/2112.min.js.LICENSE.txt +0 -1
- package/2134.min.js +0 -2
- package/2134.min.js.LICENSE.txt +0 -1
- package/2136.min.js +0 -2
- package/2136.min.js.LICENSE.txt +0 -1
- package/2157.min.js +0 -2
- package/2157.min.js.LICENSE.txt +0 -1
- package/2260.min.js +0 -2
- package/2260.min.js.LICENSE.txt +0 -1
- package/2283.min.js +0 -2
- package/2283.min.js.LICENSE.txt +0 -1
- package/2284.min.js +0 -2
- package/2284.min.js.LICENSE.txt +0 -1
- package/2370.min.js +0 -2
- package/2370.min.js.LICENSE.txt +0 -1
- package/2402.min.js +0 -2
- package/2402.min.js.LICENSE.txt +0 -1
- package/2415.min.js +0 -2
- package/2415.min.js.LICENSE.txt +0 -1
- package/243.min.js +0 -2
- package/243.min.js.LICENSE.txt +0 -1
- package/2497.min.js +0 -2
- package/2497.min.js.LICENSE.txt +0 -1
- package/250.min.js +0 -2
- package/250.min.js.LICENSE.txt +0 -1
- package/2505.min.js +0 -2
- package/2505.min.js.LICENSE.txt +0 -1
- package/2551.min.js +0 -2
- package/2551.min.js.LICENSE.txt +0 -1
- package/2602.min.js +0 -2
- package/2602.min.js.LICENSE.txt +0 -1
- package/2645.min.js +0 -2
- package/2645.min.js.LICENSE.txt +0 -1
- package/2676.min.js +0 -2
- package/2676.min.js.LICENSE.txt +0 -1
- package/2694.min.js +0 -2
- package/2694.min.js.LICENSE.txt +0 -1
- package/286.min.js +0 -2
- package/286.min.js.LICENSE.txt +0 -1
- package/2926.min.js +0 -2
- package/2926.min.js.LICENSE.txt +0 -1
- package/3107.min.js +0 -2
- package/3107.min.js.LICENSE.txt +0 -1
- package/3127.min.js +0 -2
- package/3127.min.js.LICENSE.txt +0 -1
- package/3237.min.js +0 -2
- package/3237.min.js.LICENSE.txt +0 -1
- package/3245.min.js +0 -2
- package/3245.min.js.LICENSE.txt +0 -1
- package/3267.min.js +0 -2
- package/3267.min.js.LICENSE.txt +0 -1
- package/3292.min.js +0 -2
- package/3292.min.js.LICENSE.txt +0 -1
- package/335.min.js +0 -2
- package/335.min.js.LICENSE.txt +0 -1
- package/3371.min.js +0 -2
- package/3371.min.js.LICENSE.txt +0 -1
- package/3416.min.js +0 -2
- package/3416.min.js.LICENSE.txt +0 -1
- package/3433.min.js +0 -2
- package/3433.min.js.LICENSE.txt +0 -1
- package/3438.min.js +0 -2
- package/3438.min.js.LICENSE.txt +0 -1
- package/344.min.js +0 -2
- package/344.min.js.LICENSE.txt +0 -1
- package/3454.min.js +0 -2
- package/3454.min.js.LICENSE.txt +0 -1
- package/3476.min.js +0 -2
- package/3476.min.js.LICENSE.txt +0 -1
- package/3506.min.js +0 -2
- package/3506.min.js.LICENSE.txt +0 -1
- package/3523.min.js +0 -2
- package/3523.min.js.LICENSE.txt +0 -1
- package/3537.min.js +0 -2
- package/3537.min.js.LICENSE.txt +0 -1
- package/357.min.js +0 -2
- package/357.min.js.LICENSE.txt +0 -1
- package/3622.min.js +0 -2
- package/3622.min.js.LICENSE.txt +0 -1
- package/3632.min.js +0 -2
- package/3632.min.js.LICENSE.txt +0 -1
- package/3695.min.js +0 -2
- package/3695.min.js.LICENSE.txt +0 -1
- package/372.min.js +0 -2
- package/372.min.js.LICENSE.txt +0 -1
- package/3801.min.js +0 -2
- package/3801.min.js.LICENSE.txt +0 -1
- package/3890.min.js +0 -2
- package/3890.min.js.LICENSE.txt +0 -1
- package/3905.min.js +0 -2
- package/3905.min.js.LICENSE.txt +0 -1
- package/401.min.js +0 -2
- package/401.min.js.LICENSE.txt +0 -1
- package/4036.min.js +0 -2
- package/4036.min.js.LICENSE.txt +0 -1
- package/4055.min.js +0 -2
- package/4055.min.js.LICENSE.txt +0 -1
- package/4154.min.js +0 -2
- package/4154.min.js.LICENSE.txt +0 -1
- package/4157.min.js +0 -2
- package/4157.min.js.LICENSE.txt +0 -1
- package/4159.min.js +0 -2
- package/4159.min.js.LICENSE.txt +0 -1
- package/4191.min.js +0 -2
- package/4191.min.js.LICENSE.txt +0 -1
- package/4264.min.js +0 -2
- package/4264.min.js.LICENSE.txt +0 -1
- package/4289.min.js +0 -2
- package/4289.min.js.LICENSE.txt +0 -1
- package/4292.min.js +0 -2
- package/4292.min.js.LICENSE.txt +0 -1
- package/4302.min.js +0 -2
- package/4302.min.js.LICENSE.txt +0 -1
- package/4315.min.js +0 -2
- package/4315.min.js.LICENSE.txt +0 -1
- package/435.min.js +0 -2
- package/435.min.js.LICENSE.txt +0 -1
- package/439.min.js +0 -2
- package/439.min.js.LICENSE.txt +0 -1
- package/4432.min.js +0 -2
- package/4432.min.js.LICENSE.txt +0 -1
- package/449.min.js +0 -2
- package/449.min.js.LICENSE.txt +0 -1
- package/4512.min.js +0 -2
- package/4512.min.js.LICENSE.txt +0 -1
- package/4546.min.js +0 -2
- package/4546.min.js.LICENSE.txt +0 -1
- package/4571.min.js +0 -2
- package/4571.min.js.LICENSE.txt +0 -1
- package/4584.min.js +0 -2
- package/4584.min.js.LICENSE.txt +0 -1
- package/461.min.js +0 -2
- package/461.min.js.LICENSE.txt +0 -1
- package/4673.min.js +0 -2
- package/4673.min.js.LICENSE.txt +0 -1
- package/4847.min.js +0 -2
- package/4847.min.js.LICENSE.txt +0 -1
- package/489.min.js +0 -2
- package/489.min.js.LICENSE.txt +0 -1
- package/4893.min.js +0 -2
- package/4893.min.js.LICENSE.txt +0 -1
- package/4910.min.js +0 -2
- package/4910.min.js.LICENSE.txt +0 -1
- package/4924.min.js +0 -2
- package/4924.min.js.LICENSE.txt +0 -1
- package/5015.min.js +0 -2
- package/5015.min.js.LICENSE.txt +0 -1
- package/5037.min.js +0 -2
- package/5037.min.js.LICENSE.txt +0 -1
- package/5076.min.js +0 -2
- package/5076.min.js.LICENSE.txt +0 -1
- package/5163.min.js +0 -2
- package/5163.min.js.LICENSE.txt +0 -1
- package/518.min.js +0 -2
- package/518.min.js.LICENSE.txt +0 -1
- package/5189.min.js +0 -2
- package/5189.min.js.LICENSE.txt +0 -1
- package/5192.min.js +0 -2
- package/5192.min.js.LICENSE.txt +0 -1
- package/5201.min.js +0 -2
- package/5201.min.js.LICENSE.txt +0 -1
- package/5239.min.js +0 -2
- package/5239.min.js.LICENSE.txt +0 -1
- package/5369.min.js +0 -2
- package/5369.min.js.LICENSE.txt +0 -1
- package/5400.min.js +0 -2
- package/5400.min.js.LICENSE.txt +0 -1
- package/5414.min.js +0 -2
- package/5414.min.js.LICENSE.txt +0 -1
- package/5434.min.js +0 -2
- package/5434.min.js.LICENSE.txt +0 -1
- package/5530.min.js +0 -2
- package/5530.min.js.LICENSE.txt +0 -1
- package/5535.min.js +0 -2
- package/5535.min.js.LICENSE.txt +0 -1
- package/561.min.js +0 -2
- package/561.min.js.LICENSE.txt +0 -1
- package/5662.min.js +0 -2
- package/5662.min.js.LICENSE.txt +0 -1
- package/5775.min.js +0 -2
- package/5775.min.js.LICENSE.txt +0 -1
- package/5800.min.js +0 -2
- package/5800.min.js.LICENSE.txt +0 -1
- package/5808.min.js +0 -2
- package/5808.min.js.LICENSE.txt +0 -1
- package/585.min.js +0 -2
- package/585.min.js.LICENSE.txt +0 -1
- package/5955.min.js +0 -2
- package/5955.min.js.LICENSE.txt +0 -1
- package/5969.min.js +0 -2
- package/5969.min.js.LICENSE.txt +0 -1
- package/6119.min.js +0 -2
- package/6119.min.js.LICENSE.txt +0 -1
- package/6136.min.js +0 -2
- package/6136.min.js.LICENSE.txt +0 -1
- package/6294.min.js +0 -2
- package/6294.min.js.LICENSE.txt +0 -1
- package/6378.min.js +0 -2
- package/6378.min.js.LICENSE.txt +0 -1
- package/6436.min.js +0 -2
- package/6436.min.js.LICENSE.txt +0 -1
- package/6493.min.js +0 -2
- package/6493.min.js.LICENSE.txt +0 -1
- package/6510.min.js +0 -2
- package/6510.min.js.LICENSE.txt +0 -1
- package/6520.min.js +0 -2
- package/6520.min.js.LICENSE.txt +0 -1
- package/6521.min.js +0 -2
- package/6521.min.js.LICENSE.txt +0 -1
- package/66.min.js +0 -2
- package/66.min.js.LICENSE.txt +0 -1
- package/6732.min.js +0 -2
- package/6732.min.js.LICENSE.txt +0 -1
- package/6735.min.js +0 -2
- package/6735.min.js.LICENSE.txt +0 -1
- package/6787.min.js +0 -2
- package/6787.min.js.LICENSE.txt +0 -1
- package/6832.min.js +0 -2
- package/6832.min.js.LICENSE.txt +0 -1
- package/6851.min.js +0 -2
- package/6851.min.js.LICENSE.txt +0 -1
- package/6922.min.js +0 -2
- package/6922.min.js.LICENSE.txt +0 -1
- package/6947.min.js +0 -2
- package/6947.min.js.LICENSE.txt +0 -1
- package/6964.min.js +0 -2
- package/6964.min.js.LICENSE.txt +0 -1
- package/6974.min.js +0 -2
- package/6974.min.js.LICENSE.txt +0 -1
- package/6979.min.js +0 -2
- package/6979.min.js.LICENSE.txt +0 -1
- package/6981.min.js +0 -2
- package/6981.min.js.LICENSE.txt +0 -1
- package/705.min.js +0 -2
- package/705.min.js.LICENSE.txt +0 -1
- package/707.min.js +0 -2
- package/707.min.js.LICENSE.txt +0 -1
- package/7087.min.js +0 -2
- package/7087.min.js.LICENSE.txt +0 -1
- package/7167.min.js +0 -2
- package/7167.min.js.LICENSE.txt +0 -1
- package/7306.min.js +0 -2
- package/7306.min.js.LICENSE.txt +0 -1
- package/7311.min.js +0 -2
- package/7311.min.js.LICENSE.txt +0 -1
- package/7373.min.js +0 -2
- package/7373.min.js.LICENSE.txt +0 -1
- package/7528.min.js +0 -2
- package/7528.min.js.LICENSE.txt +0 -1
- package/7664.min.js +0 -2
- package/7664.min.js.LICENSE.txt +0 -1
- package/7774.min.js +0 -2
- package/7774.min.js.LICENSE.txt +0 -1
- package/7929.min.js +0 -2
- package/7929.min.js.LICENSE.txt +0 -1
- package/7947.min.js +0 -2
- package/7947.min.js.LICENSE.txt +0 -1
- package/800.min.js +0 -2
- package/800.min.js.LICENSE.txt +0 -1
- package/8062.min.js +0 -2
- package/8062.min.js.LICENSE.txt +0 -1
- package/8114.min.js +0 -2
- package/8114.min.js.LICENSE.txt +0 -1
- package/8125.min.js +0 -2
- package/8125.min.js.LICENSE.txt +0 -1
- package/814.min.js +0 -2
- package/814.min.js.LICENSE.txt +0 -1
- package/8155.min.js +0 -2
- package/8155.min.js.LICENSE.txt +0 -1
- package/817.min.js +0 -2
- package/817.min.js.LICENSE.txt +0 -1
- package/8194.min.js +0 -2
- package/8194.min.js.LICENSE.txt +0 -1
- package/823.min.js +0 -2
- package/823.min.js.LICENSE.txt +0 -1
- package/83.min.js +0 -2
- package/83.min.js.LICENSE.txt +0 -1
- package/8338.min.js +0 -2
- package/8338.min.js.LICENSE.txt +0 -1
- package/8433.min.js +0 -2
- package/8433.min.js.LICENSE.txt +0 -1
- package/8469.min.js +0 -2
- package/8469.min.js.LICENSE.txt +0 -1
- package/8558.min.js +0 -2
- package/8558.min.js.LICENSE.txt +0 -1
- package/8612.min.js +0 -2
- package/8612.min.js.LICENSE.txt +0 -1
- package/8656.min.js +0 -2
- package/8656.min.js.LICENSE.txt +0 -1
- package/8670.min.js +0 -2
- package/8670.min.js.LICENSE.txt +0 -1
- package/8695.min.js +0 -2
- package/8695.min.js.LICENSE.txt +0 -1
- package/8746.min.js +0 -2
- package/8746.min.js.LICENSE.txt +0 -1
- package/8764.min.js +0 -2
- package/8764.min.js.LICENSE.txt +0 -1
- package/8814.min.js +0 -2
- package/8814.min.js.LICENSE.txt +0 -1
- package/8824.min.js +0 -2
- package/8824.min.js.LICENSE.txt +0 -1
- package/8920.min.js +0 -2
- package/8920.min.js.LICENSE.txt +0 -1
- package/8934.min.js +0 -2
- package/8934.min.js.LICENSE.txt +0 -1
- package/9151.min.js +0 -2
- package/9151.min.js.LICENSE.txt +0 -1
- package/9231.min.js +0 -2
- package/9231.min.js.LICENSE.txt +0 -1
- package/94.min.js +0 -2
- package/94.min.js.LICENSE.txt +0 -1
- package/9487.min.js +0 -2
- package/9487.min.js.LICENSE.txt +0 -1
- package/9512.min.js +0 -2
- package/9512.min.js.LICENSE.txt +0 -1
- package/9555.min.js +0 -2
- package/9555.min.js.LICENSE.txt +0 -1
- package/9581.min.js +0 -2
- package/9581.min.js.LICENSE.txt +0 -1
- package/9587.min.js +0 -2
- package/9587.min.js.LICENSE.txt +0 -1
- package/9613.min.js +0 -2
- package/9613.min.js.LICENSE.txt +0 -1
- package/9630.min.js +0 -2
- package/9630.min.js.LICENSE.txt +0 -1
- package/986.min.js +0 -2
- package/986.min.js.LICENSE.txt +0 -1
- package/9892.min.js +0 -2
- package/9892.min.js.LICENSE.txt +0 -1
- package/9946.min.js +0 -2
- package/9946.min.js.LICENSE.txt +0 -1
- package/9969.min.js +0 -2
- package/9969.min.js.LICENSE.txt +0 -1
- package/9989.min.js +0 -2
- package/9989.min.js.LICENSE.txt +0 -1
- package/basic_dist_browser_index_js.js +0 -30
- package/effects_bubble_dist_browser_BubbleDrawer_js.js +0 -30
- package/effects_bubble_dist_browser_index_js.js +0 -30
- package/effects_trail_dist_browser_TrailDrawer_js.js +0 -30
- package/effects_trail_dist_browser_index_js.js +0 -30
- package/engine_dist_browser_Core_Container_js.js +0 -100
- package/full_dist_browser_index_js.js +0 -30
- package/interactions_external_attract_dist_browser_Attractor_js.js +0 -40
- package/interactions_external_attract_dist_browser_index_js.js +0 -50
- package/interactions_external_bounce_dist_browser_Bouncer_js.js +0 -40
- package/interactions_external_bounce_dist_browser_index_js.js +0 -50
- package/interactions_external_bubble_dist_browser_Bubbler_js.js +0 -40
- package/interactions_external_bubble_dist_browser_index_js.js +0 -90
- package/interactions_external_connect_dist_browser_Connector_js.js +0 -40
- package/interactions_external_connect_dist_browser_index_js.js +0 -70
- package/interactions_external_grab_dist_browser_Grabber_js.js +0 -40
- package/interactions_external_grab_dist_browser_index_js.js +0 -70
- package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +0 -40
- package/interactions_external_particle_dist_browser_index_js.js +0 -30
- package/interactions_external_pause_dist_browser_Pauser_js.js +0 -30
- package/interactions_external_pause_dist_browser_index_js.js +0 -30
- package/interactions_external_pop_dist_browser_Popper_js.js +0 -30
- package/interactions_external_pop_dist_browser_index_js.js +0 -30
- package/interactions_external_push_dist_browser_Pusher_js.js +0 -30
- package/interactions_external_push_dist_browser_index_js.js +0 -50
- package/interactions_external_remove_dist_browser_Remover_js.js +0 -30
- package/interactions_external_remove_dist_browser_index_js.js +0 -50
- package/interactions_external_repulse_dist_browser_Repulser_js.js +0 -30
- package/interactions_external_repulse_dist_browser_index_js.js +0 -90
- package/interactions_external_slow_dist_browser_Slower_js.js +0 -30
- package/interactions_external_slow_dist_browser_index_js.js +0 -50
- package/interactions_external_trail_dist_browser_TrailMaker_js.js +0 -30
- package/interactions_external_trail_dist_browser_index_js.js +0 -50
- package/interactions_light_dist_browser_ExternalLighter_js.js +0 -40
- package/interactions_light_dist_browser_ParticlesLighter_js.js +0 -40
- package/interactions_light_dist_browser_index_js.js +0 -110
- package/interactions_particles_attract_dist_browser_Attractor_js.js +0 -30
- package/interactions_particles_attract_dist_browser_index_js.js +0 -30
- package/interactions_particles_collisions_dist_browser_Collider_js.js +0 -70
- package/interactions_particles_collisions_dist_browser_index_js.js +0 -30
- package/interactions_particles_links_dist_browser_LinkInstance_js.js +0 -40
- package/interactions_particles_links_dist_browser_Linker_js.js +0 -40
- package/interactions_particles_links_dist_browser_LinksPlugin_js.js +0 -30
- package/interactions_particles_links_dist_browser_index_js.js +0 -90
- package/interactions_particles_links_dist_browser_interaction_js.js +0 -30
- package/interactions_particles_links_dist_browser_plugin_js.js +0 -30
- package/interactions_particles_repulse_dist_browser_Repulser_js.js +0 -40
- package/interactions_particles_repulse_dist_browser_index_js.js +0 -30
- package/move_base_dist_browser_BaseMover_js.js +0 -40
- package/move_base_dist_browser_index_js.js +0 -30
- package/move_parallax_dist_browser_ParallaxMover_js.js +0 -30
- package/move_parallax_dist_browser_index_js.js +0 -30
- package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +0 -30
- package/paths_curlNoise_dist_browser_index_js.js +0 -30
- package/paths_curves_dist_browser_CurvesPathGenerator_js.js +0 -40
- package/paths_curves_dist_browser_index_js.js +0 -30
- package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +0 -60
- package/paths_perlinNoise_dist_browser_index_js.js +0 -30
- package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +0 -30
- package/paths_polygon_dist_browser_index_js.js +0 -30
- package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +0 -30
- package/paths_simplexNoise_dist_browser_index_js.js +0 -30
- package/paths_svg_dist_browser_SVGPathGenerator_js.js +0 -30
- package/paths_svg_dist_browser_index_js.js +0 -30
- package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +0 -30
- package/paths_zigzag_dist_browser_index_js.js +0 -30
- package/pjs_dist_browser_index_js.js +0 -50
- package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +0 -30
- package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +0 -60
- package/plugins_absorbers_dist_browser_Absorbers_js.js +0 -30
- package/plugins_absorbers_dist_browser_index_js.js +0 -50
- package/plugins_canvasMask_dist_browser_CanvasMaskInstance_js.js +0 -40
- package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +0 -100
- package/plugins_canvasMask_dist_browser_index_js.js +0 -30
- package/plugins_easings_back_dist_browser_index_js.js +0 -30
- package/plugins_easings_circ_dist_browser_index_js.js +0 -30
- package/plugins_easings_cubic_dist_browser_index_js.js +0 -30
- package/plugins_easings_expo_dist_browser_index_js.js +0 -30
- package/plugins_easings_linear_dist_browser_index_js.js +0 -30
- package/plugins_easings_quad_dist_browser_index_js.js +0 -30
- package/plugins_easings_quart_dist_browser_index_js.js +0 -30
- package/plugins_easings_quint_dist_browser_index_js.js +0 -30
- package/plugins_easings_sine_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +0 -180
- package/plugins_emittersShapes_canvas_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +0 -120
- package/plugins_emittersShapes_circle_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +0 -140
- package/plugins_emittersShapes_path_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +0 -140
- package/plugins_emittersShapes_polygon_dist_browser_index_js.js +0 -30
- package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +0 -120
- package/plugins_emittersShapes_square_dist_browser_index_js.js +0 -30
- package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
- package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -90
- package/plugins_emitters_dist_browser_Emitters_js.js +0 -30
- package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
- package/plugins_emitters_dist_browser_index_js.js +0 -100
- package/plugins_exports_image_dist_browser_ExportImageInstance_js.js +0 -30
- package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +0 -30
- package/plugins_exports_image_dist_browser_index_js.js +0 -30
- package/plugins_exports_json_dist_browser_ExportJSONInstance_js.js +0 -30
- package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +0 -30
- package/plugins_exports_json_dist_browser_index_js.js +0 -30
- package/plugins_exports_video_dist_browser_ExportVideoInstance_js.js +0 -30
- package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +0 -30
- package/plugins_exports_video_dist_browser_index_js.js +0 -30
- package/plugins_hsvColor_dist_browser_HsvColorManager_js.js +0 -30
- package/plugins_hsvColor_dist_browser_index_js.js +0 -30
- package/plugins_infection_dist_browser_InfectionInstance_js.js +0 -40
- package/plugins_infection_dist_browser_InfectionPlugin_js.js +0 -50
- package/plugins_infection_dist_browser_ParticlesInfecter_js.js +0 -30
- package/plugins_infection_dist_browser_index_js.js +0 -50
- package/plugins_motion_dist_browser_MotionInstance_js.js +0 -30
- package/plugins_motion_dist_browser_MotionPlugin_js.js +0 -50
- package/plugins_motion_dist_browser_index_js.js +0 -30
- package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +0 -40
- package/plugins_poisson_dist_browser_PoissonInstance_js.js +0 -40
- package/plugins_poisson_dist_browser_index_js.js +0 -30
- package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +0 -40
- package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +0 -90
- package/plugins_polygonMask_dist_browser_index_js.js +0 -70
- package/plugins_sounds_dist_browser_SoundsInstance_js.js +0 -30
- package/plugins_sounds_dist_browser_SoundsPlugin_js.js +0 -120
- package/plugins_sounds_dist_browser_index_js.js +0 -30
- package/shapes_arrow_dist_browser_ArrowDrawer_js.js +0 -40
- package/shapes_arrow_dist_browser_index_js.js +0 -30
- package/shapes_cards_dist_browser_ClubDrawer_js.js +0 -40
- package/shapes_cards_dist_browser_DiamondDrawer_js.js +0 -40
- package/shapes_cards_dist_browser_HeartDrawer_js.js +0 -40
- package/shapes_cards_dist_browser_SpadeDrawer_js.js +0 -40
- package/shapes_cards_dist_browser_index_js.js +0 -30
- package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
- package/shapes_circle_dist_browser_index_js.js +0 -30
- package/shapes_cog_dist_browser_CogDrawer_js.js +0 -40
- package/shapes_cog_dist_browser_index_js.js +0 -30
- package/shapes_emoji_dist_browser_EmojiDrawer_js.js +0 -40
- package/shapes_emoji_dist_browser_index_js.js +0 -40
- package/shapes_heart_dist_browser_HeartDrawer_js.js +0 -40
- package/shapes_heart_dist_browser_index_js.js +0 -30
- package/shapes_image_dist_browser_GifUtils_Utils_js.js +0 -50
- package/shapes_image_dist_browser_ImageDrawer_js.js +0 -30
- package/shapes_image_dist_browser_ImagePreloader_js.js +0 -40
- package/shapes_image_dist_browser_index_js.js +0 -40
- package/shapes_line_dist_browser_LineDrawer_js.js +0 -40
- package/shapes_line_dist_browser_index_js.js +0 -30
- package/shapes_path_dist_browser_PathDrawer_js.js +0 -40
- package/shapes_path_dist_browser_index_js.js +0 -30
- package/shapes_polygon_dist_browser_PolygonDrawer_js.js +0 -50
- package/shapes_polygon_dist_browser_TriangleDrawer_js.js +0 -50
- package/shapes_polygon_dist_browser_index_js.js +0 -30
- package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +0 -40
- package/shapes_rounded-polygon_dist_browser_index_js.js +0 -30
- package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +0 -40
- package/shapes_rounded-rect_dist_browser_index_js.js +0 -30
- package/shapes_spiral_dist_browser_SpiralDrawer_js.js +0 -40
- package/shapes_spiral_dist_browser_index_js.js +0 -30
- package/shapes_square_dist_browser_SquareDrawer_js.js +0 -40
- package/shapes_square_dist_browser_index_js.js +0 -30
- package/shapes_star_dist_browser_StarDrawer_js.js +0 -40
- package/shapes_star_dist_browser_index_js.js +0 -30
- package/shapes_text_dist_browser_index_js.js +0 -50
- package/slim_dist_browser_index_js.js +0 -30
- package/updaters_color_dist_browser_ColorUpdater_js.js +0 -30
- package/updaters_color_dist_browser_index_js.js +0 -30
- package/updaters_destroy_dist_browser_DestroyUpdater_js.js +0 -90
- package/updaters_destroy_dist_browser_index_js.js +0 -30
- package/updaters_gradient_dist_browser_GradientUpdater_js.js +0 -100
- package/updaters_gradient_dist_browser_index_js.js +0 -30
- package/updaters_life_dist_browser_LifeUpdater_js.js +0 -70
- package/updaters_life_dist_browser_index_js.js +0 -30
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
- package/updaters_opacity_dist_browser_index_js.js +0 -30
- package/updaters_orbit_dist_browser_OrbitUpdater_js.js +0 -60
- package/updaters_orbit_dist_browser_index_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
- package/updaters_outModes_dist_browser_index_js.js +0 -30
- package/updaters_roll_dist_browser_RollUpdater_js.js +0 -60
- package/updaters_roll_dist_browser_index_js.js +0 -30
- package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
- package/updaters_rotate_dist_browser_index_js.js +0 -30
- package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
- package/updaters_size_dist_browser_index_js.js +0 -30
- package/updaters_strokeColor_dist_browser_StrokeColorUpdater_js.js +0 -30
- package/updaters_strokeColor_dist_browser_index_js.js +0 -30
- package/updaters_tilt_dist_browser_TiltUpdater_js.js +0 -50
- package/updaters_tilt_dist_browser_index_js.js +0 -30
- package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +0 -50
- package/updaters_twinkle_dist_browser_index_js.js +0 -30
- package/updaters_wobble_dist_browser_WobbleUpdater_js.js +0 -60
- package/updaters_wobble_dist_browser_index_js.js +0 -30
- package/utils_simplexNoise_dist_browser_index_js.js +0 -80
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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([["interactions_particles_links_dist_browser_LinksPlugin_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../interactions/particles/links/dist/browser/LinksPlugin.js":
|
|
21
|
-
/*!**********************************************************************!*\
|
|
22
|
-
!*** ../../interactions/particles/links/dist/browser/LinksPlugin.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 */ LinksPlugin: () => (/* binding */ LinksPlugin)\n/* harmony export */ });\nclass LinksPlugin {\n constructor() {\n this.id = \"links\";\n }\n async getPlugin(container) {\n const {\n LinkInstance\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_links_dist_browser_LinkInstance_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./LinkInstance.js */ \"../../interactions/particles/links/dist/browser/LinkInstance.js\"));\n return new LinkInstance(container);\n }\n loadOptions() {}\n needsPlugin() {\n return true;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/LinksPlugin.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,90 +0,0 @@
|
|
|
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.3.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([["interactions_particles_links_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../interactions/particles/links/dist/browser/Options/Classes/Links.js":
|
|
21
|
-
/*!********************************************************************************!*\
|
|
22
|
-
!*** ../../interactions/particles/links/dist/browser/Options/Classes/Links.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 */ Links: () => (/* binding */ Links)\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 _LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LinksShadow.js */ \"../../interactions/particles/links/dist/browser/Options/Classes/LinksShadow.js\");\n/* harmony import */ var _LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LinksTriangle.js */ \"../../interactions/particles/links/dist/browser/Options/Classes/LinksTriangle.js\");\n\n\n\nclass Links {\n constructor() {\n this.blink = false;\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#fff\";\n this.consent = false;\n this.distance = 100;\n this.enable = false;\n this.frequency = 1;\n this.opacity = 1;\n this.shadow = new _LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__.LinksShadow();\n this.triangles = new _LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__.LinksTriangle();\n this.width = 1;\n this.warp = false;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.id !== undefined) {\n this.id = data.id;\n }\n if (data.blink !== undefined) {\n this.blink = data.blink;\n }\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n if (data.consent !== undefined) {\n this.consent = data.consent;\n }\n if (data.distance !== undefined) {\n this.distance = data.distance;\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.frequency !== undefined) {\n this.frequency = data.frequency;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n this.shadow.load(data.shadow);\n this.triangles.load(data.triangles);\n if (data.width !== undefined) {\n this.width = data.width;\n }\n if (data.warp !== undefined) {\n this.warp = data.warp;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/Options/Classes/Links.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../interactions/particles/links/dist/browser/Options/Classes/LinksShadow.js":
|
|
31
|
-
/*!**************************************************************************************!*\
|
|
32
|
-
!*** ../../interactions/particles/links/dist/browser/Options/Classes/LinksShadow.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 */ LinksShadow: () => (/* binding */ LinksShadow)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass LinksShadow {\n constructor() {\n this.blur = 5;\n this.color = new _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor();\n this.color.value = \"#000\";\n this.enable = false;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.blur !== undefined) {\n this.blur = data.blur;\n }\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/Options/Classes/LinksShadow.js?");
|
|
37
|
-
|
|
38
|
-
/***/ }),
|
|
39
|
-
|
|
40
|
-
/***/ "../../interactions/particles/links/dist/browser/Options/Classes/LinksTriangle.js":
|
|
41
|
-
/*!****************************************************************************************!*\
|
|
42
|
-
!*** ../../interactions/particles/links/dist/browser/Options/Classes/LinksTriangle.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 */ LinksTriangle: () => (/* binding */ LinksTriangle)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass LinksTriangle {\n constructor() {\n this.enable = false;\n this.frequency = 1;\n }\n load(data) {\n if (!data) {\n return;\n }\n if (data.color !== undefined) {\n this.color = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.OptionsColor.create(this.color, data.color);\n }\n if (data.enable !== undefined) {\n this.enable = data.enable;\n }\n if (data.frequency !== undefined) {\n this.frequency = data.frequency;\n }\n if (data.opacity !== undefined) {\n this.opacity = data.opacity;\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/Options/Classes/LinksTriangle.js?");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ "../../interactions/particles/links/dist/browser/Options/Interfaces/ILinks.js":
|
|
51
|
-
/*!************************************************************************************!*\
|
|
52
|
-
!*** ../../interactions/particles/links/dist/browser/Options/Interfaces/ILinks.js ***!
|
|
53
|
-
\************************************************************************************/
|
|
54
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
55
|
-
|
|
56
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/Options/Interfaces/ILinks.js?");
|
|
57
|
-
|
|
58
|
-
/***/ }),
|
|
59
|
-
|
|
60
|
-
/***/ "../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksShadow.js":
|
|
61
|
-
/*!******************************************************************************************!*\
|
|
62
|
-
!*** ../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksShadow.js ***!
|
|
63
|
-
\******************************************************************************************/
|
|
64
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
65
|
-
|
|
66
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksShadow.js?");
|
|
67
|
-
|
|
68
|
-
/***/ }),
|
|
69
|
-
|
|
70
|
-
/***/ "../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksTriangle.js":
|
|
71
|
-
/*!********************************************************************************************!*\
|
|
72
|
-
!*** ../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksTriangle.js ***!
|
|
73
|
-
\********************************************************************************************/
|
|
74
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
75
|
-
|
|
76
|
-
eval("__webpack_require__.r(__webpack_exports__);\n\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksTriangle.js?");
|
|
77
|
-
|
|
78
|
-
/***/ }),
|
|
79
|
-
|
|
80
|
-
/***/ "../../interactions/particles/links/dist/browser/index.js":
|
|
81
|
-
/*!****************************************************************!*\
|
|
82
|
-
!*** ../../interactions/particles/links/dist/browser/index.js ***!
|
|
83
|
-
\****************************************************************/
|
|
84
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
85
|
-
|
|
86
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Links: () => (/* reexport safe */ _Options_Classes_Links_js__WEBPACK_IMPORTED_MODULE_0__.Links),\n/* harmony export */ LinksShadow: () => (/* reexport safe */ _Options_Classes_LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__.LinksShadow),\n/* harmony export */ LinksTriangle: () => (/* reexport safe */ _Options_Classes_LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__.LinksTriangle),\n/* harmony export */ loadParticlesLinksInteraction: () => (/* binding */ loadParticlesLinksInteraction)\n/* harmony export */ });\n/* harmony import */ var _Options_Classes_Links_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Options/Classes/Links.js */ \"../../interactions/particles/links/dist/browser/Options/Classes/Links.js\");\n/* harmony import */ var _Options_Classes_LinksShadow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/LinksShadow.js */ \"../../interactions/particles/links/dist/browser/Options/Classes/LinksShadow.js\");\n/* harmony import */ var _Options_Classes_LinksTriangle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Options/Classes/LinksTriangle.js */ \"../../interactions/particles/links/dist/browser/Options/Classes/LinksTriangle.js\");\n/* harmony import */ var _Options_Interfaces_ILinks_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Options/Interfaces/ILinks.js */ \"../../interactions/particles/links/dist/browser/Options/Interfaces/ILinks.js\");\n/* harmony import */ var _Options_Interfaces_ILinksShadow_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Options/Interfaces/ILinksShadow.js */ \"../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksShadow.js\");\n/* harmony import */ var _Options_Interfaces_ILinksTriangle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Options/Interfaces/ILinksTriangle.js */ \"../../interactions/particles/links/dist/browser/Options/Interfaces/ILinksTriangle.js\");\nasync function loadParticlesLinksInteraction(engine, refresh = true) {\n const {\n loadLinksInteraction\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_links_dist_browser_interaction_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./interaction.js */ \"../../interactions/particles/links/dist/browser/interaction.js\")),\n {\n loadLinksPlugin\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_links_dist_browser_plugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./plugin.js */ \"../../interactions/particles/links/dist/browser/plugin.js\"));\n await loadLinksInteraction(engine, refresh);\n await loadLinksPlugin(engine, refresh);\n}\n\n\n\n\n\n\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/index.js?");
|
|
87
|
-
|
|
88
|
-
/***/ })
|
|
89
|
-
|
|
90
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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([["interactions_particles_links_dist_browser_interaction_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../interactions/particles/links/dist/browser/interaction.js":
|
|
21
|
-
/*!**********************************************************************!*\
|
|
22
|
-
!*** ../../interactions/particles/links/dist/browser/interaction.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 */ loadLinksInteraction: () => (/* binding */ loadLinksInteraction)\n/* harmony export */ });\nasync function loadLinksInteraction(engine, refresh = true) {\n await engine.addInteractor(\"particlesLinks\", async container => {\n const {\n Linker\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_links_dist_browser_Linker_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Linker.js */ \"../../interactions/particles/links/dist/browser/Linker.js\"));\n return new Linker(container);\n }, refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/interaction.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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([["interactions_particles_links_dist_browser_plugin_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../interactions/particles/links/dist/browser/plugin.js":
|
|
21
|
-
/*!*****************************************************************!*\
|
|
22
|
-
!*** ../../interactions/particles/links/dist/browser/plugin.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 */ loadLinksPlugin: () => (/* binding */ loadLinksPlugin)\n/* harmony export */ });\nasync function loadLinksPlugin(engine, refresh = true) {\n const {\n LinksPlugin\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_links_dist_browser_LinksPlugin_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./LinksPlugin.js */ \"../../interactions/particles/links/dist/browser/LinksPlugin.js\")),\n plugin = new LinksPlugin();\n await engine.addPlugin(plugin, refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/links/dist/browser/plugin.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,40 +0,0 @@
|
|
|
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.3.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([["interactions_particles_repulse_dist_browser_Repulser_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../interactions/particles/repulse/dist/browser/Options/Classes/ParticlesRepulse.js":
|
|
21
|
-
/*!*********************************************************************************************!*\
|
|
22
|
-
!*** ../../interactions/particles/repulse/dist/browser/Options/Classes/ParticlesRepulse.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 */ ParticlesRepulse: () => (/* binding */ ParticlesRepulse)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nclass ParticlesRepulse extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ValueWithRandom {\n constructor() {\n super();\n this.enabled = false;\n this.distance = 1;\n this.duration = 1;\n this.factor = 1;\n this.speed = 1;\n }\n load(data) {\n super.load(data);\n if (!data) {\n return;\n }\n if (data.enabled !== undefined) {\n this.enabled = data.enabled;\n }\n if (data.distance !== undefined) {\n this.distance = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.distance);\n }\n if (data.duration !== undefined) {\n this.duration = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.duration);\n }\n if (data.factor !== undefined) {\n this.factor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.factor);\n }\n if (data.speed !== undefined) {\n this.speed = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.setRangeValue)(data.speed);\n }\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/repulse/dist/browser/Options/Classes/ParticlesRepulse.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../interactions/particles/repulse/dist/browser/Repulser.js":
|
|
31
|
-
/*!*********************************************************************!*\
|
|
32
|
-
!*** ../../interactions/particles/repulse/dist/browser/Repulser.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 */ Repulser: () => (/* binding */ Repulser)\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 _Options_Classes_ParticlesRepulse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Options/Classes/ParticlesRepulse.js */ \"../../interactions/particles/repulse/dist/browser/Options/Classes/ParticlesRepulse.js\");\n\n\nconst minDistance = 0,\n identity = 1,\n squareExp = 2,\n minVelocity = 0;\nclass Repulser extends _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.ParticlesInteractorBase {\n constructor(container) {\n super(container);\n }\n clear() {}\n init() {}\n interact(p1) {\n const container = this.container;\n if (!p1.repulse) {\n const repulseOpt1 = p1.options.repulse;\n if (!repulseOpt1) {\n return;\n }\n p1.repulse = {\n distance: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(repulseOpt1.distance) * container.retina.pixelRatio,\n speed: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(repulseOpt1.speed),\n factor: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(repulseOpt1.factor)\n };\n }\n const pos1 = p1.getPosition(),\n query = container.particles.quadTree.queryCircle(pos1, p1.repulse.distance);\n for (const p2 of query) {\n if (p1 === p2 || p2.destroyed) {\n continue;\n }\n const pos2 = p2.getPosition(),\n {\n dx,\n dy,\n distance\n } = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getDistances)(pos2, pos1),\n velocity = p1.repulse.speed * p1.repulse.factor;\n if (distance > minDistance) {\n const repulseFactor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.clamp)((identity - Math.pow(distance / p1.repulse.distance, squareExp)) * velocity, minVelocity, velocity),\n normVec = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.create(dx / distance * repulseFactor, dy / distance * repulseFactor);\n p2.position.addTo(normVec);\n } else {\n const velocityVec = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.create(velocity, velocity);\n p2.position.addTo(velocityVec);\n }\n }\n }\n isEnabled(particle) {\n return particle.options.repulse?.enabled ?? false;\n }\n loadParticlesOptions(options, ...sources) {\n if (!options.repulse) {\n options.repulse = new _Options_Classes_ParticlesRepulse_js__WEBPACK_IMPORTED_MODULE_1__.ParticlesRepulse();\n }\n for (const source of sources) {\n options.repulse.load(source?.repulse);\n }\n }\n reset() {}\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/repulse/dist/browser/Repulser.js?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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([["interactions_particles_repulse_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../interactions/particles/repulse/dist/browser/index.js":
|
|
21
|
-
/*!******************************************************************!*\
|
|
22
|
-
!*** ../../interactions/particles/repulse/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 */ loadParticlesRepulseInteraction: () => (/* binding */ loadParticlesRepulseInteraction)\n/* harmony export */ });\nasync function loadParticlesRepulseInteraction(engine, refresh = true) {\n await engine.addInteractor(\"particlesRepulse\", async container => {\n const {\n Repulser\n } = await __webpack_require__.e(/*! import() */ \"interactions_particles_repulse_dist_browser_Repulser_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Repulser.js */ \"../../interactions/particles/repulse/dist/browser/Repulser.js\"));\n return new Repulser(container);\n }, refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../interactions/particles/repulse/dist/browser/index.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,40 +0,0 @@
|
|
|
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.3.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_BaseMover_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../move/base/dist/browser/BaseMover.js":
|
|
21
|
-
/*!*************************************************!*\
|
|
22
|
-
!*** ../../move/base/dist/browser/BaseMover.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 */ BaseMover: () => (/* binding */ BaseMover)\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 _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../move/base/dist/browser/Utils.js\");\n\n\nconst diffFactor = 2,\n defaultSizeFactor = 1,\n defaultDeltaFactor = 1;\nclass BaseMover {\n init(particle) {\n const options = particle.options,\n gravityOptions = options.move.gravity;\n particle.gravity = {\n enable: gravityOptions.enable,\n acceleration: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(gravityOptions.acceleration),\n inverse: gravityOptions.inverse\n };\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.initSpin)(particle);\n }\n isEnabled(particle) {\n return !particle.destroyed && particle.options.move.enable;\n }\n move(particle, delta) {\n const particleOptions = particle.options,\n moveOptions = particleOptions.move;\n if (!moveOptions.enable) {\n return;\n }\n const container = particle.container,\n pxRatio = container.retina.pixelRatio;\n particle.retina.moveSpeed ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(moveOptions.speed) * pxRatio;\n particle.retina.moveDrift ??= (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(particle.options.move.drift) * pxRatio;\n const slowFactor = (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.getProximitySpeedFactor)(particle),\n baseSpeed = particle.retina.moveSpeed * container.retina.reduceFactor,\n moveDrift = particle.retina.moveDrift,\n maxSize = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(particleOptions.size.value) * pxRatio,\n sizeFactor = moveOptions.size ? particle.getRadius() / maxSize : defaultSizeFactor,\n deltaFactor = delta.factor || defaultDeltaFactor,\n moveSpeed = baseSpeed * sizeFactor * slowFactor * deltaFactor / diffFactor,\n maxSpeed = particle.retina.maxSpeed ?? container.retina.maxSpeed;\n if (moveOptions.spin.enable) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.spin)(particle, moveSpeed);\n } else {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.move)(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, delta);\n }\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.applyDistance)(particle);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../move/base/dist/browser/BaseMover.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../move/base/dist/browser/Utils.js":
|
|
31
|
-
/*!*********************************************!*\
|
|
32
|
-
!*** ../../move/base/dist/browser/Utils.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 */ 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}\nfunction move(particle, moveOptions, moveSpeed, maxSpeed, moveDrift, delta) {\n 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}\nfunction 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 = 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?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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 init() {}\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 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 }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../move/parallax/dist/browser/ParallaxMover.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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 _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.Vector.create(speed * a, speed * -b);\n }\n 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 }\n reset() {}\n update() {}\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../paths/curlNoise/dist/browser/CurlNoiseGenerator.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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
|
-
}]);
|
|
@@ -1,40 +0,0 @@
|
|
|
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.3.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/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
|
-
/***/ "../../paths/curves/dist/browser/CurvesPathGenerator.js":
|
|
31
|
-
/*!**************************************************************!*\
|
|
32
|
-
!*** ../../paths/curves/dist/browser/CurvesPathGenerator.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 */ 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/* harmony import */ var _Curves_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Curves.js */ \"../../paths/curves/dist/browser/Curves.js\");\n\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 generate(p) {\n if (!p.pathGen) {\n const options = this.options;\n p.pathGen = (0,_Curves_js__WEBPACK_IMPORTED_MODULE_1__.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 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 }\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?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -1,30 +0,0 @@
|
|
|
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.3.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
|
-
}]);
|