This is quite beautiful. I could not stop and I integrated it in the
inspector. To do this, I:
- split the show method such that the view instantiation is done separately
from the rendering, and
- replaced the inspect interaction on click with a popup.
Then, I extended the inspector and it looks like this:
[image: Inline image 2]
To get it, you need the latest Roassal2 and GT-Inspector.
Doru
On Fri, Apr 25, 2014 at 2:53 PM, Pablo Estefó <pestefo(a)gmail.com> wrote:
I’m glad you liked. I am anxious to see
cool&beautiful examples using the
new color schemes.
Alex added some screenshots on Facebook:
https://www.facebook.com/ObjectProfile/posts/623124127774188?stream_ref=10
By the way, I want to be clear: I just brought to Pharo/Moose a work that
you can find at
www.colorbrewer2.org and here are the credits:
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania
State University.
Cheers,
Pablo
On Apr 25, 2014, at 9:13, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
I’ve just played a bit with the new color palette and the Roassal graph
builder.
Here are some screenshots:
<Screen Shot 2014-04-25 at 8.58.21 AM.png>
Another example:
<Screen Shot 2014-04-25 at 9.01.56 AM.png>
<Screen Shot 2014-04-25 at 9.12.32 AM.png><Screen Shot 2014-04-25 at
9.13.07 AM.png>
Cheers,
Alexandre
On Apr 25, 2014, at 12:13 AM, Pablo Estefó <pestefo(a)gmail.com> wrote:
Hi everyone,
Well, as you probably read, I was working on a Color palette. The thing is
that i loved the color schemes from
www.colorbrewer2.org , so I decided
to bring them into Pharo/Moose then everyone can use them directly.
So I created ColorPalette. A color palette is a collection of different
color schemes that follows a common purpose, they are: sequential,
qualitative and diverging.
Sequential schemes are suited to ordered data that progress from low to
high.
<Screenshot 2014-04-24 23.45.43.png>
Diverging schemes put equal emphasis on mid-range critical values and
extremes at both ends of the data range
.<Screenshot 2014-04-24 23.46.46.png>
Qualitative schemes do not imply magnitude differences between legend
classes, and hues are used to create the primary visual differences between
classes .
<Screenshot 2014-04-24 23.46.20.png>
Picking the right scheme from a palette
You can see all the color schemes for each palette by executing
=.=.=.
ColorPalette sequential show.
ColorPalette diverging show.
ColorPalette qualitative show.
=.=.=.
You should see something like this:
<PastedGraphic-8.tiff>
Getting colours from a scheme
To get the colours for an specific scheme just clic on the name of the
scheme
<Screenshot 2014-04-24 23.53.36.png>
And you will get the code line to get them.
<PastedGraphic-7.tiff>
Example:
=.=.=.
ColorPalette qualitative colors: 7 scheme:'Accent'
=.=.=.
If you want to focus on a specific color, just click on it to inspect it.
Partitioning data into colors
With Ricardo, we were working on a new normalizer to discretize a list of
values into a smaller list of colours using Sequential or Diverging color
schemes.
Example:
=.=.=.
RTBucketColorNormalizer example
=.=.=.
What do you think?
Cheers,
Pablo
On Apr 24, 2014, at 11:33, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
Excellent! Super!
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Apr 24, 2014, at 10:55 AM, Pablo Estefó <pestefo(a)gmail.com> wrote:
Yep. It is not completely integrated into Roassal2 Color Normalizers, I
will announce it today.
These are the palettes:
<PastedGraphic-6.tiff>
Keep in tune ;-)
On Apr 24, 2014, at 10:39, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
Hi!
Just to say that Pablo is working on a harmonized color set for Roassal2.
He will probably announce it soon :-)
I know some of you are interested in that :-)
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev