app.js 1001 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* default dom id (particles-js) */
  2. //particlesJS();
  3. /* config dom id */
  4. //particlesJS('dom-id');
  5. /* config dom id (optional) + config particles params */
  6. particlesJS('particles-js', {
  7. particles: {
  8. color: '#0ff',
  9. shape: 'circle', // "circle", "edge" or "triangle"
  10. opacity: .5,
  11. size: 4,
  12. size_random: true,
  13. nb: 50,
  14. line_linked: {
  15. enable_auto: true,
  16. distance: 100,
  17. color: '#fff',
  18. opacity: 0.1,
  19. width: .5,
  20. condensed_mode: {
  21. enable: false,
  22. rotateX: 600,
  23. rotateY: 600
  24. }
  25. },
  26. anim: {
  27. enable: true,
  28. speed: 1
  29. }
  30. },
  31. interactivity: {
  32. enable: true,
  33. mouse: {
  34. distance: 300
  35. },
  36. detect_on: 'canvas', // "canvas" or "window"
  37. mode: 'grab',
  38. line_linked: {
  39. opacity: .1
  40. },
  41. events: {
  42. onclick: {
  43. enable: true,
  44. mode: 'push', // "push" or "remove"
  45. nb: 4
  46. }
  47. }
  48. },
  49. /* Retina Display Support */
  50. retina_detect: true
  51. });