Glow

kurtzwrk's Avatar

kurtzwrk

10 Oct, 2016 06:36 PM

Does anyone have an example of generating a glow-like effect around lines or text in Nodebox3?

  1. Support Staff 1 Posted by john on 11 Oct, 2016 09:13 AM

    john's Avatar

    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

Reply to this discussion

Internal reply

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

Attaching KB article:

»

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

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM

 

26 Sep, 2024 06:41 AM
24 Sep, 2024 12:32 AM
24 Sep, 2024 12:27 AM
13 Sep, 2024 12:07 AM
12 Sep, 2024 11:54 PM
07 Sep, 2024 05:16 AM