Hi Natalia,
From: http://natalia.tymchuk.me/RTVoronyjDiagram/
The script should instead be. I have removed a ;
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | builder cn objects |
objects := { 10 @ 40 . 40 @ 10 . 10 @ -20 . -20 @ 10. -20 @ 60 . -30 @ 40 . 160 @ 90 . 100 @ -30 }.
cn := RTNColorLinearNormalizer inContext: objects withCommand: #x lowColor: (Color r:0 g:0 b:1) highColor: (Color r:1 g:1 b:0).
builder := RTVoronyjBuilder new objects: objects; positionBlock: #yourself; color: cn. builder sites shape rectangle; color: Color green; size: 10. builder sites interaction popupText: [ :obj | 'I am', obj asString ]; highlightColored: Color red. builder build. builder view @ RTZoomableView; open -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Jul 25, 2014, at 8:10 AM, Natalia Tymchuk natalia.tymchuk@unikernel.net wrote:
Hello.
I implemented Voronyj diagrams for Roassal. You can read about it here: http://natalia.tymchuk.me/RTVoronyjDiagram/ . I will be on vacation from Monday till Thursday, but it will be really cool if you can write me your opinion about this project and all your remarks.
Best regards, Natalia _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev