@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,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([["shapes_cards_dist_browser_ClubDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cards/dist/browser/ClubDrawer.js":
|
|
21
|
-
/*!*****************************************************!*\
|
|
22
|
-
!*** ../../shapes/cards/dist/browser/ClubDrawer.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 */ ClubDrawer: () => (/* binding */ ClubDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/cards/dist/browser/Utils.js\");\n\nclass ClubDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawPath)(data, _Utils_js__WEBPACK_IMPORTED_MODULE_0__.paths.club);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/ClubDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/cards/dist/browser/Utils.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/cards/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 */ drawPath: () => (/* binding */ drawPath),\n/* harmony export */ paths: () => (/* binding */ paths)\n/* harmony export */ });\nfunction drawPath(data, path) {\n if (!path.segments.length || !path.segments[0].values.length) {\n return;\n }\n const {\n context,\n radius\n } = data;\n context.moveTo(path.segments[0].values[0].x * radius, path.segments[0].values[0].y * radius);\n for (const segment of path.segments) {\n context.bezierCurveTo(segment.values[1].x * radius, segment.values[1].y * radius, segment.values[2].x * radius, segment.values[2].y * radius, segment.values[3].x * radius, segment.values[3].y * radius);\n }\n for (let i = path.segments.length - 1; i >= 0; i--) {\n const segment = path.segments[i];\n context.bezierCurveTo(-segment.values[2].x * radius, segment.values[2].y * radius, -segment.values[1].x * radius, segment.values[1].y * radius, -segment.values[0].x * radius, segment.values[0].y * radius);\n }\n}\nconst n = 1.0 / 2;\nconst paths = {\n heart: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n / 2\n }]\n }]\n },\n diamond: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }]\n }, {\n values: [{\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }]\n }]\n },\n club: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n / 2\n }, {\n x: n / 2,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n },\n spade: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n }\n};\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/Utils.js?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -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([["shapes_cards_dist_browser_DiamondDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cards/dist/browser/DiamondDrawer.js":
|
|
21
|
-
/*!********************************************************!*\
|
|
22
|
-
!*** ../../shapes/cards/dist/browser/DiamondDrawer.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 */ DiamondDrawer: () => (/* binding */ DiamondDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/cards/dist/browser/Utils.js\");\n\nclass DiamondDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawPath)(data, _Utils_js__WEBPACK_IMPORTED_MODULE_0__.paths.diamond);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/DiamondDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/cards/dist/browser/Utils.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/cards/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 */ drawPath: () => (/* binding */ drawPath),\n/* harmony export */ paths: () => (/* binding */ paths)\n/* harmony export */ });\nfunction drawPath(data, path) {\n if (!path.segments.length || !path.segments[0].values.length) {\n return;\n }\n const {\n context,\n radius\n } = data;\n context.moveTo(path.segments[0].values[0].x * radius, path.segments[0].values[0].y * radius);\n for (const segment of path.segments) {\n context.bezierCurveTo(segment.values[1].x * radius, segment.values[1].y * radius, segment.values[2].x * radius, segment.values[2].y * radius, segment.values[3].x * radius, segment.values[3].y * radius);\n }\n for (let i = path.segments.length - 1; i >= 0; i--) {\n const segment = path.segments[i];\n context.bezierCurveTo(-segment.values[2].x * radius, segment.values[2].y * radius, -segment.values[1].x * radius, segment.values[1].y * radius, -segment.values[0].x * radius, segment.values[0].y * radius);\n }\n}\nconst n = 1.0 / 2;\nconst paths = {\n heart: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n / 2\n }]\n }]\n },\n diamond: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }]\n }, {\n values: [{\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }]\n }]\n },\n club: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n / 2\n }, {\n x: n / 2,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n },\n spade: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n }\n};\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/Utils.js?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -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([["shapes_cards_dist_browser_HeartDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cards/dist/browser/HeartDrawer.js":
|
|
21
|
-
/*!******************************************************!*\
|
|
22
|
-
!*** ../../shapes/cards/dist/browser/HeartDrawer.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 */ HeartDrawer: () => (/* binding */ HeartDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/cards/dist/browser/Utils.js\");\n\nclass HeartDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawPath)(data, _Utils_js__WEBPACK_IMPORTED_MODULE_0__.paths.heart);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/HeartDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/cards/dist/browser/Utils.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/cards/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 */ drawPath: () => (/* binding */ drawPath),\n/* harmony export */ paths: () => (/* binding */ paths)\n/* harmony export */ });\nfunction drawPath(data, path) {\n if (!path.segments.length || !path.segments[0].values.length) {\n return;\n }\n const {\n context,\n radius\n } = data;\n context.moveTo(path.segments[0].values[0].x * radius, path.segments[0].values[0].y * radius);\n for (const segment of path.segments) {\n context.bezierCurveTo(segment.values[1].x * radius, segment.values[1].y * radius, segment.values[2].x * radius, segment.values[2].y * radius, segment.values[3].x * radius, segment.values[3].y * radius);\n }\n for (let i = path.segments.length - 1; i >= 0; i--) {\n const segment = path.segments[i];\n context.bezierCurveTo(-segment.values[2].x * radius, segment.values[2].y * radius, -segment.values[1].x * radius, segment.values[1].y * radius, -segment.values[0].x * radius, segment.values[0].y * radius);\n }\n}\nconst n = 1.0 / 2;\nconst paths = {\n heart: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n / 2\n }]\n }]\n },\n diamond: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }]\n }, {\n values: [{\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }]\n }]\n },\n club: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n / 2\n }, {\n x: n / 2,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n },\n spade: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n }\n};\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/Utils.js?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -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([["shapes_cards_dist_browser_SpadeDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cards/dist/browser/SpadeDrawer.js":
|
|
21
|
-
/*!******************************************************!*\
|
|
22
|
-
!*** ../../shapes/cards/dist/browser/SpadeDrawer.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 */ SpadeDrawer: () => (/* binding */ SpadeDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/cards/dist/browser/Utils.js\");\n\nclass SpadeDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawPath)(data, _Utils_js__WEBPACK_IMPORTED_MODULE_0__.paths.spade);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/dist/browser/SpadeDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/cards/dist/browser/Utils.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/cards/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 */ drawPath: () => (/* binding */ drawPath),\n/* harmony export */ paths: () => (/* binding */ paths)\n/* harmony export */ });\nfunction drawPath(data, path) {\n if (!path.segments.length || !path.segments[0].values.length) {\n return;\n }\n const {\n context,\n radius\n } = data;\n context.moveTo(path.segments[0].values[0].x * radius, path.segments[0].values[0].y * radius);\n for (const segment of path.segments) {\n context.bezierCurveTo(segment.values[1].x * radius, segment.values[1].y * radius, segment.values[2].x * radius, segment.values[2].y * radius, segment.values[3].x * radius, segment.values[3].y * radius);\n }\n for (let i = path.segments.length - 1; i >= 0; i--) {\n const segment = path.segments[i];\n context.bezierCurveTo(-segment.values[2].x * radius, segment.values[2].y * radius, -segment.values[1].x * radius, segment.values[1].y * radius, -segment.values[0].x * radius, segment.values[0].y * radius);\n }\n}\nconst n = 1.0 / 2;\nconst paths = {\n heart: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n / 2\n }]\n }]\n },\n diamond: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }]\n }, {\n values: [{\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }]\n }]\n },\n club: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n / 2\n }, {\n x: n / 2,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n },\n spade: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n }\n};\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/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([["shapes_cards_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cards/dist/browser/index.js":
|
|
21
|
-
/*!************************************************!*\
|
|
22
|
-
!*** ../../shapes/cards/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 */ loadCardsShape: () => (/* binding */ loadCardsShape)\n/* harmony export */ });\nasync function loadCardsShape(engine, refresh = true) {\n const {\n SpadeDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_cards_dist_browser_SpadeDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./SpadeDrawer.js */ \"../../shapes/cards/dist/browser/SpadeDrawer.js\")),\n {\n HeartDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_cards_dist_browser_HeartDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./HeartDrawer.js */ \"../../shapes/cards/dist/browser/HeartDrawer.js\")),\n {\n DiamondDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_cards_dist_browser_DiamondDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./DiamondDrawer.js */ \"../../shapes/cards/dist/browser/DiamondDrawer.js\")),\n {\n ClubDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_cards_dist_browser_ClubDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./ClubDrawer.js */ \"../../shapes/cards/dist/browser/ClubDrawer.js\"));\n await engine.addShape([\"spade\", \"spades\"], new SpadeDrawer(), refresh);\n await engine.addShape([\"heart\", \"hearts\"], new HeartDrawer(), refresh);\n await engine.addShape([\"diamond\", \"diamonds\"], new DiamondDrawer(), refresh);\n await engine.addShape([\"club\", \"clubs\"], new ClubDrawer(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cards/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([["shapes_circle_dist_browser_CircleDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/circle/dist/browser/CircleDrawer.js":
|
|
21
|
-
/*!********************************************************!*\
|
|
22
|
-
!*** ../../shapes/circle/dist/browser/CircleDrawer.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 */ CircleDrawer: () => (/* binding */ CircleDrawer)\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 */ \"../../shapes/circle/dist/browser/Utils.js\");\n\n\nconst sides = 12,\n maxAngle = 360,\n minAngle = 0;\nclass CircleDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawCircle)(data);\n }\n getSidesCount() {\n return sides;\n }\n particleInit(container, particle) {\n const shapeData = particle.shapeData,\n angle = shapeData?.angle ?? {\n max: maxAngle,\n min: minAngle\n };\n particle.circleRange = !(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isObject)(angle) ? {\n min: minAngle,\n max: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(angle)\n } : {\n min: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(angle.min),\n max: (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.degToRad)(angle.max)\n };\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/circle/dist/browser/CircleDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/circle/dist/browser/Utils.js":
|
|
31
|
-
/*!*************************************************!*\
|
|
32
|
-
!*** ../../shapes/circle/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 */ drawCircle: () => (/* binding */ drawCircle)\n/* harmony export */ });\nconst double = 2,\n doublePI = Math.PI * double,\n minAngle = 0,\n origin = {\n x: 0,\n y: 0\n };\nfunction drawCircle(data) {\n const {\n context,\n particle,\n radius\n } = data;\n if (!particle.circleRange) {\n particle.circleRange = {\n min: minAngle,\n max: doublePI\n };\n }\n const circleRange = particle.circleRange;\n context.arc(origin.x, origin.y, radius, circleRange.min, circleRange.max, false);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/circle/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([["shapes_circle_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/circle/dist/browser/index.js":
|
|
21
|
-
/*!*************************************************!*\
|
|
22
|
-
!*** ../../shapes/circle/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 */ loadCircleShape: () => (/* binding */ loadCircleShape)\n/* harmony export */ });\nasync function loadCircleShape(engine, refresh = true) {\n const {\n CircleDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_circle_dist_browser_CircleDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./CircleDrawer.js */ \"../../shapes/circle/dist/browser/CircleDrawer.js\"));\n await engine.addShape(\"circle\", new CircleDrawer(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/circle/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([["shapes_cog_dist_browser_CogDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cog/dist/browser/CogDrawer.js":
|
|
21
|
-
/*!**************************************************!*\
|
|
22
|
-
!*** ../../shapes/cog/dist/browser/CogDrawer.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 */ CogDrawer: () => (/* binding */ CogDrawer)\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 */ \"../../shapes/cog/dist/browser/Utils.js\");\n\n\nconst defaultHoleRadius = 44,\n defaultInnerRadius = 72,\n defaultInnerTaper = 35,\n defaultNotches = 7,\n defaultOuterTaper = 50;\nclass CogDrawer {\n afterDraw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawCogHole)(data);\n }\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawCog)(data);\n }\n particleInit(container, particle) {\n const shapeData = particle.shapeData;\n particle.cogHoleRadius = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.holeRadius ?? defaultHoleRadius);\n particle.cogInnerRadius = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.innerRadius ?? defaultInnerRadius);\n particle.cogInnerTaper = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.innerTaper ?? defaultInnerTaper);\n particle.cogNotches = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.notches ?? defaultNotches);\n particle.cogOuterTaper = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.outerTaper ?? defaultOuterTaper);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cog/dist/browser/CogDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/cog/dist/browser/Utils.js":
|
|
31
|
-
/*!**********************************************!*\
|
|
32
|
-
!*** ../../shapes/cog/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 */ drawCog: () => (/* binding */ drawCog),\n/* harmony export */ drawCogHole: () => (/* binding */ drawCogHole)\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,\n minAngle = 0,\n origin = {\n x: 0,\n y: 0\n },\n taperFactor = 0.005;\nfunction drawCogHole(data) {\n const {\n context,\n particle,\n radius\n } = data;\n if (particle.cogHoleRadius === undefined || particle.cogInnerRadius === undefined || particle.cogInnerTaper === undefined || particle.cogNotches === undefined || particle.cogOuterTaper === undefined) {\n return;\n }\n const holeRadius = radius * particle.cogHoleRadius / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator;\n context.globalCompositeOperation = \"destination-out\";\n context.beginPath();\n context.moveTo(holeRadius, origin.y);\n context.arc(origin.x, origin.y, holeRadius, minAngle, doublePI);\n context.closePath();\n context.fill();\n context.globalCompositeOperation = \"source-over\";\n}\nfunction drawCog(data) {\n const {\n context,\n particle,\n radius\n } = data;\n if (particle.cogHoleRadius === undefined || particle.cogInnerRadius === undefined || particle.cogInnerTaper === undefined || particle.cogNotches === undefined || particle.cogOuterTaper === undefined) {\n return;\n }\n const angle = doublePI / (particle.cogNotches * double),\n taperAI = angle * particle.cogInnerTaper * taperFactor,\n taperAO = angle * particle.cogOuterTaper * taperFactor,\n innerRadius = radius * particle.cogInnerRadius / _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.percentDenominator;\n let a = angle,\n toggle = false;\n context.moveTo(radius * Math.cos(taperAO), radius * Math.sin(taperAO));\n for (; a <= doublePI; a += angle) {\n if (toggle) {\n context.lineTo(innerRadius * Math.cos(a - taperAI), innerRadius * Math.sin(a - taperAI));\n context.lineTo(radius * Math.cos(a + taperAO), radius * Math.sin(a + taperAO));\n } else {\n context.lineTo(radius * Math.cos(a - taperAO), radius * Math.sin(a - taperAO));\n context.lineTo(innerRadius * Math.cos(a + taperAI), innerRadius * Math.sin(a + taperAI));\n }\n toggle = !toggle;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cog/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([["shapes_cog_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/cog/dist/browser/index.js":
|
|
21
|
-
/*!**********************************************!*\
|
|
22
|
-
!*** ../../shapes/cog/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 */ loadCogShape: () => (/* binding */ loadCogShape)\n/* harmony export */ });\nasync function loadCogShape(engine, refresh = true) {\n const {\n CogDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_cog_dist_browser_CogDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./CogDrawer.js */ \"../../shapes/cog/dist/browser/CogDrawer.js\"));\n await engine.addShape(\"cog\", new CogDrawer(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/cog/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([["shapes_emoji_dist_browser_EmojiDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/emoji/dist/browser/EmojiDrawer.js":
|
|
21
|
-
/*!******************************************************!*\
|
|
22
|
-
!*** ../../shapes/emoji/dist/browser/EmojiDrawer.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 */ EmojiDrawer: () => (/* binding */ EmojiDrawer)\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 */ \"../../shapes/emoji/dist/browser/Utils.js\");\n/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Constants.js */ \"../../shapes/emoji/dist/browser/Constants.js\");\n\n\n\nconst defaultFont = '\"Twemoji Mozilla\", Apple Color Emoji, \"Segoe UI Emoji\", \"Noto Color Emoji\", \"EmojiOne Color\"';\nclass EmojiDrawer {\n constructor() {\n this._emojiShapeDict = new Map();\n }\n destroy() {\n for (const [key, emojiData] of this._emojiShapeDict) {\n if (emojiData instanceof ImageBitmap) {\n emojiData?.close();\n this._emojiShapeDict.delete(key);\n }\n }\n }\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawEmoji)(data);\n }\n async init(container) {\n const options = container.actualOptions;\n if (!_Constants_js__WEBPACK_IMPORTED_MODULE_2__.validTypes.find(t => (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.isInArray)(t, options.particles.shape.type))) {\n return;\n }\n const promises = [(0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.loadFont)(defaultFont)],\n shapeOptions = _Constants_js__WEBPACK_IMPORTED_MODULE_2__.validTypes.map(t => options.particles.shape.options[t]).find(t => !!t);\n if (shapeOptions) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.executeOnSingleOrMultiple)(shapeOptions, shape => {\n if (shape.font) {\n promises.push((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.loadFont)(shape.font));\n }\n });\n }\n await Promise.all(promises);\n }\n particleDestroy(particle) {\n delete particle.emojiData;\n }\n particleInit(container, particle) {\n const double = 2,\n shapeData = particle.shapeData;\n if (!shapeData?.value) {\n return;\n }\n const emoji = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(shapeData.value, particle.randomIndexData),\n font = shapeData.font ?? defaultFont;\n if (!emoji) {\n return;\n }\n const key = `${emoji}_${font}`,\n existingData = this._emojiShapeDict.get(key);\n if (existingData) {\n particle.emojiData = existingData;\n return;\n }\n const canvasSize = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(particle.size.value) * double;\n let emojiData;\n const maxSize = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeMax)(particle.size.value);\n if (typeof OffscreenCanvas !== \"undefined\") {\n const canvas = new OffscreenCanvas(canvasSize, canvasSize),\n context = canvas.getContext(\"2d\");\n if (!context) {\n return;\n }\n context.font = `400 ${maxSize * double}px ${font}`;\n context.textBaseline = \"middle\";\n context.textAlign = \"center\";\n context.fillText(emoji, maxSize, maxSize);\n emojiData = canvas.transferToImageBitmap();\n } else {\n const canvas = document.createElement(\"canvas\");\n canvas.width = canvasSize;\n canvas.height = canvasSize;\n const context = canvas.getContext(\"2d\");\n if (!context) {\n return;\n }\n context.font = `400 ${maxSize * double}px ${font}`;\n context.textBaseline = \"middle\";\n context.textAlign = \"center\";\n context.fillText(emoji, maxSize, maxSize);\n emojiData = canvas;\n }\n this._emojiShapeDict.set(key, emojiData);\n particle.emojiData = emojiData;\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/emoji/dist/browser/EmojiDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/emoji/dist/browser/Utils.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/emoji/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 */ drawEmoji: () => (/* binding */ drawEmoji)\n/* harmony export */ });\nfunction drawEmoji(data) {\n const {\n context,\n particle,\n radius,\n opacity\n } = data,\n emojiData = particle.emojiData,\n double = 2,\n diameter = radius * double,\n previousAlpha = context.globalAlpha;\n if (!emojiData) {\n return;\n }\n context.globalAlpha = opacity;\n context.drawImage(emojiData, -radius, -radius, diameter, diameter);\n context.globalAlpha = previousAlpha;\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/emoji/dist/browser/Utils.js?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -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([["shapes_emoji_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/emoji/dist/browser/Constants.js":
|
|
21
|
-
/*!****************************************************!*\
|
|
22
|
-
!*** ../../shapes/emoji/dist/browser/Constants.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 */ validTypes: () => (/* binding */ validTypes)\n/* harmony export */ });\nconst validTypes = [\"emoji\"];\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/emoji/dist/browser/Constants.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/emoji/dist/browser/index.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/emoji/dist/browser/index.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 */ loadEmojiShape: () => (/* binding */ loadEmojiShape)\n/* harmony export */ });\n/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Constants.js */ \"../../shapes/emoji/dist/browser/Constants.js\");\n\nasync function loadEmojiShape(engine, refresh = true) {\n const {\n EmojiDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_emoji_dist_browser_EmojiDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./EmojiDrawer.js */ \"../../shapes/emoji/dist/browser/EmojiDrawer.js\"));\n await engine.addShape(_Constants_js__WEBPACK_IMPORTED_MODULE_0__.validTypes, new EmojiDrawer(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/emoji/dist/browser/index.js?");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -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([["shapes_heart_dist_browser_HeartDrawer_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/heart/dist/browser/HeartDrawer.js":
|
|
21
|
-
/*!******************************************************!*\
|
|
22
|
-
!*** ../../shapes/heart/dist/browser/HeartDrawer.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 */ HeartDrawer: () => (/* binding */ HeartDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/heart/dist/browser/Utils.js\");\n\nclass HeartDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawHeart)(data);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/heart/dist/browser/HeartDrawer.js?");
|
|
27
|
-
|
|
28
|
-
/***/ }),
|
|
29
|
-
|
|
30
|
-
/***/ "../../shapes/heart/dist/browser/Utils.js":
|
|
31
|
-
/*!************************************************!*\
|
|
32
|
-
!*** ../../shapes/heart/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 */ drawHeart: () => (/* binding */ drawHeart)\n/* harmony export */ });\nconst half = 0.5,\n double = 2;\nfunction drawHeart(data) {\n const {\n context,\n radius\n } = data,\n diameter = radius * double,\n halfRadius = radius * half,\n radiusAndHalf = radius + halfRadius,\n x = -radius,\n y = -radius;\n context.moveTo(x, y + halfRadius);\n context.quadraticCurveTo(x, y, x + halfRadius, y);\n context.quadraticCurveTo(x + radius, y, x + radius, y + halfRadius);\n context.quadraticCurveTo(x + radius, y, x + radiusAndHalf, y);\n context.quadraticCurveTo(x + diameter, y, x + diameter, y + halfRadius);\n context.quadraticCurveTo(x + diameter, y + radius, x + radiusAndHalf, y + radiusAndHalf);\n context.lineTo(x + radius, y + diameter);\n context.lineTo(x + halfRadius, y + radiusAndHalf);\n context.quadraticCurveTo(x, y + radius, x, y + halfRadius);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/heart/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([["shapes_heart_dist_browser_index_js"],{
|
|
19
|
-
|
|
20
|
-
/***/ "../../shapes/heart/dist/browser/index.js":
|
|
21
|
-
/*!************************************************!*\
|
|
22
|
-
!*** ../../shapes/heart/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 */ loadHeartShape: () => (/* binding */ loadHeartShape)\n/* harmony export */ });\nasync function loadHeartShape(engine, refresh = true) {\n const {\n HeartDrawer\n } = await __webpack_require__.e(/*! import() */ \"shapes_heart_dist_browser_HeartDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./HeartDrawer.js */ \"../../shapes/heart/dist/browser/HeartDrawer.js\"));\n await engine.addShape(\"heart\", new HeartDrawer(), refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/heart/dist/browser/index.js?");
|
|
27
|
-
|
|
28
|
-
/***/ })
|
|
29
|
-
|
|
30
|
-
}]);
|