Interactive particle animation meets Discord profile cards
🎮 LIVE DEMO 🎮
Experience it now: luciefairepy.github.io/lucid-particles-demo
An interactive particle animation demo featuring authentic Discord profile card integration. Built with vanilla JavaScript and HTML5 Canvas, this project showcases dynamic particle text rendering that responds to user interaction, combined with Sybrax's pixel-perfect Discord card design.
- 🎨 Interactive Particle Animation - Text particles that react to mouse/touch
- 🎮 Authentic Discord Card - Real Sybrax Discord profile with animated GIF banner
- ⚙️ Fully Configurable - One-file configuration system (
config.js) - 📱 100% Responsive - Optimized for mobile, tablet, and desktop
- 🚀 Zero Dependencies - Pure vanilla JavaScript, no build process
- 🎭 Custom Badges & Roles - Discord-style badges and role system
- ⚡ 60 FPS Performance - Smooth canvas rendering
- 🌈 Customizable Colors - Easy particle color theming
None! Just a web browser. No Node.js, no npm, no build tools required.
- Clone the repository
git clone https://github.com/LucieFairePy/lucid-particles-demo.git
cd lucid-particles-demo- Open in browser
# Option 1: Double-click index.html
# Option 2: Use a local server (recommended)
python -m http.server 8000
# or
npx serve .- Visit
http://localhost:8000
That's it! 🎉
All customization is done through config.js. No code editing required!
text: {
content: 'YOUR NAME', // Text displayed as particles
fontWeight: 'bold',
fontFamily: 'sans-serif'
}particle: {
colors: ['#4aa3ff', '#6eb5ff', '#3d8fd1'], // Add as many colors as you want
minSize: 1,
maxSize: 6,
dpi: 200 // Higher = less particles (better performance)
}personal: {
name: 'Your Name',
username: 'your_discord',
avatar: 'https://cdn.discordapp.com/avatars/YOUR_ID/HASH.webp',
banner: './assets/img/banner.gif', // Use custom GIF or image
bio: 'Your bio here...',
memberSince: 'Jun 14, 2020'
}Available badges in /assets/img/badges/:
badges: [
'bravery', // HypeSquad Bravery
'nitro', // Discord Nitro
'boost' // Server Boosting
]Custom badges:
badges: [
{ type: 'custom', image: './path/to/badge.png', tooltip: 'My Badge' }
]roles: [
{ name: '👑 Owner', color: '#f04747' },
{ name: '💻 Developer', color: '#5865F2' },
{ name: '🎮 Gamer', color: '#43b581' }
]Common Discord colors:
#5865F2- Blurple#57F287- Green#FEE75C- Yellow#EB459E- Pink#ED4245- Red
lucid-particles-demo/
├── index.html # Main HTML file
├── config.js # ⚙️ EDIT THIS FILE to customize
├── style.css # Custom styles
├── script.js # Particle animation engine
├── script-add.js # Scroll fade effects
├── assets/
│ ├── css/
│ │ └── style.css # Sybrax Discord card styles
│ ├── font/ # Whitney font (Discord official)
│ └── img/
│ ├── banner.gif # Animated banner
│ ├── logo_blue.png
│ └── badges/ # Discord badge icons
└── README.md
text: { content: 'AWESOME' }particle: {
colors: ['#ff6b6b', '#4ecdc4', '#45b7d1'] // Red, teal, blue
}- Get your Discord User ID
- Right-click your profile picture → "Copy Image Address"
- Paste into
config.js:
avatar: 'https://cdn.discordapp.com/avatars/YOUR_ID/HASH.webp?size=128'Replace banner.gif in /assets/img/ or use URL:
banner: 'https://i.imgur.com/your-banner.gif'- Reduce particles - Increase
dpivalue (200-300) - Disable mouse interaction - Set
mouseRepulsion.enabled: false - Use fewer colors - 2-3 colors max
- Shorter text - Less characters = better performance
- Vanilla JavaScript - No frameworks
- HTML5 Canvas - Particle rendering
- CSS3 - Animations & layouts
- Sybrax Discord Card - Discord UI components
- Whitney Font - Discord's official typeface
This project is licensed under the GNU General Public License v3.0.
You CAN:
- ✅ Use this code for personal projects
- ✅ Modify and adapt the code
- ✅ Use commercially IF you share your source code
You MUST:
- 📝 Give credit to Lucifer.exe
- 🔓 Share your source code if you distribute
- 📄 Keep the same GPL v3 license
You CANNOT:
- 🚫 Make proprietary/closed-source versions
- 🚫 Remove copyright notices
This ensures the code stays free and open for everyone! 🎉
See LICENSE for full legal text.
- Particle Engine - Created by Lucifer.exe
- Discord Card - Based on Sybrax's Discord-User-Card
- Icons - Font Awesome
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing) - Open a Pull Request
- 🐛 Report a Bug
- 💡 Request a Feature
- ⭐ Star this repo if you like it!
Lucifer.exe
- GitHub: @LucieFairePy
- Discord: Lucifer.py
Made with ❤️ and JavaScript
⭐ Star this repo if you found it helpful!
