Discussion:
Nodebox colours vs shoebot colours
Stuart Axon
2010-09-14 16:25:33 UTC
Permalink
I was doing some tests with the variables examples (examples/vars). It seesm
that they expect colours to be 0 - 255, while shoebot does 0 - 1.

0 - 1 probably is more pythonic, does anybody know how nodebox does it (or could
try these in nodebox to see if they work) ?

S++
Sebastian Oliva
2010-09-14 16:57:45 UTC
Permalink
I was doing some tests with the variables examples (examples/vars).  It seesm
that they expect colours to be 0 - 255, while shoebot does 0 - 1.
0 - 1 probably is more pythonic, does anybody know how nodebox does it (or could
try these in nodebox to see if they work) ?
 S++
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Hi, I remeber nodebox having an inconsistent behaviour regarding
colours, but with the option of selecting and forcing the expected
range. I'll try to check it out and reply as soon as I can try on
Nodebox

http://nodebox.net/code/index.php/Colors
Stuart Axon
2010-09-14 18:38:29 UTC
Permalink
Sent: Tue, September 14, 2010 4:57:45 PM
Subject: Re: [shoebot-devel] Nodebox colours vs shoebot colours
I was doing some tests with the variables examples (examples/vars). It
seesm
that they expect colours to be 0 - 255, while shoebot does 0 - 1.
0 - 1 probably is more pythonic, does anybody know how nodebox does it (or
could
try these in nodebox to see if they work) ?
S++
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Hi, , I remeber nodebox having an inconsistent behaviour regarding
colours, but with the option of selecting and forcing the expected
range. I'll try to check it out and reply as soon as I can try on
Nodebox
Ah - just noticed the call to colorrange(255).

This not being implemented is going to be the problem.
Stuart Axon
2010-09-14 18:48:27 UTC
Permalink
Sent: Tue, September 14, 2010 6:38:29 PM
Subject: Re: [shoebot-devel] Nodebox colours vs shoebot colours
Sent: Tue, September 14, 2010 4:57:45 PM
Subject: Re: [shoebot-devel] Nodebox colours vs shoebot colours
I was doing some tests with the variables examples (examples/vars). It
seesm
that they expect colours to be 0 - 255, while shoebot does 0 - 1.
0 - 1 probably is more pythonic, does anybody know how nodebox does it
(or
could
try these in nodebox to see if they work) ?
S++
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Hi, , I remeber nodebox having an inconsistent behaviour regarding
colours, but with the option of selecting and forcing the expected
range. I'll try to check it out and reply as soon as I can try on
Nodebox
Ah - just noticed the call to colorrange(255).
This not being implemented is going to be the problem.
Not implemented in my branch that is :)

Loading...