Hi!
I executed the following scripts: I would actually expect the same node colors. Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Screen shot 2011-01-07 at 11.09.42.png (18K) Download Attachment Screen shot 2011-01-07 at 11.09.57.png (18K) Download Attachment |
In my naive view this behavior looks OK. First example shows the last 5 colors in the progression, second example shows the first 5. I dont know how the color normalizer is expected to be used though ... On 07 Jan 2011, at 11:11, Alexandre Bergel wrote: > Hi! > > I executed the following scripts: > > <Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png> > > I would actually expect the same node colors. > Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? > > Cheers, > Alexandre > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- Johan Fabry [hidden email] - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Actually, I think that the (faulty?) behavior Alex wants to demonstrate is this one: |l| l := MONColorLinearNormalizer inContext: (10 to: 15) lowColor: Color white highColor: Color blue. view shape rectangle size: 20; fillColor: [ :n | l moValue: n ]. view nodes: (10 to: 15) On 7 janv. 2011, at 15:24, Johan Fabry wrote: > > In my naive view this behavior looks OK. First example shows the last 5 colors in the progression, second example shows the first 5. I dont know how the color normalizer is expected to be used though ... > > On 07 Jan 2011, at 11:11, Alexandre Bergel wrote: > >> Hi! >> >> I executed the following scripts: >> >> <Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png> >> >> I would actually expect the same node colors. >> Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? >> >> Cheers, >> Alexandre >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > Johan Fabry > [hidden email] - http://dcc.uchile.cl/~jfabry > PLEIAD Lab - Computer Science Department (DCC) - University of Chile > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev Simon Denier _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Screen shot 2011-01-07 at 15.31.06.png (51K) Download Attachment |
In reply to this post by jfabry
Sorry, my email did not make the point. Consider the following two examples:
> In my naive view this behavior looks OK. First example shows the last 5 colors in the progression, second example shows the first 5. I dont know how the color normalizer is expected to be used though ... Alexandre > > On 07 Jan 2011, at 11:11, Alexandre Bergel wrote: > >> Hi! >> >> I executed the following scripts: >> >> <Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png> >> >> I would actually expect the same node colors. >> Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? >> >> Cheers, >> Alexandre >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > Johan Fabry > [hidden email] - http://dcc.uchile.cl/~jfabry > PLEIAD Lab - Computer Science Department (DCC) - University of Chile > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Screen shot 2011-01-07 at 11.31.32.png (24K) Download Attachment Screen shot 2011-01-07 at 11.31.50.png (24K) Download Attachment |
OK now I get it. Yes, for me both cases should show a range of 5 colors from white to blue. So it's a bug. But that's just my naive point of view of course ;-) On 07 Jan 2011, at 11:32, Alexandre Bergel wrote: > Sorry, my email did not make the point. Consider the following two examples: > > <Screen shot 2011-01-07 at 11.31.32.png><Screen shot 2011-01-07 at 11.31.50.png> >> In my naive view this behavior looks OK. First example shows the last 5 colors in the progression, second example shows the first 5. I dont know how the color normalizer is expected to be used though ... > > Alexandre > > >> >> On 07 Jan 2011, at 11:11, Alexandre Bergel wrote: >> >>> Hi! >>> >>> I executed the following scripts: >>> >>> <Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png> >>> >>> I would actually expect the same node colors. >>> Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? >>> >>> Cheers, >>> Alexandre >>> >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> -- >> Johan Fabry >> [hidden email] - http://dcc.uchile.cl/~jfabry >> PLEIAD Lab - Computer Science Department (DCC) - University of Chile >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- Johan Fabry [hidden email] - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> OK now I get it. Yes, for me both cases should show a range of 5 colors from white to blue. So it's a bug. But that's just my naive point of view of course ;-)
This is what I thought as well. Simon told me he is fixing this. He will ping us Cheers, Alexandre > > On 07 Jan 2011, at 11:32, Alexandre Bergel wrote: > >> Sorry, my email did not make the point. Consider the following two examples: >> >> <Screen shot 2011-01-07 at 11.31.32.png><Screen shot 2011-01-07 at 11.31.50.png> >>> In my naive view this behavior looks OK. First example shows the last 5 colors in the progression, second example shows the first 5. I dont know how the color normalizer is expected to be used though ... >> >> Alexandre >> >> >>> >>> On 07 Jan 2011, at 11:11, Alexandre Bergel wrote: >>> >>>> Hi! >>>> >>>> I executed the following scripts: >>>> >>>> <Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png> >>>> >>>> I would actually expect the same node colors. >>>> Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? >>>> >>>> Cheers, >>>> Alexandre >>>> >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> -- >>> Johan Fabry >>> [hidden email] - http://dcc.uchile.cl/~jfabry >>> PLEIAD Lab - Computer Science Department (DCC) - University of Chile >>> >>> >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > Johan Fabry > [hidden email] - http://dcc.uchile.cl/~jfabry > PLEIAD Lab - Computer Science Department (DCC) - University of Chile > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Alexandre Bergel
Simon proposed a fix for this problem. 3 tests were turned yellow.
With Simon fix: Without Simon fix: If you are a user of the color linear normalizer, please try your code and check if everything is alright. System complexity is not significantly impacted. Cheers, Alexandre On 7 Jan 2011, at 11:11, Alexandre Bergel wrote: > Hi! > > I executed the following scripts: > > <Screen shot 2011-01-07 at 11.09.42.png><Screen shot 2011-01-07 at 11.09.57.png> > > I would actually expect the same node colors. > Apparently, the colors given by the normalizer are focused on 0. Is this what you would expect? > > Cheers, > Alexandre > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Screen shot 2011-01-07 at 12.36.38.png (32K) Download Attachment Screen shot 2011-01-07 at 12.37.52.png (32K) Download Attachment |
Free forum by Nabble | Edit this page |