Composing Dynamic stacked grapher.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Composing Dynamic stacked grapher.

abergel
Hi!

This may be interesting for some of your.

A bug has been fixed this morning regarding the composition of dynamic stacked grapher. You can check the video https://vimeo.com/127707899
to have an idea. This is the result of the script:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
composer := RTComposer new.
a := RTDynamicStackedGrapher new.
a minY: -200; maxY: 200.
a view: composer view.
a y: ‪#‎yourself‬.
a build.
composer group: ‪#‎first‬.
b := RTDynamicStackedGrapher new.  
b minY: -200; maxY: 200.
b view: composer view.
b y: #yourself.
b build.
composer group: ‪#‎second‬.
composer move: #first onTheLeftOf: #second.
composer nameGroup: #first as: 'aFirstName'.
composer nameGroup: #second as: 'aSecondName'.
composer setGeneralTitle: 'aGeneralTitle'.
composer view addMenu: 'Left' callback: [ a add: 400 atRandom - 200 ].
composer view addMenu: 'Right' callback: [ b add: 400 atRandom - 200 ].
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Composing Dynamic stacked grapher.

jfabry

Coolness! :-)

> On May 13, 2015, at 11:47, Alexandre Bergel <[hidden email]> wrote:
>
> Hi!
>
> This may be interesting for some of your.
>
> A bug has been fixed this morning regarding the composition of dynamic stacked grapher. You can check the video https://vimeo.com/127707899
> to have an idea. This is the result of the script:
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> composer := RTComposer new.
> a := RTDynamicStackedGrapher new.
> a minY: -200; maxY: 200.
> a view: composer view.
> a y: ‪#‎yourself‬.
> a build.
> composer group: ‪#‎first‬.
> b := RTDynamicStackedGrapher new.  
> b minY: -200; maxY: 200.
> b view: composer view.
> b y: #yourself.
> b build.
> composer group: ‪#‎second‬.
> composer move: #first onTheLeftOf: #second.
> composer nameGroup: #first as: 'aFirstName'.
> composer nameGroup: #second as: 'aSecondName'.
> composer setGeneralTitle: 'aGeneralTitle'.
> composer view addMenu: 'Left' callback: [ a add: 400 atRandom - 200 ].
> composer view addMenu: 'Right' callback: [ b add: 400 atRandom - 200 ].
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.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