r/Python • u/M4K35N0S3N53 • 1d ago
Showcase Flux: A beautiful flowfield visualization app.
What My Project Does
Flux is an interactive Python application that brings flow fields to life, creating mesmerizing particle animations in real time. With configurable flow field functions, color schemes, and particle dynamics, Flux is perfect for both artistic expression and technical exploration.
Key Features
- Customizable Flow Field: Choose from various mathematical functions to define the behavior of particles in the field.
- Interactive Particle Control: Modify particle speed, lifespan, radius, and more via an intuitive GUI.
- Real-Time Rendering: Smoothly renders particle animations with frame-by-frame updates.
- User-Friendly Interface: Built with a modern and responsive design using
dearpygui
.
Use Cases
- Digital Art: Create visually appealing flow animations for presentations or digital installations.
- Education: Explore mathematical functions/concepts in an engaging, interactive way.
- Relaxation: Experiment with color themes and motion styles to craft unique relaxing visuals.
Target Audience
- Visual artists looking to generate dynamic digital art.
- Developers and Creative Coders experimenting with particle-based animations.
- Anyone who enjoys exploring the interplay of motion and color.
Check out the project here: https://github.com/harshkaso/flux.
I'd love to get your feedback or feature suggestions!
2
u/azshall It works on my machine 18h ago
What library function makes this incompatible with macOS, just out of curiosity.
2
u/M4K35N0S3N53 18h ago
I am using `dearpygui` for visuals. To make the application effecient, I am retaining the previous framebuffer and draw the particles on top of the previous frame. However the function to get the framebuffer in `dearpygui` is not supported macOS.
1
u/M4K35N0S3N53 18h ago
I pushed a fix to a bug which caused the app to crash when selecting 'Vortex' flowfield.
2
u/sapphirekr1 Pythoneer 22h ago
I loved this, have a star on github ;)