@tsparticles/all 4.0.0-beta.12 → 4.0.0-beta.15

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.
Files changed (610) hide show
  1. package/README.md +18 -14
  2. package/browser/browser.js +5 -0
  3. package/browser/bundle.js +4 -0
  4. package/browser/index.js +107 -108
  5. package/browser/index.lazy.js +167 -0
  6. package/cjs/browser.js +5 -0
  7. package/cjs/bundle.js +4 -0
  8. package/cjs/index.js +107 -108
  9. package/cjs/index.lazy.js +167 -0
  10. package/esm/browser.js +5 -0
  11. package/esm/bundle.js +4 -0
  12. package/esm/index.js +107 -108
  13. package/esm/index.lazy.js +167 -0
  14. package/package.json +86 -79
  15. package/report.html +4949 -94
  16. package/tsparticles.all.bundle.js +28779 -791
  17. package/tsparticles.all.bundle.min.js +1 -2
  18. package/tsparticles.all.js +111 -912
  19. package/tsparticles.all.min.js +1 -1
  20. package/types/browser.d.ts +1 -0
  21. package/types/index.lazy.d.ts +2 -0
  22. package/1005.min.js +0 -1
  23. package/1057.min.js +0 -1
  24. package/1069.min.js +0 -1
  25. package/1135.min.js +0 -1
  26. package/1185.min.js +0 -1
  27. package/1212.min.js +0 -1
  28. package/130.min.js +0 -1
  29. package/1313.min.js +0 -2
  30. package/1319.min.js +0 -1
  31. package/1349.min.js +0 -1
  32. package/1357.min.js +0 -1
  33. package/1378.min.js +0 -1
  34. package/1398.min.js +0 -1
  35. package/1415.min.js +0 -1
  36. package/1482.min.js +0 -1
  37. package/1528.min.js +0 -1
  38. package/1533.min.js +0 -1
  39. package/1584.min.js +0 -1
  40. package/167.min.js +0 -1
  41. package/1673.min.js +0 -1
  42. package/1685.min.js +0 -1
  43. package/1708.min.js +0 -1
  44. package/1722.min.js +0 -1
  45. package/1733.min.js +0 -1
  46. package/1753.min.js +0 -1
  47. package/1794.min.js +0 -1
  48. package/1829.min.js +0 -1
  49. package/183.min.js +0 -1
  50. package/1858.min.js +0 -33
  51. package/1884.min.js +0 -1
  52. package/1887.min.js +0 -1
  53. package/1896.min.js +0 -1
  54. package/1979.min.js +0 -1
  55. package/2008.min.js +0 -1
  56. package/2036.min.js +0 -1
  57. package/2065.min.js +0 -1
  58. package/2122.min.js +0 -1
  59. package/2152.min.js +0 -1
  60. package/2181.min.js +0 -1
  61. package/2185.min.js +0 -1
  62. package/2212.min.js +0 -1
  63. package/2298.min.js +0 -1
  64. package/2318.min.js +0 -1
  65. package/2328.min.js +0 -1
  66. package/2330.min.js +0 -1
  67. package/240.min.js +0 -1
  68. package/2410.min.js +0 -1
  69. package/2434.min.js +0 -1
  70. package/244.min.js +0 -1
  71. package/2459.min.js +0 -1
  72. package/2466.min.js +0 -1
  73. package/2471.min.js +0 -1
  74. package/2510.min.js +0 -1
  75. package/2553.min.js +0 -1
  76. package/2556.min.js +0 -1
  77. package/2568.min.js +0 -1
  78. package/2580.min.js +0 -1
  79. package/2595.min.js +0 -1
  80. package/260.min.js +0 -1
  81. package/2623.min.js +0 -1
  82. package/2630.min.js +0 -1
  83. package/2641.min.js +0 -1
  84. package/2662.min.js +0 -1
  85. package/2748.min.js +0 -1
  86. package/2749.min.js +0 -1
  87. package/2788.min.js +0 -1
  88. package/2791.min.js +0 -1
  89. package/2806.min.js +0 -1
  90. package/2899.min.js +0 -1
  91. package/2951.min.js +0 -1
  92. package/2954.min.js +0 -1
  93. package/299.min.js +0 -1
  94. package/302.min.js +0 -1
  95. package/3051.min.js +0 -1
  96. package/3100.min.js +0 -1
  97. package/3110.min.js +0 -1
  98. package/312.min.js +0 -1
  99. package/3147.min.js +0 -1
  100. package/3281.min.js +0 -1
  101. package/3371.min.js +0 -1
  102. package/343.min.js +0 -1
  103. package/3486.min.js +0 -1
  104. package/3507.min.js +0 -1
  105. package/3517.min.js +0 -1
  106. package/3564.min.js +0 -1
  107. package/3586.min.js +0 -1
  108. package/3600.min.js +0 -1
  109. package/3627.min.js +0 -1
  110. package/3692.min.js +0 -1
  111. package/3743.min.js +0 -1
  112. package/3751.min.js +0 -1
  113. package/3754.min.js +0 -1
  114. package/3772.min.js +0 -1
  115. package/3926.min.js +0 -1
  116. package/4068.min.js +0 -1
  117. package/4088.min.js +0 -1
  118. package/409.min.js +0 -1
  119. package/4103.min.js +0 -1
  120. package/4121.min.js +0 -1
  121. package/4162.min.js +0 -1
  122. package/4177.min.js +0 -1
  123. package/4210.min.js +0 -1
  124. package/425.min.js +0 -1
  125. package/4282.min.js +0 -1
  126. package/4289.min.js +0 -1
  127. package/4319.min.js +0 -1
  128. package/4353.min.js +0 -1
  129. package/4438.min.js +0 -1
  130. package/4447.min.js +0 -1
  131. package/4454.min.js +0 -1
  132. package/4535.min.js +0 -1
  133. package/4586.min.js +0 -1
  134. package/462.min.js +0 -1
  135. package/4626.min.js +0 -1
  136. package/4629.min.js +0 -1
  137. package/4657.min.js +0 -1
  138. package/4663.min.js +0 -1
  139. package/4726.min.js +0 -1
  140. package/4807.min.js +0 -1
  141. package/4821.min.js +0 -1
  142. package/4828.min.js +0 -1
  143. package/483.min.js +0 -1
  144. package/4874.min.js +0 -1
  145. package/4909.min.js +0 -1
  146. package/4948.min.js +0 -1
  147. package/4953.min.js +0 -1
  148. package/4970.min.js +0 -1
  149. package/5127.min.js +0 -1
  150. package/5130.min.js +0 -1
  151. package/5197.min.js +0 -1
  152. package/524.min.js +0 -1
  153. package/5252.min.js +0 -1
  154. package/5269.min.js +0 -1
  155. package/5271.min.js +0 -1
  156. package/5306.min.js +0 -1
  157. package/5348.min.js +0 -1
  158. package/5361.min.js +0 -1
  159. package/5436.min.js +0 -1
  160. package/5472.min.js +0 -1
  161. package/5485.min.js +0 -1
  162. package/5653.min.js +0 -1
  163. package/5757.min.js +0 -1
  164. package/5761.min.js +0 -1
  165. package/582.min.js +0 -1
  166. package/5841.min.js +0 -1
  167. package/5938.min.js +0 -1
  168. package/5939.min.js +0 -1
  169. package/5966.min.js +0 -1
  170. package/5999.min.js +0 -1
  171. package/6002.min.js +0 -1
  172. package/6133.min.js +0 -1
  173. package/6144.min.js +0 -1
  174. package/6148.min.js +0 -1
  175. package/6179.min.js +0 -1
  176. package/6213.min.js +0 -1
  177. package/6232.min.js +0 -1
  178. package/6242.min.js +0 -1
  179. package/6254.min.js +0 -1
  180. package/6379.min.js +0 -1
  181. package/6427.min.js +0 -1
  182. package/6470.min.js +0 -1
  183. package/6472.min.js +0 -1
  184. package/652.min.js +0 -1
  185. package/6623.min.js +0 -1
  186. package/6688.min.js +0 -1
  187. package/6699.min.js +0 -1
  188. package/6710.min.js +0 -1
  189. package/6718.min.js +0 -1
  190. package/673.min.js +0 -1
  191. package/6766.min.js +0 -1
  192. package/6799.min.js +0 -1
  193. package/6837.min.js +0 -1
  194. package/6887.min.js +0 -1
  195. package/6900.min.js +0 -1
  196. package/6911.min.js +0 -1
  197. package/693.min.js +0 -1
  198. package/7009.min.js +0 -1
  199. package/7025.min.js +0 -2
  200. package/7089.min.js +0 -1
  201. package/7091.min.js +0 -1
  202. package/7101.min.js +0 -1
  203. package/7110.min.js +0 -1
  204. package/7129.min.js +0 -1
  205. package/7155.min.js +0 -1
  206. package/716.min.js +0 -1
  207. package/7180.min.js +0 -1
  208. package/7192.min.js +0 -1
  209. package/7208.min.js +0 -1
  210. package/7268.min.js +0 -1
  211. package/7282.min.js +0 -1
  212. package/7319.min.js +0 -2
  213. package/7335.min.js +0 -1
  214. package/7347.min.js +0 -1
  215. package/7375.min.js +0 -1
  216. package/7399.min.js +0 -1
  217. package/7402.min.js +0 -1
  218. package/7409.min.js +0 -1
  219. package/7483.min.js +0 -1
  220. package/7484.min.js +0 -1
  221. package/7530.min.js +0 -1
  222. package/7646.min.js +0 -1
  223. package/7662.min.js +0 -1
  224. package/7678.min.js +0 -1
  225. package/7752.min.js +0 -1
  226. package/779.min.js +0 -1
  227. package/7819.min.js +0 -1
  228. package/7829.min.js +0 -1
  229. package/7846.min.js +0 -1
  230. package/7857.min.js +0 -1
  231. package/7861.min.js +0 -1
  232. package/7879.min.js +0 -1
  233. package/789.min.js +0 -1
  234. package/7987.min.js +0 -1
  235. package/7989.min.js +0 -2
  236. package/8002.min.js +0 -1
  237. package/8005.min.js +0 -1
  238. package/805.min.js +0 -1
  239. package/809.min.js +0 -1
  240. package/8093.min.js +0 -1
  241. package/8101.min.js +0 -1
  242. package/8103.min.js +0 -1
  243. package/8127.min.js +0 -1
  244. package/8136.min.js +0 -1
  245. package/8152.min.js +0 -1
  246. package/8172.min.js +0 -1
  247. package/8212.min.js +0 -1
  248. package/8237.min.js +0 -1
  249. package/8314.min.js +0 -1
  250. package/8320.min.js +0 -1
  251. package/8338.min.js +0 -1
  252. package/835.min.js +0 -1
  253. package/8368.min.js +0 -1
  254. package/8372.min.js +0 -1
  255. package/8396.min.js +0 -1
  256. package/8405.min.js +0 -1
  257. package/8420.min.js +0 -1
  258. package/8464.min.js +0 -1
  259. package/850.min.js +0 -1
  260. package/8568.min.js +0 -1
  261. package/858.min.js +0 -1
  262. package/8589.min.js +0 -1
  263. package/8614.min.js +0 -1
  264. package/8633.min.js +0 -1
  265. package/8639.min.js +0 -1
  266. package/8644.min.js +0 -1
  267. package/8649.min.js +0 -1
  268. package/8671.min.js +0 -1
  269. package/8690.min.js +0 -1
  270. package/8759.min.js +0 -1
  271. package/8774.min.js +0 -1
  272. package/8777.min.js +0 -1
  273. package/8802.min.js +0 -1
  274. package/8803.min.js +0 -1
  275. package/8823.min.js +0 -1
  276. package/885.min.js +0 -1
  277. package/8859.min.js +0 -1
  278. package/8929.min.js +0 -1
  279. package/8935.min.js +0 -1
  280. package/8951.min.js +0 -1
  281. package/9006.min.js +0 -1
  282. package/9013.min.js +0 -1
  283. package/904.min.js +0 -1
  284. package/9044.min.js +0 -1
  285. package/9087.min.js +0 -1
  286. package/9204.min.js +0 -1
  287. package/9215.min.js +0 -1
  288. package/9264.min.js +0 -1
  289. package/9299.min.js +0 -1
  290. package/9301.min.js +0 -1
  291. package/9320.min.js +0 -1
  292. package/9336.min.js +0 -1
  293. package/9352.min.js +0 -1
  294. package/9356.min.js +0 -1
  295. package/94.min.js +0 -1
  296. package/9408.min.js +0 -1
  297. package/9439.min.js +0 -1
  298. package/945.min.js +0 -1
  299. package/9515.min.js +0 -1
  300. package/9577.min.js +0 -1
  301. package/9587.min.js +0 -1
  302. package/9603.min.js +0 -1
  303. package/9627.min.js +0 -1
  304. package/968.min.js +0 -1
  305. package/9714.min.js +0 -1
  306. package/9732.min.js +0 -2
  307. package/9770.min.js +0 -1
  308. package/9807.min.js +0 -1
  309. package/9819.min.js +0 -1
  310. package/984.min.js +0 -1
  311. package/9856.min.js +0 -1
  312. package/9887.min.js +0 -1
  313. package/991.min.js +0 -1
  314. package/9956.min.js +0 -1
  315. package/9964.min.js +0 -1
  316. package/basic_dist_browser_index_js.js +0 -30
  317. package/effects_bubble_dist_browser_BubbleDrawer_js.js +0 -30
  318. package/effects_bubble_dist_browser_index_js.js +0 -30
  319. package/effects_filter_dist_browser_FilterDrawer_js.js +0 -30
  320. package/effects_filter_dist_browser_index_js.js +0 -30
  321. package/effects_particles_dist_browser_ParticlesDrawer_js.js +0 -30
  322. package/effects_particles_dist_browser_index_js.js +0 -30
  323. package/effects_shadow_dist_browser_ShadowDrawer_js.js +0 -30
  324. package/effects_shadow_dist_browser_index_js.js +0 -30
  325. package/effects_trail_dist_browser_TrailDrawer_js.js +0 -30
  326. package/effects_trail_dist_browser_index_js.js +0 -30
  327. package/engine_dist_browser_Core_Container_js.js +0 -100
  328. package/full_dist_browser_index_js.js +0 -30
  329. package/interactions_external_attract_dist_browser_Attractor_js.js +0 -140
  330. package/interactions_external_attract_dist_browser_index_js.js +0 -40
  331. package/interactions_external_bounce_dist_browser_Bouncer_js.js +0 -140
  332. package/interactions_external_bounce_dist_browser_index_js.js +0 -40
  333. package/interactions_external_bubble_dist_browser_Bubbler_js.js +0 -150
  334. package/interactions_external_bubble_dist_browser_index_js.js +0 -60
  335. package/interactions_external_cannon_dist_browser_Cannoner_js.js +0 -130
  336. package/interactions_external_cannon_dist_browser_index_js.js +0 -40
  337. package/interactions_external_connect_dist_browser_Connector_js.js +0 -160
  338. package/interactions_external_connect_dist_browser_index_js.js +0 -50
  339. package/interactions_external_destroy_dist_browser_Destroyer_js.js +0 -140
  340. package/interactions_external_destroy_dist_browser_index_js.js +0 -40
  341. package/interactions_external_drag_dist_browser_Dragger_js.js +0 -130
  342. package/interactions_external_drag_dist_browser_index_js.js +0 -40
  343. package/interactions_external_grab_dist_browser_Grabber_js.js +0 -160
  344. package/interactions_external_grab_dist_browser_index_js.js +0 -50
  345. package/interactions_external_parallax_dist_browser_Parallaxer_js.js +0 -130
  346. package/interactions_external_parallax_dist_browser_index_js.js +0 -40
  347. package/interactions_external_particle_dist_browser_InteractivityParticleMaker_js.js +0 -140
  348. package/interactions_external_particle_dist_browser_index_js.js +0 -30
  349. package/interactions_external_pause_dist_browser_Pauser_js.js +0 -130
  350. package/interactions_external_pause_dist_browser_index_js.js +0 -30
  351. package/interactions_external_pop_dist_browser_Popper_js.js +0 -130
  352. package/interactions_external_pop_dist_browser_index_js.js +0 -30
  353. package/interactions_external_push_dist_browser_Pusher_js.js +0 -130
  354. package/interactions_external_push_dist_browser_index_js.js +0 -40
  355. package/interactions_external_remove_dist_browser_Remover_js.js +0 -130
  356. package/interactions_external_remove_dist_browser_index_js.js +0 -40
  357. package/interactions_external_repulse_dist_browser_Repulser_js.js +0 -130
  358. package/interactions_external_repulse_dist_browser_index_js.js +0 -60
  359. package/interactions_external_slow_dist_browser_Slower_js.js +0 -130
  360. package/interactions_external_slow_dist_browser_index_js.js +0 -40
  361. package/interactions_external_trail_dist_browser_TrailMaker_js.js +0 -130
  362. package/interactions_external_trail_dist_browser_index_js.js +0 -70
  363. package/interactions_light_dist_browser_ExternalLighter_js.js +0 -140
  364. package/interactions_light_dist_browser_ParticlesLighter_js.js +0 -140
  365. package/interactions_light_dist_browser_index_js.js +0 -70
  366. package/interactions_particles_attract_dist_browser_Attractor_js.js +0 -140
  367. package/interactions_particles_attract_dist_browser_index_js.js +0 -30
  368. package/interactions_particles_collisions_dist_browser_Collider_js.js +0 -210
  369. package/interactions_particles_collisions_dist_browser_OverlapPluginInstance_js.js +0 -30
  370. package/interactions_particles_collisions_dist_browser_OverlapPlugin_js.js +0 -30
  371. package/interactions_particles_collisions_dist_browser_index_js.js +0 -30
  372. package/interactions_particles_links_dist_browser_LinkInstance_js.js +0 -40
  373. package/interactions_particles_links_dist_browser_Linker_js.js +0 -140
  374. package/interactions_particles_links_dist_browser_LinksPlugin_js.js +0 -30
  375. package/interactions_particles_links_dist_browser_index_js.js +0 -60
  376. package/interactions_particles_repulse_dist_browser_Repulser_js.js +0 -140
  377. package/interactions_particles_repulse_dist_browser_index_js.js +0 -30
  378. package/paths_branches_dist_browser_BranchesPathGenerator_js.js +0 -30
  379. package/paths_branches_dist_browser_index_js.js +0 -30
  380. package/paths_brownian_dist_browser_BrownianPathGenerator_js.js +0 -30
  381. package/paths_brownian_dist_browser_index_js.js +0 -30
  382. package/paths_curlNoise_dist_browser_CurlNoiseGenerator_js.js +0 -30
  383. package/paths_curlNoise_dist_browser_index_js.js +0 -30
  384. package/paths_curves_dist_browser_CurvesPathGenerator_js.js +0 -40
  385. package/paths_curves_dist_browser_index_js.js +0 -30
  386. package/paths_fractalNoise_dist_browser_FractalNoiseGenerator_js.js +0 -90
  387. package/paths_fractalNoise_dist_browser_index_js.js +0 -30
  388. package/paths_grid_dist_browser_GridPathGenerator_js.js +0 -30
  389. package/paths_grid_dist_browser_index_js.js +0 -30
  390. package/paths_levy_dist_browser_LevyPathGenerator_js.js +0 -30
  391. package/paths_levy_dist_browser_index_js.js +0 -30
  392. package/paths_perlinNoise_dist_browser_PerlinNoiseGenerator_js.js +0 -80
  393. package/paths_perlinNoise_dist_browser_index_js.js +0 -30
  394. package/paths_polygon_dist_browser_PolygonPathGenerator_js.js +0 -30
  395. package/paths_polygon_dist_browser_index_js.js +0 -30
  396. package/paths_random_dist_browser_RandomPathGenerator_js.js +0 -30
  397. package/paths_random_dist_browser_index_js.js +0 -30
  398. package/paths_simplexNoise_dist_browser_SimplexNoiseGenerator_js.js +0 -50
  399. package/paths_simplexNoise_dist_browser_index_js.js +0 -30
  400. package/paths_spiral_dist_browser_SpiralPathGenerator_js.js +0 -40
  401. package/paths_spiral_dist_browser_index_js.js +0 -30
  402. package/paths_svg_dist_browser_SVGPathGenerator_js.js +0 -50
  403. package/paths_svg_dist_browser_index_js.js +0 -30
  404. package/paths_zigzag_dist_browser_ZigZagPathGenerator_js.js +0 -30
  405. package/paths_zigzag_dist_browser_index_js.js +0 -30
  406. package/plugins_absorbers_dist_browser_AbsorberInstance_js.js +0 -70
  407. package/plugins_absorbers_dist_browser_AbsorbersInstancesManager_js.js +0 -30
  408. package/plugins_absorbers_dist_browser_AbsorbersInteractor_js.js +0 -170
  409. package/plugins_absorbers_dist_browser_AbsorbersPluginInstance_js.js +0 -30
  410. package/plugins_absorbers_dist_browser_AbsorbersPlugin_js.js +0 -70
  411. package/plugins_absorbers_dist_browser_getAbsorbersInstancesManager_js.js +0 -30
  412. package/plugins_absorbers_dist_browser_index_js.js +0 -50
  413. package/plugins_backgroundMask_dist_browser_BackgroundMaskPluginInstance_js.js +0 -30
  414. package/plugins_backgroundMask_dist_browser_BackgroundMaskPlugin_js.js +0 -50
  415. package/plugins_backgroundMask_dist_browser_index_js.js +0 -30
  416. package/plugins_blend_dist_browser_BlendPluginInstance_js.js +0 -30
  417. package/plugins_blend_dist_browser_BlendPlugin_js.js +0 -40
  418. package/plugins_blend_dist_browser_index_js.js +0 -30
  419. package/plugins_canvasMask_dist_browser_CanvasMaskPluginInstance_js.js +0 -60
  420. package/plugins_canvasMask_dist_browser_CanvasMaskPlugin_js.js +0 -100
  421. package/plugins_canvasMask_dist_browser_index_js.js +0 -30
  422. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  423. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  424. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  425. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  426. package/plugins_colors_hsv_dist_browser_HsvColorManager_js.js +0 -40
  427. package/plugins_colors_hsv_dist_browser_index_js.js +0 -30
  428. package/plugins_colors_hwb_dist_browser_HwbColorManager_js.js +0 -30
  429. package/plugins_colors_hwb_dist_browser_index_js.js +0 -30
  430. package/plugins_colors_lab_dist_browser_LabColorManager_js.js +0 -40
  431. package/plugins_colors_lab_dist_browser_index_js.js +0 -30
  432. package/plugins_colors_lch_dist_browser_LchColorManager_js.js +0 -40
  433. package/plugins_colors_lch_dist_browser_index_js.js +0 -30
  434. package/plugins_colors_named_dist_browser_NamedColorManager_js.js +0 -30
  435. package/plugins_colors_named_dist_browser_index_js.js +0 -30
  436. package/plugins_colors_oklab_dist_browser_OklabColorManager_js.js +0 -40
  437. package/plugins_colors_oklab_dist_browser_index_js.js +0 -30
  438. package/plugins_colors_oklch_dist_browser_OklchColorManager_js.js +0 -40
  439. package/plugins_colors_oklch_dist_browser_index_js.js +0 -30
  440. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  441. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  442. package/plugins_easings_back_dist_browser_easingsFunctions_js.js +0 -30
  443. package/plugins_easings_back_dist_browser_index_js.js +0 -30
  444. package/plugins_easings_bounce_dist_browser_easingsFunctions_js.js +0 -30
  445. package/plugins_easings_bounce_dist_browser_index_js.js +0 -30
  446. package/plugins_easings_circ_dist_browser_easingsFunctions_js.js +0 -30
  447. package/plugins_easings_circ_dist_browser_index_js.js +0 -30
  448. package/plugins_easings_cubic_dist_browser_easingsFunctions_js.js +0 -30
  449. package/plugins_easings_cubic_dist_browser_index_js.js +0 -30
  450. package/plugins_easings_elastic_dist_browser_easingsFunctions_js.js +0 -30
  451. package/plugins_easings_elastic_dist_browser_index_js.js +0 -30
  452. package/plugins_easings_expo_dist_browser_easingsFunctions_js.js +0 -30
  453. package/plugins_easings_expo_dist_browser_index_js.js +0 -30
  454. package/plugins_easings_gaussian_dist_browser_easingsFunctions_js.js +0 -30
  455. package/plugins_easings_gaussian_dist_browser_index_js.js +0 -30
  456. package/plugins_easings_linear_dist_browser_easingsFunctions_js.js +0 -30
  457. package/plugins_easings_linear_dist_browser_index_js.js +0 -30
  458. package/plugins_easings_quad_dist_browser_easingsFunctions_js.js +0 -30
  459. package/plugins_easings_quad_dist_browser_index_js.js +0 -30
  460. package/plugins_easings_quart_dist_browser_easingsFunctions_js.js +0 -30
  461. package/plugins_easings_quart_dist_browser_index_js.js +0 -30
  462. package/plugins_easings_quint_dist_browser_easingsFunctions_js.js +0 -30
  463. package/plugins_easings_quint_dist_browser_index_js.js +0 -30
  464. package/plugins_easings_sigmoid_dist_browser_easingsFunctions_js.js +0 -30
  465. package/plugins_easings_sigmoid_dist_browser_index_js.js +0 -30
  466. package/plugins_easings_sine_dist_browser_easingsFunctions_js.js +0 -30
  467. package/plugins_easings_sine_dist_browser_index_js.js +0 -30
  468. package/plugins_easings_smoothstep_dist_browser_easingsFunctions_js.js +0 -30
  469. package/plugins_easings_smoothstep_dist_browser_index_js.js +0 -30
  470. package/plugins_emittersShapes_canvas_dist_browser_EmittersCanvasShapeGenerator_js.js +0 -170
  471. package/plugins_emittersShapes_canvas_dist_browser_index_js.js +0 -30
  472. package/plugins_emittersShapes_circle_dist_browser_EmittersCircleShapeGenerator_js.js +0 -100
  473. package/plugins_emittersShapes_circle_dist_browser_index_js.js +0 -30
  474. package/plugins_emittersShapes_path_dist_browser_EmittersPathShapeGenerator_js.js +0 -120
  475. package/plugins_emittersShapes_path_dist_browser_index_js.js +0 -30
  476. package/plugins_emittersShapes_polygon_dist_browser_EmittersPolygonShapeGenerator_js.js +0 -120
  477. package/plugins_emittersShapes_polygon_dist_browser_index_js.js +0 -30
  478. package/plugins_emittersShapes_square_dist_browser_EmittersSquareShapeGenerator_js.js +0 -100
  479. package/plugins_emittersShapes_square_dist_browser_index_js.js +0 -30
  480. package/plugins_emitters_dist_browser_EmitterInstance_js.js +0 -30
  481. package/plugins_emitters_dist_browser_EmittersInstancesManager_js.js +0 -100
  482. package/plugins_emitters_dist_browser_EmittersInteractor_js.js +0 -210
  483. package/plugins_emitters_dist_browser_EmittersPluginInstance_js.js +0 -30
  484. package/plugins_emitters_dist_browser_EmittersPlugin_js.js +0 -100
  485. package/plugins_emitters_dist_browser_ShapeManager_js.js +0 -30
  486. package/plugins_emitters_dist_browser_addEmittersShapesManager_js.js +0 -30
  487. package/plugins_emitters_dist_browser_getEmittersInstancesManager_js.js +0 -30
  488. package/plugins_emitters_dist_browser_index_js.js +0 -80
  489. package/plugins_exports_image_dist_browser_ExportImagePluginInstance_js.js +0 -30
  490. package/plugins_exports_image_dist_browser_ExportImagePlugin_js.js +0 -30
  491. package/plugins_exports_image_dist_browser_index_js.js +0 -30
  492. package/plugins_exports_json_dist_browser_ExportJSONPluginInstance_js.js +0 -30
  493. package/plugins_exports_json_dist_browser_ExportJSONPlugin_js.js +0 -30
  494. package/plugins_exports_json_dist_browser_index_js.js +0 -30
  495. package/plugins_exports_video_dist_browser_ExportVideoPluginInstance_js.js +0 -30
  496. package/plugins_exports_video_dist_browser_ExportVideoPlugin_js.js +0 -30
  497. package/plugins_exports_video_dist_browser_index_js.js +0 -30
  498. package/plugins_infection_dist_browser_InfectionPluginInstance_js.js +0 -40
  499. package/plugins_infection_dist_browser_InfectionPlugin_js.js +0 -50
  500. package/plugins_infection_dist_browser_ParticlesInfecter_js.js +0 -130
  501. package/plugins_infection_dist_browser_index_js.js +0 -30
  502. package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
  503. package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
  504. package/plugins_interactivity_dist_browser_index_js.js +0 -120
  505. package/plugins_manualParticles_dist_browser_ManualParticlesPluginInstance_js.js +0 -30
  506. package/plugins_manualParticles_dist_browser_ManualParticlesPlugin_js.js +0 -40
  507. package/plugins_manualParticles_dist_browser_index_js.js +0 -30
  508. package/plugins_motion_dist_browser_MotionPluginInstance_js.js +0 -30
  509. package/plugins_motion_dist_browser_MotionPlugin_js.js +0 -50
  510. package/plugins_motion_dist_browser_index_js.js +0 -30
  511. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  512. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  513. package/plugins_move_dist_browser_index_js.js +0 -30
  514. package/plugins_poisson_dist_browser_PoissonDiscPluginInstance_js.js +0 -30
  515. package/plugins_poisson_dist_browser_PoissonDiscPlugin_js.js +0 -40
  516. package/plugins_poisson_dist_browser_PoissonDisc_js.js +0 -30
  517. package/plugins_poisson_dist_browser_index_js.js +0 -30
  518. package/plugins_polygonMask_dist_browser_PolygonMaskInstance_js.js +0 -50
  519. package/plugins_polygonMask_dist_browser_PolygonMaskPlugin_js.js +0 -90
  520. package/plugins_polygonMask_dist_browser_index_js.js +0 -60
  521. package/plugins_responsive_dist_browser_ResponsivePluginInstance_js.js +0 -30
  522. package/plugins_responsive_dist_browser_ResponsivePlugin_js.js +0 -50
  523. package/plugins_responsive_dist_browser_index_js.js +0 -30
  524. package/plugins_sounds_dist_browser_SoundsPluginInstance_js.js +0 -40
  525. package/plugins_sounds_dist_browser_SoundsPlugin_js.js +0 -130
  526. package/plugins_sounds_dist_browser_index_js.js +0 -30
  527. package/plugins_themes_dist_browser_ThemesPluginInstance_js.js +0 -30
  528. package/plugins_themes_dist_browser_ThemesPlugin_js.js +0 -60
  529. package/plugins_themes_dist_browser_index_js.js +0 -30
  530. package/plugins_trail_dist_browser_TrailPluginInstance_js.js +0 -30
  531. package/plugins_trail_dist_browser_TrailPlugin_js.js +0 -50
  532. package/plugins_trail_dist_browser_index_js.js +0 -30
  533. package/plugins_zoom_dist_browser_ZoomPluginInstance_js.js +0 -40
  534. package/plugins_zoom_dist_browser_ZoomPlugin_js.js +0 -30
  535. package/plugins_zoom_dist_browser_index_js.js +0 -50
  536. package/shapes_arrow_dist_browser_ArrowDrawer_js.js +0 -40
  537. package/shapes_arrow_dist_browser_index_js.js +0 -30
  538. package/shapes_cards_dist_browser_cards_CardDrawer_js.js +0 -40
  539. package/shapes_cards_dist_browser_clubs_ClubDrawer_js.js +0 -30
  540. package/shapes_cards_dist_browser_diamonds_DiamondDrawer_js.js +0 -30
  541. package/shapes_cards_dist_browser_hearts_HeartDrawer_js.js +0 -30
  542. package/shapes_cards_dist_browser_index_js.js +0 -90
  543. package/shapes_cards_dist_browser_paths_js.js +0 -70
  544. package/shapes_cards_dist_browser_spades_SpadeDrawer_js.js +0 -30
  545. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  546. package/shapes_circle_dist_browser_index_js.js +0 -30
  547. package/shapes_cog_dist_browser_CogDrawer_js.js +0 -40
  548. package/shapes_cog_dist_browser_index_js.js +0 -30
  549. package/shapes_emoji_dist_browser_EmojiDrawer_js.js +0 -50
  550. package/shapes_emoji_dist_browser_index_js.js +0 -40
  551. package/shapes_heart_dist_browser_HeartDrawer_js.js +0 -40
  552. package/shapes_heart_dist_browser_index_js.js +0 -30
  553. package/shapes_image_dist_browser_GifUtils_Utils_js.js +0 -70
  554. package/shapes_image_dist_browser_ImageDrawer_js.js +0 -30
  555. package/shapes_image_dist_browser_ImagePreloaderInstance_js.js +0 -30
  556. package/shapes_image_dist_browser_ImagePreloader_js.js +0 -40
  557. package/shapes_image_dist_browser_index_js.js +0 -40
  558. package/shapes_infinity_dist_browser_InfinityDrawer_js.js +0 -40
  559. package/shapes_infinity_dist_browser_index_js.js +0 -30
  560. package/shapes_line_dist_browser_LineDrawer_js.js +0 -40
  561. package/shapes_line_dist_browser_index_js.js +0 -30
  562. package/shapes_matrix_dist_browser_MatrixDrawer_js.js +0 -40
  563. package/shapes_matrix_dist_browser_index_js.js +0 -30
  564. package/shapes_path_dist_browser_PathDrawer_js.js +0 -60
  565. package/shapes_path_dist_browser_index_js.js +0 -30
  566. package/shapes_polygon_dist_browser_PolygonDrawer_js.js +0 -50
  567. package/shapes_polygon_dist_browser_TriangleDrawer_js.js +0 -50
  568. package/shapes_polygon_dist_browser_index_js.js +0 -30
  569. package/shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js.js +0 -40
  570. package/shapes_rounded-polygon_dist_browser_index_js.js +0 -30
  571. package/shapes_rounded-rect_dist_browser_RoundedRectDrawer_js.js +0 -40
  572. package/shapes_rounded-rect_dist_browser_index_js.js +0 -30
  573. package/shapes_spiral_dist_browser_SpiralDrawer_js.js +0 -40
  574. package/shapes_spiral_dist_browser_index_js.js +0 -30
  575. package/shapes_square_dist_browser_SquareDrawer_js.js +0 -40
  576. package/shapes_square_dist_browser_index_js.js +0 -30
  577. package/shapes_squircle_dist_browser_SquircleDrawer_js.js +0 -40
  578. package/shapes_squircle_dist_browser_index_js.js +0 -30
  579. package/shapes_star_dist_browser_StarDrawer_js.js +0 -40
  580. package/shapes_star_dist_browser_index_js.js +0 -30
  581. package/shapes_text_dist_browser_TextDrawer_js.js +0 -50
  582. package/shapes_text_dist_browser_index_js.js +0 -40
  583. package/slim_dist_browser_index_js.js +0 -30
  584. package/updaters_destroy_dist_browser_DestroyUpdater_js.js +0 -110
  585. package/updaters_destroy_dist_browser_index_js.js +0 -30
  586. package/updaters_gradient_dist_browser_GradientUpdater_js.js +0 -100
  587. package/updaters_gradient_dist_browser_index_js.js +0 -30
  588. package/updaters_life_dist_browser_LifeUpdater_js.js +0 -70
  589. package/updaters_life_dist_browser_index_js.js +0 -30
  590. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  591. package/updaters_opacity_dist_browser_index_js.js +0 -30
  592. package/updaters_orbit_dist_browser_OrbitUpdater_js.js +0 -70
  593. package/updaters_orbit_dist_browser_index_js.js +0 -30
  594. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  595. package/updaters_outModes_dist_browser_index_js.js +0 -30
  596. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  597. package/updaters_paint_dist_browser_index_js.js +0 -30
  598. package/updaters_roll_dist_browser_RollUpdater_js.js +0 -70
  599. package/updaters_roll_dist_browser_index_js.js +0 -30
  600. package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
  601. package/updaters_rotate_dist_browser_index_js.js +0 -30
  602. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  603. package/updaters_size_dist_browser_index_js.js +0 -30
  604. package/updaters_tilt_dist_browser_TiltUpdater_js.js +0 -60
  605. package/updaters_tilt_dist_browser_index_js.js +0 -30
  606. package/updaters_twinkle_dist_browser_TwinkleUpdater_js.js +0 -60
  607. package/updaters_twinkle_dist_browser_index_js.js +0 -30
  608. package/updaters_wobble_dist_browser_WobbleUpdater_js.js +0 -60
  609. package/updaters_wobble_dist_browser_index_js.js +0 -30
  610. package/utils_simplexNoise_dist_browser_index_js.js +0 -80
@@ -1,60 +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
- * v4.0.0-beta.12
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_path_dist_browser_PathDrawer_js"],{
19
-
20
- /***/ "../../shapes/path/dist/browser/PathDrawer.js"
21
- /*!****************************************************!*\
22
- !*** ../../shapes/path/dist/browser/PathDrawer.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 */ PathDrawer: () => (/* binding */ PathDrawer)\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_path_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/path-utils */ \"../../utils/pathUtils/dist/browser/index.js\");\n\n\nclass PathDrawer {\n draw(data) {\n const { context, particle, radius } = data;\n if (!particle.pathData) {\n return;\n }\n (0,_tsparticles_path_utils__WEBPACK_IMPORTED_MODULE_1__.drawPath)(context, radius, particle.pathData);\n }\n particleInit(_container, particle) {\n const shape = particle.shapeData;\n if (!shape) {\n return;\n }\n particle.pathData = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.deepExtend)({}, shape);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/path/dist/browser/PathDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../utils/pathUtils/dist/browser/SegmentType.js"
31
- /*!*********************************************************!*\
32
- !*** ../../utils/pathUtils/dist/browser/SegmentType.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 */ SegmentType: () => (/* binding */ SegmentType)\n/* harmony export */ });\nvar SegmentType;\n(function(SegmentType) {\n SegmentType[\"move\"] = \"move\";\n SegmentType[\"line\"] = \"line\";\n SegmentType[\"bezier\"] = \"bezier\";\n SegmentType[\"quadratic\"] = \"quadratic\";\n SegmentType[\"arc\"] = \"arc\";\n SegmentType[\"ellipse\"] = \"ellipse\";\n})(SegmentType || (SegmentType = {}));\n\n\n//# sourceURL=webpack://@tsparticles/all/../../utils/pathUtils/dist/browser/SegmentType.js?\n}");
37
-
38
- /***/ },
39
-
40
- /***/ "../../utils/pathUtils/dist/browser/Utils.js"
41
- /*!***************************************************!*\
42
- !*** ../../utils/pathUtils/dist/browser/Utils.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 */ drawPath: () => (/* binding */ drawPath)\n/* harmony export */ });\n/* harmony import */ var _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SegmentType.js */ \"../../utils/pathUtils/dist/browser/SegmentType.js\");\n\nconst firstIndex = 0, index2 = 1, index3 = 2, index4 = 3;\nfunction drawPath(ctx, radius, path) {\n const firstSegment = path.segments[firstIndex];\n if (!firstSegment) {\n return;\n }\n const firstValue = firstSegment.values[firstIndex];\n if (!firstValue) {\n return;\n }\n ctx.moveTo(firstValue.x * radius, firstValue.y * radius);\n for (const segment of path.segments){\n const value = segment.values[firstIndex];\n if (!value) {\n continue;\n }\n const segmentValue2 = segment.values[index2], segmentValue3 = segment.values[index3], segmentValue4 = segment.values[index4];\n switch(segment.type){\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.move:\n ctx.moveTo(value.x * radius, value.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.line:\n ctx.lineTo(value.x * radius, value.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.bezier:\n if (!segmentValue2 || !segmentValue3 || !segmentValue4) {\n continue;\n }\n ctx.bezierCurveTo(segmentValue2.x * radius, segmentValue2.y * radius, segmentValue3.x * radius, segmentValue3.y * radius, segmentValue4.x * radius, segmentValue4.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.quadratic:\n if (!segmentValue2 || !segmentValue3) {\n continue;\n }\n ctx.quadraticCurveTo(segmentValue2.x * radius, segmentValue2.y * radius, segmentValue3.x * radius, segmentValue3.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.arc:\n if (!segmentValue2 || !segmentValue3) {\n continue;\n }\n ctx.arc(value.x * radius, value.y * radius, segmentValue2.x * radius, segmentValue3.x, segmentValue3.y);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.ellipse:\n if (!segmentValue2 || !segmentValue3 || !segmentValue4) {\n continue;\n }\n ctx.ellipse(value.x * radius, value.y * radius, segmentValue2.x * radius, segmentValue2.y * radius, segmentValue3.x, segmentValue4.x, segmentValue4.y);\n break;\n }\n }\n if (!path.half) {\n return;\n }\n const lengthOffset = 1, minLength = 0;\n for(let i = path.segments.length - lengthOffset; i >= minLength; i--){\n const segment = path.segments[i];\n if (!segment) {\n continue;\n }\n const value = segment.values[firstIndex], index2 = 1, index3 = 2, segmentValue2 = segment.values[index2], segmentValue3 = segment.values[index3];\n switch(segment.type){\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.line:\n if (!value) {\n break;\n }\n ctx.lineTo(value.x * -radius, value.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.bezier:\n if (!value || !segmentValue2 || !segmentValue3) {\n break;\n }\n ctx.bezierCurveTo(-segmentValue3.x * radius, segmentValue3.y * radius, -segmentValue2.x * radius, segmentValue2.y * radius, -value.x * radius, value.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.quadratic:\n if (!segmentValue2 || !segmentValue3) {\n break;\n }\n ctx.quadraticCurveTo(-segmentValue2.x * radius, segmentValue2.y * radius, -segmentValue3.x * radius, segmentValue3.y * radius);\n break;\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.arc:\n case _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType.ellipse:\n default:\n break;\n }\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../utils/pathUtils/dist/browser/Utils.js?\n}");
47
-
48
- /***/ },
49
-
50
- /***/ "../../utils/pathUtils/dist/browser/index.js"
51
- /*!***************************************************!*\
52
- !*** ../../utils/pathUtils/dist/browser/index.js ***!
53
- \***************************************************/
54
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
55
-
56
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SegmentType: () => (/* reexport safe */ _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__.SegmentType),\n/* harmony export */ drawPath: () => (/* reexport safe */ _Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawPath)\n/* harmony export */ });\n/* harmony import */ var _SegmentType_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SegmentType.js */ \"../../utils/pathUtils/dist/browser/SegmentType.js\");\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utils.js */ \"../../utils/pathUtils/dist/browser/Utils.js\");\n\n\n\n\n//# sourceURL=webpack://@tsparticles/all/../../utils/pathUtils/dist/browser/index.js?\n}");
57
-
58
- /***/ }
59
-
60
- }]);
@@ -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
- * v4.0.0-beta.12
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_path_dist_browser_index_js"],{
19
-
20
- /***/ "../../shapes/path/dist/browser/index.js"
21
- /*!***********************************************!*\
22
- !*** ../../shapes/path/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 */ loadPathShape: () => (/* binding */ loadPathShape)\n/* harmony export */ });\nasync function loadPathShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"path\"\n ], async ()=>{\n const { PathDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_path_dist_browser_PathDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./PathDrawer.js */ \"../../shapes/path/dist/browser/PathDrawer.js\"));\n return new PathDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/path/dist/browser/index.js?\n}");
27
-
28
- /***/ }
29
-
30
- }]);
@@ -1,50 +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
- * v4.0.0-beta.12
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_polygon_dist_browser_PolygonDrawer_js"],{
19
-
20
- /***/ "../../shapes/polygon/dist/browser/PolygonDrawer.js"
21
- /*!**********************************************************!*\
22
- !*** ../../shapes/polygon/dist/browser/PolygonDrawer.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 */ PolygonDrawer: () => (/* binding */ PolygonDrawer)\n/* harmony export */ });\n/* harmony import */ var _PolygonDrawerBase_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PolygonDrawerBase.js */ \"../../shapes/polygon/dist/browser/PolygonDrawerBase.js\");\n\nconst yFactor = 2.66, sidesFactor = 3;\nclass PolygonDrawer extends _PolygonDrawerBase_js__WEBPACK_IMPORTED_MODULE_0__.PolygonDrawerBase {\n getSidesData(particle, radius) {\n const { sides } = particle;\n return {\n count: {\n denominator: 1,\n numerator: sides\n },\n length: radius * yFactor / (sides / sidesFactor)\n };\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/PolygonDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/polygon/dist/browser/PolygonDrawerBase.js"
31
- /*!**************************************************************!*\
32
- !*** ../../shapes/polygon/dist/browser/PolygonDrawerBase.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 */ PolygonDrawerBase: () => (/* binding */ PolygonDrawerBase)\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/polygon/dist/browser/Utils.js\");\n\n\nconst defaultSides = 5;\nclass PolygonDrawerBase {\n draw(data) {\n const { particle, radius } = data, side = this.getSidesData(particle, radius);\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawPolygon)(data, side);\n }\n getSidesCount(particle) {\n const polygon = particle.shapeData;\n return Math.round((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(polygon?.sides ?? defaultSides));\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/PolygonDrawerBase.js?\n}");
37
-
38
- /***/ },
39
-
40
- /***/ "../../shapes/polygon/dist/browser/Utils.js"
41
- /*!**************************************************!*\
42
- !*** ../../shapes/polygon/dist/browser/Utils.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 */ drawPolygon: () => (/* binding */ drawPolygon)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst polygonCache = new Map(), noOffset = 0;\nfunction getUnitPolygon(sides) {\n const cached = polygonCache.get(sides);\n if (cached) {\n return cached;\n }\n const step = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI / sides, isOdd = !!(sides % _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double), baseAngle = (-Math.PI + (isOdd ? noOffset : step)) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half, verts = [];\n for(let i = 0; i < sides; i++){\n const angle = baseAngle + i * step;\n verts[i] = {\n x: Math.cos(angle),\n y: Math.sin(angle)\n };\n }\n polygonCache.set(sides, verts);\n return verts;\n}\nfunction drawPolygon(data, side) {\n const { context, radius } = data, sides = side.count.numerator / side.count.denominator, verts = getUnitPolygon(sides);\n context.beginPath();\n for(let i = 0; i < verts.length; i++){\n const vert = verts[i];\n if (!vert) {\n continue;\n }\n const x = vert.x * radius, y = vert.y * radius;\n if (i) {\n context.lineTo(x, y);\n } else {\n context.moveTo(x, y);\n }\n }\n context.closePath();\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/Utils.js?\n}");
47
-
48
- /***/ }
49
-
50
- }]);
@@ -1,50 +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
- * v4.0.0-beta.12
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_polygon_dist_browser_TriangleDrawer_js"],{
19
-
20
- /***/ "../../shapes/polygon/dist/browser/PolygonDrawerBase.js"
21
- /*!**************************************************************!*\
22
- !*** ../../shapes/polygon/dist/browser/PolygonDrawerBase.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 */ PolygonDrawerBase: () => (/* binding */ PolygonDrawerBase)\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/polygon/dist/browser/Utils.js\");\n\n\nconst defaultSides = 5;\nclass PolygonDrawerBase {\n draw(data) {\n const { particle, radius } = data, side = this.getSidesData(particle, radius);\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawPolygon)(data, side);\n }\n getSidesCount(particle) {\n const polygon = particle.shapeData;\n return Math.round((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(polygon?.sides ?? defaultSides));\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/PolygonDrawerBase.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/polygon/dist/browser/TriangleDrawer.js"
31
- /*!***********************************************************!*\
32
- !*** ../../shapes/polygon/dist/browser/TriangleDrawer.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 */ TriangleDrawer: () => (/* binding */ TriangleDrawer)\n/* harmony export */ });\n/* harmony import */ var _PolygonDrawerBase_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PolygonDrawerBase.js */ \"../../shapes/polygon/dist/browser/PolygonDrawerBase.js\");\n\nconst sides = 3, yFactor = 2.66, sidesFactor = 3;\nclass TriangleDrawer extends _PolygonDrawerBase_js__WEBPACK_IMPORTED_MODULE_0__.PolygonDrawerBase {\n getSidesCount() {\n return sides;\n }\n getSidesData(_particle, radius) {\n return {\n count: {\n denominator: 1,\n numerator: sides\n },\n length: radius * yFactor / (sides / sidesFactor)\n };\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/TriangleDrawer.js?\n}");
37
-
38
- /***/ },
39
-
40
- /***/ "../../shapes/polygon/dist/browser/Utils.js"
41
- /*!**************************************************!*\
42
- !*** ../../shapes/polygon/dist/browser/Utils.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 */ drawPolygon: () => (/* binding */ drawPolygon)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst polygonCache = new Map(), noOffset = 0;\nfunction getUnitPolygon(sides) {\n const cached = polygonCache.get(sides);\n if (cached) {\n return cached;\n }\n const step = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI / sides, isOdd = !!(sides % _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double), baseAngle = (-Math.PI + (isOdd ? noOffset : step)) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half, verts = [];\n for(let i = 0; i < sides; i++){\n const angle = baseAngle + i * step;\n verts[i] = {\n x: Math.cos(angle),\n y: Math.sin(angle)\n };\n }\n polygonCache.set(sides, verts);\n return verts;\n}\nfunction drawPolygon(data, side) {\n const { context, radius } = data, sides = side.count.numerator / side.count.denominator, verts = getUnitPolygon(sides);\n context.beginPath();\n for(let i = 0; i < verts.length; i++){\n const vert = verts[i];\n if (!vert) {\n continue;\n }\n const x = vert.x * radius, y = vert.y * radius;\n if (i) {\n context.lineTo(x, y);\n } else {\n context.moveTo(x, y);\n }\n }\n context.closePath();\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/Utils.js?\n}");
47
-
48
- /***/ }
49
-
50
- }]);
@@ -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
- * v4.0.0-beta.12
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_polygon_dist_browser_index_js"],{
19
-
20
- /***/ "../../shapes/polygon/dist/browser/index.js"
21
- /*!**************************************************!*\
22
- !*** ../../shapes/polygon/dist/browser/index.js ***!
23
- \**************************************************/
24
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
-
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadGenericPolygonShape: () => (/* binding */ loadGenericPolygonShape),\n/* harmony export */ loadPolygonShape: () => (/* binding */ loadPolygonShape),\n/* harmony export */ loadTriangleShape: () => (/* binding */ loadTriangleShape)\n/* harmony export */ });\nasync function loadGenericPolygonShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"polygon\"\n ], async ()=>{\n const { PolygonDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_polygon_dist_browser_PolygonDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./PolygonDrawer.js */ \"../../shapes/polygon/dist/browser/PolygonDrawer.js\"));\n return new PolygonDrawer();\n });\n });\n}\nasync function loadTriangleShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"triangle\"\n ], async ()=>{\n const { TriangleDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_polygon_dist_browser_TriangleDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./TriangleDrawer.js */ \"../../shapes/polygon/dist/browser/TriangleDrawer.js\"));\n return new TriangleDrawer();\n });\n });\n}\nasync function loadPolygonShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await Promise.all([\n loadGenericPolygonShape(engine),\n loadTriangleShape(engine)\n ]);\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/polygon/dist/browser/index.js?\n}");
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
- * v4.0.0-beta.12
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_rounded-polygon_dist_browser_RoundedPolygonDrawer_js"],{
19
-
20
- /***/ "../../shapes/rounded-polygon/dist/browser/RoundedPolygonDrawer.js"
21
- /*!*************************************************************************!*\
22
- !*** ../../shapes/rounded-polygon/dist/browser/RoundedPolygonDrawer.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 */ RoundedPolygonDrawer: () => (/* binding */ RoundedPolygonDrawer)\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/rounded-polygon/dist/browser/Utils.js\");\n\n\nconst defaultSides = 5, defaultRadius = 5;\nclass RoundedPolygonDrawer {\n draw(data) {\n const { context, particle, radius } = data;\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.roundedPath)(context, (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.polygon)(particle.sides, radius), particle.borderRadius ?? defaultRadius);\n }\n getSidesCount(particle) {\n const roundedPolygon = particle.shapeData;\n return Math.round((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(roundedPolygon?.sides ?? defaultSides));\n }\n particleInit(container, particle) {\n const shapeData = particle.shapeData;\n particle.borderRadius = Math.round((0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.radius ?? defaultSides)) * container.retina.pixelRatio;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/rounded-polygon/dist/browser/RoundedPolygonDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/rounded-polygon/dist/browser/Utils.js"
31
- /*!**********************************************************!*\
32
- !*** ../../shapes/rounded-polygon/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 */ polygon: () => (/* binding */ polygon),\n/* harmony export */ roundedPath: () => (/* binding */ roundedPath)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst defaultRotation = 0;\nfunction polygon(sides, radius, rot = defaultRotation) {\n const step = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI / sides, path = [];\n for(let i = 0; i < sides; i++){\n path.push({\n x: Math.cos(i * step + rot) * radius,\n y: Math.sin(i * step + rot) * radius\n });\n }\n return path;\n}\nfunction roundedPath(context, path, radius) {\n const index1 = 0, index2 = 1, increment = 1;\n let p1 = path[index1], p2 = path[index2];\n if (!p1 || !p2) {\n return;\n }\n const len = path.length;\n context.moveTo((p1.x + p2.x) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half, (p1.y + p2.y) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half);\n for(let i = 1; i <= len; i++){\n p1 = p2;\n p2 = path[(i + increment) % len];\n if (!p1 || !p2) {\n continue;\n }\n context.arcTo(p1.x, p1.y, (p1.x + p2.x) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half, (p1.y + p2.y) * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.half, radius);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/rounded-polygon/dist/browser/Utils.js?\n}");
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
- * v4.0.0-beta.12
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_rounded-polygon_dist_browser_index_js"],{
19
-
20
- /***/ "../../shapes/rounded-polygon/dist/browser/index.js"
21
- /*!**********************************************************!*\
22
- !*** ../../shapes/rounded-polygon/dist/browser/index.js ***!
23
- \**********************************************************/
24
- (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
-
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadRoundedPolygonShape: () => (/* binding */ loadRoundedPolygonShape)\n/* harmony export */ });\nasync function loadRoundedPolygonShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"rounded-polygon\"\n ], async ()=>{\n const { RoundedPolygonDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_rounded-polygon_dist_browser_RoundedPolygonDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./RoundedPolygonDrawer.js */ \"../../shapes/rounded-polygon/dist/browser/RoundedPolygonDrawer.js\"));\n return new RoundedPolygonDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/rounded-polygon/dist/browser/index.js?\n}");
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
- * v4.0.0-beta.12
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_rounded-rect_dist_browser_RoundedRectDrawer_js"],{
19
-
20
- /***/ "../../shapes/rounded-rect/dist/browser/RoundedRectDrawer.js"
21
- /*!*******************************************************************!*\
22
- !*** ../../shapes/rounded-rect/dist/browser/RoundedRectDrawer.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 */ RoundedRectDrawer: () => (/* binding */ RoundedRectDrawer)\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/rounded-rect/dist/browser/Utils.js\");\n\n\nconst defaultRadius = 5;\nclass RoundedRectDrawer {\n draw(data) {\n const { context, particle, radius } = data, fixedRadius = radius * Math.SQRT1_2, fixedDiameter = fixedRadius * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double, borderRadius = particle.borderRadius ?? defaultRadius;\n if (\"roundRect\" in context) {\n context.roundRect(-fixedRadius, -fixedRadius, fixedDiameter, fixedDiameter, borderRadius);\n } else {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawRoundedRect)(context, fixedRadius, fixedDiameter, borderRadius);\n }\n }\n particleInit(container, particle) {\n const shapeData = particle.shapeData;\n particle.borderRadius = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.radius ?? defaultRadius) * container.retina.pixelRatio;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/rounded-rect/dist/browser/RoundedRectDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/rounded-rect/dist/browser/Utils.js"
31
- /*!*******************************************************!*\
32
- !*** ../../shapes/rounded-rect/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 */ drawRoundedRect: () => (/* binding */ drawRoundedRect)\n/* harmony export */ });\nfunction drawRoundedRect(ctx, fixedRadius, fixedDiameter, borderRadius) {\n const info = {\n x: -fixedRadius,\n y: -fixedRadius,\n height: fixedDiameter,\n width: fixedDiameter\n }, radius = {\n topLeft: borderRadius,\n topRight: borderRadius,\n bottomLeft: borderRadius,\n bottomRight: borderRadius\n }, { x, y, width, height } = info, r = x + width, b = y + height;\n ctx.moveTo(x + radius.topLeft, y);\n ctx.lineTo(r - radius.topRight, y);\n ctx.quadraticCurveTo(r, y, r, y + radius.topRight);\n ctx.lineTo(r, y + height - radius.bottomRight);\n ctx.quadraticCurveTo(r, b, r - radius.bottomRight, b);\n ctx.lineTo(x + radius.bottomLeft, b);\n ctx.quadraticCurveTo(x, b, x, b - radius.bottomLeft);\n ctx.lineTo(x, y + radius.topLeft);\n ctx.quadraticCurveTo(x, y, x + radius.topLeft, y);\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/rounded-rect/dist/browser/Utils.js?\n}");
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
- * v4.0.0-beta.12
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_rounded-rect_dist_browser_index_js"],{
19
-
20
- /***/ "../../shapes/rounded-rect/dist/browser/index.js"
21
- /*!*******************************************************!*\
22
- !*** ../../shapes/rounded-rect/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 */ loadRoundedRectShape: () => (/* binding */ loadRoundedRectShape)\n/* harmony export */ });\nasync function loadRoundedRectShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"rounded-rect\"\n ], async ()=>{\n const { RoundedRectDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_rounded-rect_dist_browser_RoundedRectDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./RoundedRectDrawer.js */ \"../../shapes/rounded-rect/dist/browser/RoundedRectDrawer.js\"));\n return new RoundedRectDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/rounded-rect/dist/browser/index.js?\n}");
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
- * v4.0.0-beta.12
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_spiral_dist_browser_SpiralDrawer_js"],{
19
-
20
- /***/ "../../shapes/spiral/dist/browser/SpiralDrawer.js"
21
- /*!********************************************************!*\
22
- !*** ../../shapes/spiral/dist/browser/SpiralDrawer.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 */ SpiralDrawer: () => (/* binding */ SpiralDrawer)\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/spiral/dist/browser/Utils.js\");\n\n\nconst defaultInnerRadius = 1, defaultLineSpacing = 1, defaultWidthFactor = 10;\nclass SpiralDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawSpiral)(data);\n }\n particleInit(container, particle) {\n const pixelRatio = container.retina.pixelRatio, shapeData = particle.shapeData;\n particle.spiralInnerRadius = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.innerRadius ?? defaultInnerRadius) * pixelRatio;\n particle.spiralLineSpacing = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.lineSpacing ?? defaultLineSpacing) * pixelRatio;\n particle.spiralWidthFactor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.widthFactor ?? defaultWidthFactor);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/spiral/dist/browser/SpiralDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/spiral/dist/browser/Utils.js"
31
- /*!*************************************************!*\
32
- !*** ../../shapes/spiral/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 */ drawSpiral: () => (/* binding */ drawSpiral)\n/* harmony export */ });\nfunction drawSpiral(data) {\n const { context, particle, radius } = data;\n if (particle.spiralInnerRadius === undefined || particle.spiralLineSpacing === undefined || particle.spiralWidthFactor === undefined) {\n return;\n }\n const realWidth = (radius - particle.spiralInnerRadius) / particle.spiralLineSpacing, widthFactor = 10;\n for(let i = 0; i < realWidth * widthFactor; i++){\n const angle = i / widthFactor, factor = particle.spiralInnerRadius + particle.spiralLineSpacing * angle, pos = {\n x: factor * Math.cos(angle),\n y: factor * Math.sin(angle)\n };\n context.lineTo(pos.x, pos.y);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/spiral/dist/browser/Utils.js?\n}");
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
- * v4.0.0-beta.12
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_spiral_dist_browser_index_js"],{
19
-
20
- /***/ "../../shapes/spiral/dist/browser/index.js"
21
- /*!*************************************************!*\
22
- !*** ../../shapes/spiral/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 */ loadSpiralShape: () => (/* binding */ loadSpiralShape)\n/* harmony export */ });\nasync function loadSpiralShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"spiral\"\n ], async ()=>{\n const { SpiralDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_spiral_dist_browser_SpiralDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./SpiralDrawer.js */ \"../../shapes/spiral/dist/browser/SpiralDrawer.js\"));\n return new SpiralDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/spiral/dist/browser/index.js?\n}");
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
- * v4.0.0-beta.12
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_square_dist_browser_SquareDrawer_js"],{
19
-
20
- /***/ "../../shapes/square/dist/browser/SquareDrawer.js"
21
- /*!********************************************************!*\
22
- !*** ../../shapes/square/dist/browser/SquareDrawer.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 */ SquareDrawer: () => (/* binding */ SquareDrawer)\n/* harmony export */ });\n/* harmony import */ var _Utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utils.js */ \"../../shapes/square/dist/browser/Utils.js\");\n\nconst sides = 4;\nclass SquareDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_0__.drawSquare)(data);\n }\n getSidesCount() {\n return sides;\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/square/dist/browser/SquareDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/square/dist/browser/Utils.js"
31
- /*!*************************************************!*\
32
- !*** ../../shapes/square/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 */ drawSquare: () => (/* binding */ drawSquare)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nfunction drawSquare(data) {\n const { context, radius } = data, fixedRadius = radius * Math.SQRT1_2, fixedDiameter = fixedRadius * _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double;\n context.rect(-fixedRadius, -fixedRadius, fixedDiameter, fixedDiameter);\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/square/dist/browser/Utils.js?\n}");
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
- * v4.0.0-beta.12
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_square_dist_browser_index_js"],{
19
-
20
- /***/ "../../shapes/square/dist/browser/index.js"
21
- /*!*************************************************!*\
22
- !*** ../../shapes/square/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 */ loadSquareShape: () => (/* binding */ loadSquareShape)\n/* harmony export */ });\nasync function loadSquareShape(engine) {\n engine.checkVersion(\"4.0.0-beta.12\");\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addShape([\n \"edge\",\n \"square\"\n ], async ()=>{\n const { SquareDrawer } = await __webpack_require__.e(/*! import() */ \"shapes_square_dist_browser_SquareDrawer_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./SquareDrawer.js */ \"../../shapes/square/dist/browser/SquareDrawer.js\"));\n return new SquareDrawer();\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/square/dist/browser/index.js?\n}");
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
- * v4.0.0-beta.12
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_squircle_dist_browser_SquircleDrawer_js"],{
19
-
20
- /***/ "../../shapes/squircle/dist/browser/SquircleDrawer.js"
21
- /*!************************************************************!*\
22
- !*** ../../shapes/squircle/dist/browser/SquircleDrawer.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 */ SquircleDrawer: () => (/* binding */ SquircleDrawer)\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/squircle/dist/browser/Utils.js\");\n\n\nclass SquircleDrawer {\n draw(data) {\n (0,_Utils_js__WEBPACK_IMPORTED_MODULE_1__.drawSquircle)(data);\n }\n particleInit(_container, particle) {\n const shapeData = particle.shapeData;\n particle.squircleExponent = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.exponent ?? _Utils_js__WEBPACK_IMPORTED_MODULE_1__.defaultExponent);\n particle.squircleSteps = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(shapeData?.steps ?? _Utils_js__WEBPACK_IMPORTED_MODULE_1__.defaultSteps);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/squircle/dist/browser/SquircleDrawer.js?\n}");
27
-
28
- /***/ },
29
-
30
- /***/ "../../shapes/squircle/dist/browser/Utils.js"
31
- /*!***************************************************!*\
32
- !*** ../../shapes/squircle/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 */ defaultExponent: () => (/* binding */ defaultExponent),\n/* harmony export */ defaultSteps: () => (/* binding */ defaultSteps),\n/* harmony export */ drawSquircle: () => (/* binding */ drawSquircle)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../engine/dist/browser/index.js\");\n\nconst defaultExponent = 4, defaultSteps = 64;\nfunction sign(v) {\n return v < _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.none ? -_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.identity : _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.identity;\n}\nfunction drawSquircle(data) {\n const { context, particle, radius } = data;\n if (particle.squircleExponent === undefined || particle.squircleSteps === undefined) {\n return;\n }\n const steps = particle.squircleSteps, step = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.doublePI / steps, exponent = _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.double / particle.squircleExponent;\n context.save();\n context.scale(radius, radius);\n context.beginPath();\n for(let i = 0; i <= steps; i++){\n const t = i * step, cos = Math.cos(t), sin = Math.sin(t), x = sign(cos) * Math.pow(Math.abs(cos), exponent), y = sign(sin) * Math.pow(Math.abs(sin), exponent);\n if (i) {\n context.lineTo(x, y);\n } else {\n context.moveTo(x, y);\n }\n }\n context.closePath();\n context.restore();\n}\n\n\n//# sourceURL=webpack://@tsparticles/all/../../shapes/squircle/dist/browser/Utils.js?\n}");
37
-
38
- /***/ }
39
-
40
- }]);