π Smooth Event Curve
One bell-shaped pulse at exactly the moment you want it
- frame_counter
- FLOAT
- INT
Most of the pack's curves loop forever. Smooth Event Curve [Dream] is the exception that refuses to: it produces a single, bell-shaped pulse at one chosen moment and sits quietly at min_value everywhere else. You use it for events - a flash of light at second 4, a quick zoom surge when the beat drops, a prompt word that spikes into frame for a couple of frames and then fades. It's the difference between "the whole animation pulses" and "one specific thing happens once," and the latter is often what actually makes a clip feel choreographed.
It lives in Dream Project Animation Nodes, the pack built for Deforum-style animations in ComfyUI, and its mechanism is refreshingly concrete. You give it a center_seconds (when the peak happens) and a width_seconds (how wide the pulse is). Before the pulse starts and after it ends, the output is min_value. Inside the window it rises to max_value at the center, then falls back - but with a smoothing curve applied so the rise and fall aren't hard triangle edges. The shaping function basically eases in and out, giving that soft bell character the name promises.
The inputs that matter
- frame_counter - required; any Dream frame counter (Frame Counter (Simple) works). Time is measured in seconds from the counter.
- center_seconds - when the pulse peaks. Default 10, so with a 10-second animation it fires at the end; move it earlier to taste.
- width_seconds - how wide the bell is (minimum 0.1). A 0.5-second pulse is a blink; 3 seconds is a slow swell.
- min_value / max_value - the quiet floor and the peak. Defaults 0 β 1 are fine.
Outputs are FLOAT and INT, same value, one rounded - FLOAT for continuous parameters, INT for whole-number destinations.
Installing it
Install via ComfyUI Manager by searching "Dream Project Animation Nodes", or clone it:
cd ComfyUI/custom_nodes
git clone https://github.com/alt-key-project/comfyui-dream-project.git
cd comfyui-dream-project
pip install -r requirements.txt
Restart ComfyUI. Standard pack gotchas apply: light dependencies, but the numpy<2.0 pin can make pip touch your environment.
Common issues
The recurring failure is the missing frame counter - these curves only make sense when a FRAME_COUNTER is feeding them, and ComfyUI's stock primitives won't produce one. Pick a counter node from the pack's own menu. And the honest caveat for the whole pack: the README declares it unmaintained (author moved on to comfyui-dream-video-batches). None of that stops a simple pulse function from running fine on current ComfyUI. If you want the same single event but with a hard-edged rise and fall instead of the bell shape, grab the pack's Triangle Event Curve.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| frame_counter | FRAME_COUNTER | β | |
| max_value | FLOAT | 1.00 | β |
| min_value | FLOAT | 0.00 | β |
| width_seconds | FLOAT | 1.00 | β |
| center_seconds | FLOAT | 10.00 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | β |
| INT | INT | β |