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.
I'm totally new to Nodebox [downloaded yesterday] and - first things first, let me thank you for your work. It's a great tool!
Now two newbie questions:
1] Is it possible to change the background color? It's easy to edit an image, but not so easy to edit an anim.
2] Can you point me in the right directions to understand how to generate random color?
Thanks again.
FB
FBFrederik De BleserNodeBox team
There is no dedicated "background color" node. But what you can do is create a rectangle, colorize it using the desired color, then use a combine node to merge the background rectangle with your composition.
You can represent color using the HSB or RGB color space. Both require three numbers, all of which can be randomized using e.g. a random numbers node:
Create a random numbers node. Set the end to 255 (the default max value for a color parameter)
Create a HSB color node. Set saturation and brightness to 255
Connect the random numbers to the hue port of the HSB color node. This will give you 10 (= the amount of random numbers) random colors.
You can use these colors as the input to the fill / stroke port in a colorize node.
Know something that helps?
Sign in with your email address to reply. No password needed.