Apply Color Node

john's Avatar


22 Nov, 2022 09:55 AM

Attached is the latest addition to my node library: apply_color.

Apply_color simply takes a path or shape and recolors it using the properties of a reference object. Those properties are:

  • Fill Color
  • Stroke Color
  • Stroke Width

The node compensates for Nodebox bugs that can fail to lookup colors under certain conditions. If no reference object is supplied, it will assign a black stroke of width one and make the interior transparent (alpha 0).

The primary use for this node is to restore the original color of objects which have been transformed by other nodes (e.g. compound). I found myself needing to do this again and again, so finally made a node to do it for me.

A simple node, but, I hope, a useful one.

Enjoy! Apply_color will be included in Cartan Node Library 3.1 - which will be released mere moments from now!


Reply to this discussion

Internal reply

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

Attaching KB article:


Already uploaded files

  • apply_color_screenshot.png 302 KB
  • 3.39 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


? 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


16 May, 2024 01:58 AM
14 May, 2024 01:29 AM
13 May, 2024 12:36 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM