Does anyone have an example of generating a glow-like effect around lines or text in Nodebox3?
The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.
NodeBox 3From the old forum
Glow
-
-
Hi Kurtzwrk,
I gave it a try. Example attached.
I am not entirely happy with the result - it's a bit crude. But the technique is simple and could serve as a start to a more sophisticated solution.
The glow subnetwork takes a shape and makes 100 copies, ranging from 50% scale to 150% scale. The glow color has a very low alpha - almost transparent - so that when they are superimposed they create a fading glow effect. The 100% scale copy is drawn opaquely on top of the rest.
You can adjust the range to create a larger or smaller glow spread, and adjust the colorize nodes to change hues.
Let me know if this helps. If someone out there has a better solution, please share it!
John