Fast Gradient

john's Avatar

john

24 Feb, 2025 11:24 PM

I love my gradient nodes, but they are a tad slow if you have a bunch of them. And for a simple one-color gradient, they are overkill. For that common use case you don't need the full power of my palette node inside them.

For that "blue sky" use case I made this variant: fast_gradient. Fast_gradient creates a simple, linear gradient based on one color. It takes the following parameters:

  • Shape. The shape holding the gradient
  • Color. The base color of the gradient
  • Angle. The angle at which the linear gradient will spread
  • Total bands. The total number of bands forming the gradient: low for stripes, higher (e.g. 100) for smooth
  • Saturation range. The increase (up to 100%) or decrease (down to -100%) of the color's saturation
  • Brightness range. The increase (up to 100%) or decrease (down to -100%) of the color's brightness
  • Alpha range. The increase (up to 100%) or decrease (down to -100%) of the color's alpha (opacity)

If you peek inside you will see that it uses my complement and inter_color nodes instead of my palette node. Fast_gradient doesn't provide the richness of my gradient_L and gradient_R nodes, but it renders at least twice as fast and is also quicker to use, since you don't have to experiment with a full color palette. It's great for quick canvas backgrounds!

Enjoy.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • fast_gradient_screenshot.png 532 KB
  • fast_gradient_node.ndbx.zip 169 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Mar, 2025 09:21 PM
20 Mar, 2025 06:07 AM
20 Mar, 2025 02:39 AM
18 Mar, 2025 05:24 AM
14 Mar, 2025 08:32 AM

 

10 Mar, 2025 06:36 PM
10 Mar, 2025 06:36 PM
10 Mar, 2025 06:36 PM
10 Mar, 2025 12:30 AM
02 Mar, 2025 12:34 AM
01 Mar, 2025 12:27 AM