Study the particle physics implementation to add hover-reactive animated text to your own Flutter web app
Use the configurable settings to customize scatter distance and spring speed for a splash screen or loading animation
Adapt the pixel-sampling technique to create particle effects from images or logos instead of text
Run the demo on mobile to explore how the spring-back physics translate to touch drag interactions on iOS and Android
Requires Flutter SDK installed, default target is Chrome.
This is a Flutter demo project that turns text into a swarm of animated dots. When the app displays a word or phrase, it does not render the letters as normal text. Instead it samples the shape of each character as a grid of tiny colored dots, called particles, and then animates those dots letter by letter from left to right. The interactive part is what makes it a demo worth looking at. If you hover your mouse over the particles or drag across them, they scatter away from your pointer. When you stop, each dot follows a spring-like path back to its original resting position inside the letter it belongs to. The physics behind this involve velocity, damping, and a pull-back force that the README describes with the actual math formulas used in the code. The project is organized into four components. The first samples the visible pixels of the rendered text to find where each particle should rest. The second controls the reveal order, enabling particles one letter at a time. The third runs the physics each frame, handling pointer repulsion and the spring-back motion. The fourth draws the particles onto the screen canvas. Running it requires Flutter, and the default target is Chrome, though the README says it also works on macOS, iOS, and Android. The visual settings like scatter distance, spring speed, and fade-in rate are all adjustable in a single configuration file. This is a demonstration project rather than a reusable package. It shows one approach to building particle-based text effects inside Flutter using the framework's canvas drawing tools.
← yelwinoo-steve on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.