Animated Float Preview β‘π ‘π π £π
Plot up to six numeric values over time, spectrogram included
- audio
- IMAGE
This is the more general sibling of AnimatedFeaturePreview - instead of taking a formal FEATURE object, it plots raw float values directly, up to six of them at once, on one animated graph with a legend and its own color per line. Reach for this one when you're debugging plain numbers rather than a proper FlexFeature: a keyframed weight, a scalar you pulled from somewhere else in your graph, anything you just want to eyeball over time.
Another of ryanontheinside's FlexFeatures preview utilities.
How it works
It's a sliding-window animated line graph, same idea as its FEATURE-based cousin, but built to accept scalar or list-of-float inputs directly on up to six separate channels. The genuinely nice extra: connect an audio input and it renders a spectrogram behind the graph, so you can visually check whether your float curve is actually tracking the music rather than just eyeballing two unrelated plots side by side.
The inputs and outputs that matter
window_size,width,height,title- required, all with sensible defaults (60 frames, 960Γ540, "Float Preview").float_1throughfloat_6- optional, each paired with its ownlabel_1βlabel_6string (defaulting to "Float 1" through "Float 6"). Only wire up the ones you actually care about - since they're all optional and default to 0, don't be surprised if the legend shows more lines than you meant to plot if you leave several connected out of habit.audio- optional, purely for the background spectrogram.audio_brightness- default 0.3. Lower values keep the spectrogram subtle so it doesn't fight with your float lines for attention.
Output is an IMAGE.
How to install it
Via ComfyUI Manager, search RyanOnTheInside. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/ryanontheinside/ComfyUI_RyanOnTheInside
then restart. No models needed - pure visualization.
Common issues & troubleshooting
Legend cluttered with flat lines you didn't mean to plot. Any float_N you left unconnected still has a default value (0) and a default label - only wire the channels you're actually debugging, and consider giving the ones you keep a real label_N so the legend is actually readable.
Spectrogram too loud or invisible. Adjust audio_brightness - it's a background layer, meant to support the float lines, not compete with them. If it's dominating the image, bring it down further than the default.
Values plotted flat even though you expect motion. If you're feeding a scalar (a single number) rather than a list of floats per frame, the line will render flat because there's genuinely nothing changing frame to frame - check upstream that you're actually producing a sequence, not a single value repeated.
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| window_size | INT | 6010β3000 | β |
| width | INT | 960480β1920 | β |
| height | INT | 540270β1080 | β |
| title | STRING | Float Preview | β |
| audioopt | AUDIO | Optional audio input β renders a spectrogram behind the graph | |
| audio_brightnessopt | FLOAT | 0.300.05β1 | Brightness of the background spectrogram (lower = more subtle) |
| float_1opt | FLOAT | 0.00 | β |
| label_1opt | STRING | Float 1 | β |
| float_2opt | FLOAT | 0.00 | β |
| label_2opt | STRING | Float 2 | β |
| float_3opt | FLOAT | 0.00 | β |
| label_3opt | STRING | Float 3 | β |
| float_4opt | FLOAT | 0.00 | β |
| label_4opt | STRING | Float 4 | β |
| float_5opt | FLOAT | 0.00 | β |
| label_5opt | STRING | Float 5 | β |
| float_6opt | FLOAT | 0.00 | β |
| label_6opt | STRING | Float 6 | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |