Flux.js - Seductive Particles ✨ | Because Your Website Deserves More Than Basic
Preparando la seducción digital...
v1.0.5 - Ready to use

Flux.js

Particles
Incredible
Effortlessly

Add visual effects that will make your visitors sigh in just 5 minutes. No complicated setup, no headaches, no excuses.

5min
Para seducir
100%
Irresistible
0
Complicaciones

Getting Started is Irresistibly Easy! 🚀

Solo necesitas 3 pasos simples para tener partículas que harán que tu competencia se muera de envidia

🎯 Solo 3 Pasos Hacia la Gloria Digital

1

Copy the link

Add Flux.js to your HTML with a simple script (easier than making coffee)

2

Create a container

A simple <div> where the most seductive particles will be born

3

Enjoy the magic!

Your particles are already working better than your Monday motivation

✨

📦 Via CDN

Recommended for conquering hearts - works instantly

Irresistible

1
Añade esto en tu HTML (antes de </body>):

<script src="https://unpkg.com/@pablotheblink/fluxjs@1.0.5/flux.js"></script>

2
Crea un contenedor para las partículas:

<div id="mis-particulas"></div>

3 Añade el código JavaScript (también antes de </body>):

<script>
// ¡Esto crea partículas automáticamente!
const particulas = new FluxJS({
  container: document.getElementById('mis-particulas')
});
</script>
🎉

Ejemplo Completo - ¡Listo para Enamorar!

Copy this code and have particles more seductive than a sunset

<!DOCTYPE html>
<html>
<head>
  <title>Mi Web con Partículas</title>
  <style>
    #mis-particulas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1; /* Detrás del contenido */
    }
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #1a1a1a;
      color: white;
    }
    .contenido {
      position: relative;
      z-index: 1;
      padding: 50px;
      text-align: center;
    }
  </style>
</head>
<body>
  <div id="mis-particulas"></div>
  
  <div class="contenido">
    <h1>¡Mi Web Increíble!</h1>
    <p>Con partículas de fondo geniales</p>
  </div>

  <script src="https://unpkg.com/@pablotheblink/fluxjs@1.0.5/flux.js"></script>
  <script>
    const particulas = new FluxJS({
      container: document.getElementById('mis-particulas')
    });
  </script>
</body>
</html>
✅ Código 100% seductor - Probado y aprobado por el corazón
⚡

⚙️ Via NPM

If you use tools like npm, webpack, bundlers and that kind of magic

Nivel Seductor Avanzado

📦 Instalación con NPM:

npm install @pablotheblink/fluxjs
package installed successfully

💡 Pro tip: Also works with yarn, pnpm and bun (we're polyglots)

🔧 Uso en tu código:

import { FluxJS } from '@pablotheblink/fluxjs';

const flux = new FluxJS({
  container: document.getElementById('mi-contenedor')
});
ES6+ modules

⚡ Compatible with: React, Vue, Angular, Svelte and any framework you can think of

🚀

Configuración para Conquistar Corazones

For professional projects that need that irresistible touch

// Configuración completa para proyectos profesionales
import { FluxJS } from '@pablotheblink/fluxjs';

const advancedFlux = new FluxJS({
  container: document.getElementById('particles-container'),
  count: 100,
  color: '#4fc3f7',
  size: { min: 2, max: 8 },
  speed: { min: 0.1, max: 0.5 },
  connections: {
    enabled: true,
    distance: 150,
    opacity: 0.3
  },
  mouse: {
    interact: true,
    attract: true,
    repel: false,
    radius: 200
  },
  responsive: {
    mobile: { count: 50 },
    tablet: { count: 75 }
  }
});
TypeScript support
Tree shaking compatible
Zero dependencies
Bundle size ~15KB
🎯

¡Ya Está Listo!

Your website will look amazing with these particles

In less than 5 minutes you already have particles working on your website. Now let's see awesome examples you can use for inspiration...

👀 Ver Ejemplos Increíbles →
Instalación completa
Listo para usar

Tres Formas de Usarlo 💡

Aquí tienes las 3 formas más comunes de usar Flux.js. Elige la que mejor se adapte a lo que necesitas

📚 Quick guide: Each option is designed for different needs. All super easy to implement!

🌌

Fondo de Página

Para que toda tu página tenga partículas de fondo espectaculares

// Solo cambia 'mi-fondo' por tu ID
new FluxJS({
  container: document.getElementById('mi-fondo'),
  count: 50
});
Más Popular
🎯

Solo una Sección

Para añadir partículas solo a una parte específica de tu web

// Cambia 'mi-seccion' por tu ID
new FluxJS({
  container: document.getElementById('mi-seccion'),
  count: 30
});
Más Preciso
✨

Múltiples Efectos

Para tener diferentes efectos en varias partes de tu web

// Crea varios con diferentes colores
new FluxJS({ container: header, color: '#fff' });
new FluxJS({ container: footer, color: '#4fc3f7' });
Más Avanzado

Gallery of Pure Genius ✨

Descubre ejemplos listos para usar que harán que tu web luzca profesional

🎨 Ready inspiration: Each example includes complete code and an interactive demo. Just copy, paste and customize!

🫧 Background Bubbles

Elegant floating bubble effect perfect for backgrounds that captivate

HTML + JS
// HTML
<div id="bubbles-background"></div>

// CSS
#bubbles-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

// JavaScript
const bubbles = new Flux({
  container: document.getElementById('bubbles-background'),
  count: 30,
  color: '#ffffff',
  size: { min: 5, max: 25 },
  speed: { min: 0.02, max: 0.1 },
  opacity: { min: 0.1, max: 0.4 },
  connections: { enabled: false },
  mouse: { interact: false },
  movement: 'float'
});

🔗 Connection Network

Connected particles that dance to the rhythm of your mouse like pure magic

HTML + JS
// HTML
<div id="network-container"></div>

// CSS
#network-container {
  width: 100%;
  height: 400px;
  background: #1a1a1a;
  border-radius: 12px;
}

// JavaScript
const network = new Flux({
  container: document.getElementById('network-container'),
  count: 60,
  color: '#4fc3f7',
  size: { min: 2, max: 4 },
  speed: { min: 0.1, max: 0.3 },
  opacity: { min: 0.6, max: 1 },
  connections: {
    enabled: true,
    distance: 120,
    color: '#4fc3f7',
    opacity: 0.3
  },
  mouse: {
    interact: true,
    distance: 150,
    force: 0.5
  }
});

🌌 Rotating Galaxy

Hypnotic effect of particles spinning in a spiral with central gravity that will leave you in a trance

HTML + JS
// HTML
<div id="galaxy-container"></div>

// CSS
#galaxy-container {
  width: 100%;
  height: 500px;
  background: radial-gradient(circle, #1a0a2e, #000);
  border-radius: 12px;
}

// JavaScript
const galaxy = new Flux({
  container: document.getElementById('galaxy-container'),
  count: 200,
  color: {
    type: 'gradient',
    gradient: ['#8B00FF', '#4B0082', '#9400D3', 
              '#8A2BE2', '#DA70D6', '#FF69B4']
  },
  size: { min: 1, max: 4, pulse: true },
  speed: { min: 0.05, max: 0.3 },
  opacity: { min: 0.3, max: 0.8, flicker: true },
  connections: { 
    enabled: true, 
    distance: 80, 
    opacity: 0.3 
  },
  animation: { 
    type: 'orbit', 
    orbit: { radius: 120, speed: 0.012 } 
  },
  effects: { 
    glow: true, 
    glowColor: '#8B00FF', 
    twinkle: true 
  },
  mouse: { interact: true, attraction: 0.1 }
});

🎨 Rainbow Trail

Particles that change color dynamically with a trail effect that looks like it's from the future

HTML + JS
// HTML
<div id="rainbow-container"></div>

// CSS
#rainbow-container {
  width: 100%;
  height: 400px;
  background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
  border-radius: 12px;
}

// JavaScript
const rainbow = new Flux({
  container: document.getElementById('rainbow-container'),
  count: 60,
  color: {
    type: 'rainbow',
    rainbowSpeed: 0.02
  },
  size: { min: 2, max: 6, pulse: true },
  speed: { min: 0.15, max: 0.4, turbulence: 0.2 },
  opacity: { min: 0.7, max: 1 },
  mouse: {
    interact: true,
    trail: true,
    trailLength: 25,
    trailWidth: 10,
    trailGlow: true,
    trailFadeTime: 2000,
    distance: 180,
    sparkles: true
  },
  effects: { glow: true, twinkle: true }
});

🚀 Demo que Te Volará la Cabeza

Sumérgete en todas las capacidades de Flux.js con nuestra demo interactiva que te dejará sin palabras

Interactivo
Tiempo Real
Inmersivo

Inteligencia Artificial Built-In 🧠

Flux.js piensa por ti con IA integrada que optimiza automáticamente cada detalle

🤖 Zero configuration: Flux.js AI detects your device, battery, connection and preferences. Everything works automatically without you having to do anything!

🔋
ECO MODE

Battery Saver

AI automatically detects battery level and adjusts performance. Your device will last all day!

AUTO_BATTERY_OPTIMIZATION: ON

Automatically reduces particles when battery < 20%

👆
MULTI-TOUCH

Perfect on Mobile

Automatically recognizes multi-touch gestures and adapts to each device. Works great on tablets and phones!

TOUCH_DETECTION: ADVANCED

Supports up to 10 simultaneous touches

👁️
SMART PAUSE

Smart Pause

Detects when you switch tabs and automatically pauses. Saves resources without you noticing!

VISIBILITY_API: ACTIVE

Automatic pause when not viewing

♿
A11Y

Inclusive by Default

Automatically respects user accessibility preferences. Works for everyone without exceptions!

PREFERS_REDUCED_MOTION: RESPECT

Adapts to animation preferences

🚀
TURBO

Extreme Speed

Advanced optimization algorithms with automatic WebGL and Canvas2D. 60 FPS guaranteed!

WEBGL_ACCELERATION: AUTO

Automatic GPU/CPU optimization

🔧
AI DEBUG

AI Diagnostics

Automatically detects errors and suggests smart solutions. Like having an expert 24/7!

SMART_DEBUG: ENABLED

Automatic error analysis and solutions

🤖

IA que Trabaja por Ti

✨

🔥 Zero manual configuration: Flux.js detecta automáticamente tu dispositivo, ajusta el rendimiento, respeta tus preferencias y optimiza todo sin que tengas que tocar una sola línea de código. It's like magic, but better because it's real!

🧠 INTELIGENCIA ARTIFICIAL INTEGRADA
♻️ 100% AUTOMÁTICO

Express Customization Guide 📋

Para cuando quieras llevar Flux.js al siguiente nivel

🎛️ Advanced customization: Estas configuraciones te permiten afinar cada detalle de Flux.js. Change only what you need, the rest works automatically!

🎛️

Configuración Personalizada

ULTRA FLEXIBLE

Estas son las opciones que puedes cambiar para crear efectos únicos. ¡Solo ajusta lo que quieras!

CONFIGURACIÓN BÁSICA
{
  container: element, // Dónde aparecen
  count: 50, // Cuántas partículas
  color: '#ffffff', // Color
  size: { min: 1, max: 3 }, // Tamaño
  speed: { min: 0.1, max: 0.5 }, // Velocidad
  opacity: { min: 0.3, max: 0.8 }, // Transparencia
  connections: { // Líneas entre partículas
    enabled: true,
    distance: 100
  },
  mouse: { // Respuesta al mouse
    interact: true,
    distance: 150
  }
}

💡 Pro Tip: Cambia solo las propiedades que necesites. El resto mantendrá valores optimizados automáticamente.

⚡

Comandos de Control

CONTROL TOTAL

Estas funciones te permiten controlar las partículas dinámicamente. ¡Cambia todo en tiempo real!

MÉTODOS DISPONIBLES
// Controlar la animación
flux.start(); // Iniciar
flux.stop(); // Pausar
flux.destroy(); // Eliminar todo

// Cambiar cosas sobre la marcha
flux.setColor('#ff0000'); // Cambiar color
flux.setCount(100); // Cambiar cantidad
flux.updateConfig({
  speed: { min: 1, max: 2 } // Cambiar velocidad
});

🚀 Pro Tip: Todos los cambios se aplican instantáneamente sin reiniciar la animación.

Creation Laboratory 🎨

Experimenta en tiempo real y crea efectos únicos con nuestro generador inteligente

🧪 Free experimentation: Adjust each parameter and see changes instantly. When you find your perfect combination, copy the code and use it!

CANVAS EN VIVO
TIEMPO REAL INTERACTIVO

Centro de Control 🎛️

Ajusta cada parámetro y observa cómo cambia la magia en tiempo real

⚙️

Parámetros Básicos

ESENCIAL
10 500
0.1 2.0
1 15

Toca para cambiar

🎭

Estilo Visual

PERSONALIZACIÓN
✨

Efectos Avanzados

PRO LEVEL
50 300
0 1
5 50
🎮

Interactividad & Física

DINAMISMO
💫 Efectos Básicos:
🚀 Efectos Pro:
🖱️ Interacción:
🧲 Física:
🧬

Your Magic Formula

Automatically generated code

LISTO PARA USAR AUTO-GENERADO
JAVASCRIPT OPTIMIZADO
// Tu código personalizado aparecerá aquí...
// Configurado automáticamente según tus preferencias

const flux = new Flux({
  container: document.getElementById('mi-contenedor'),
  // Configuración generada dinámicamente
});

💡 Pro Tip: El código se actualiza automáticamente mientras juegas con los controles. ¡Experimenta sin miedo!

Historias de Éxito 💬

Desarrolladores de todo el mundo ya están creando magia con Flux.js

JF

Javier Fernández Gutiérrez

Programador Senior

⭐⭐⭐⭐⭐

"Impressive!"

🔥 Hace 6 horas
JV

Julian Videla

Frontend Developer | React · Next.js

⭐⭐⭐⭐⭐

"Very good, the landing looks amazing!"

👍 Hace 1 hora
LC

Luis Chicaiza

Frontend Developer | React

⭐⭐⭐⭐⭐

"I've been testing it and it's amazing! Thanks for your contributions 🚀"

🚀 Hace 19 horas
SL

Simeí Lavalle

Full Stack Developer

⭐⭐⭐⭐⭐

"Looks amazing, I'll surely use it in a project."

❤️ Hace 21 horas
CF

Caled Flores

Full Stack Developer

⭐⭐⭐⭐⭐

"You're killing it bro 🔥 thanks for sharing your great creativity 🥳"

🔥 Hace 20 horas
JR

Juan Ramón Rodríguez

Senior Full-Stack AI Engineer

⭐⭐⭐⭐⭐

"✨🔭👀"

✨ Hace 18 horas
DL

Denise Lara

Frontend Developer

⭐⭐⭐⭐⭐

"Great, I'm gonna try it to see how it goes, thanks for sharing!"

👍 Hace 15 horas
PU

Paul Uzcategui

Desarrollador Full Stack

⭐⭐⭐⭐⭐

"Really amazing 😮‍💨👌"

😮‍💨 Hace 17 horas
BR

Brayan Reyes Rodríguez

Software Engineer

⭐⭐⭐⭐⭐

"Wow🙌"

🙌 Hace 43 minutos
AM

Andrés Medina

Frontend React Developer

⭐⭐⭐⭐⭐

"Very good, Pablo!"

👏 Hace 1 hora
AD

Axel Domingo Lara Parés

Frontend/Game Developer

⭐⭐⭐⭐⭐

"Interesting thanks for sharing"

👍 Hace 17 horas
RG

Reinaldo González

Software Engineer

⭐⭐⭐⭐⭐

"Excellent work!"

🎉 Hace 12 horas
⭐⭐⭐⭐⭐

5.0 estrellas

12+ testimonios reales

🚀

100%

Satisfacción de usuarios

👥

LinkedIn

Comunidad activa

¿Ya usas Flux.js? ¡Únete a nuestra increíble comunidad de desarrolladores!

Join the Revolution 🤝

Flux.js es 100% open source y cualquier persona puede contribuir a hacerlo mejor

🌟 Comunidad abierta: Desde reportar bugs hasta crear nuevas features, ¡tu contribución hace la diferencia! Your experience level doesn't matter.

🐛

Report Issues

Something not working as it should? Help us fix it!

  • • Explica qué paso mal
  • • Dinos qué navegador usas
  • • Comparte tu código si puedes
Reportar Problema
💡

Suggest Ideas

Got a great idea for Flux.js? Tell us!

  • • Explica tu idea
  • • Dinos para qué serviría
  • • Si tienes ejemplos, ¡mejor!
Sugerir Idea
🔧

Help with Code

Know how to code? You can help improve Flux.js!

  • • Ve al repositorio en GitHub
  • • Haz una copia (fork)
  • • Envía tus mejoras
Ver en GitHub
📚

Improve Documentation

Help make explanations clearer for everyone.

  • • Corregir errores de texto
  • • Hacer ejemplos más claros
  • • Mejorar las instrucciones
Mejorar Documentación
🎨

Create Examples

Create awesome examples that help others learn.

  • • Demos fáciles de entender
  • • Ejemplos para casos específicos
  • • Tutoriales paso a paso
🧪

Test on Devices

Help test that Flux.js works well on different devices.

  • • Probar en celulares y tablets
  • • Ver que funcione rápido
  • • Asegurar compatibilidad
Guía de Pruebas

🚀 Cómo Contribuir (Si Sabes Programar)

1

Copia el Proyecto

Haz una copia en tu cuenta de GitHub

2

Crea una Nueva Rama

Para organizar tus cambios

3

Haz tus Cambios

Programa tu mejora y pruébala bien

4

Envía tu Mejora

Crea un Pull Request para que lo revisemos

📝 Convenciones de Commits

feat: New feature
fix: Bug fix
docs: Documentation changes
style: Cambios de formato

⚡ Issues para Debutantes Ambiciosos

¿Primera vez contribuyendo? ¡Genial! Busca issues etiquetados como:

good first issue help wanted difficulty: easy
Ver Issues

🏆 Hall of Fame

Todos los contribuidores son reconocidos y valorados. Tu nombre aparecerá en:

📝

README.md

🎉

Release Notes

👥

Contributors Page

Sobre el Autor

Pablo Martínez
😎

Pablo Martínez

Full Stack Developer with a bit of craziness 🤪 for creating tools that make users say "WOW!" I created Flux.js because static backgrounds make me sleepy 😴 and I wanted something that makes particles dance all over the screen ✨

Si este proyecto te ha robado el corazón ❤️ (y algunos cafés ☕), considera invitarme a una pizza 🍕 para seguir creando cositas geniales que hagan que la web sea más divertida

💖 Apóyame con una donación

Tu apoyo me ayuda a seguir desarrollando herramientas útiles y gratuitas para la comunidad