Polygon shape in Roassal 2

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

Polygon shape in Roassal 2

Natalia Tymchuk
Hello, everyone.
I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
Best regards,
Natalia
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Polygon shape in Roassal 2

abergel
Hi Natalia,

Voronoi is a wonderful visual shape. It would be great to have it in Roassal and this is feasible.

I would first start from having a TRPolygonShape class in Trachel. This class should simply takes a list of points and draw a polygon. To draw the polygon, you need to directly talk to Athens. Your TRPolygonShape should redefine the method computePath and use the right sequence of invocation on the Athens API. Maybe an easy-to-adapt example is the class TRDiamondShape. 

Once you have this class working, you can then think about a RTPolygon class, in Roassal.

Let us know how it goes

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



On Jun 13, 2014, at 8:52 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello, everyone.
I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
Best regards,
Natalia


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

Re: Polygon shape in Roassal 2

Natalia Tymchuk
Hello.
Thank you very much. I have implemented polygon shape and now we can draw everything we want.


Best regards,
Natalia

On Jun 13, 2014, at 2:58 PM, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Voronoi is a wonderful visual shape. It would be great to have it in Roassal and this is feasible.

I would first start from having a TRPolygonShape class in Trachel. This class should simply takes a list of points and draw a polygon. To draw the polygon, you need to directly talk to Athens. Your TRPolygonShape should redefine the method computePath and use the right sequence of invocation on the Athens API. Maybe an easy-to-adapt example is the class TRDiamondShape. 

Once you have this class working, you can then think about a RTPolygon class, in Roassal.

Let us know how it goes

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



On Jun 13, 2014, at 8:52 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello, everyone.
I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
Best regards,
Natalia



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

Re: Polygon shape in Roassal 2

SergeStinckwich
Great !


On Tue, Jun 24, 2014 at 1:43 PM, Natalia Tymchuk <[hidden email]> wrote:
Hello.
Thank you very much. I have implemented polygon shape and now we can draw everything we want.


Best regards,
Natalia

On Jun 13, 2014, at 2:58 PM, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Voronoi is a wonderful visual shape. It would be great to have it in Roassal and this is feasible.

I would first start from having a TRPolygonShape class in Trachel. This class should simply takes a list of points and draw a polygon. To draw the polygon, you need to directly talk to Athens. Your TRPolygonShape should redefine the method computePath and use the right sequence of invocation on the Athens API. Maybe an easy-to-adapt example is the class TRDiamondShape. 

Once you have this class working, you can then think about a RTPolygon class, in Roassal.

Let us know how it goes

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



On Jun 13, 2014, at 8:52 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello, everyone.
I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
Best regards,
Natalia



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

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

Re: Polygon shape in Roassal 2

jfabry
In reply to this post by Natalia Tymchuk

That’s a really cool feature! :-)

On Jun 24, 2014, at 7:43 AM, Natalia Tymchuk <[hidden email]> wrote:

> Hello.
> Thank you very much. I have implemented polygon shape and now we can draw everything we want.
>
> <Screen Shot 2014-06-24 at 1.37.39 PM.png>
>
> Best regards,
> Natalia
>
> On Jun 13, 2014, at 2:58 PM, Alexandre Bergel <[hidden email]> wrote:
>
>> Hi Natalia,
>>
>> Voronoi is a wonderful visual shape. It would be great to have it in Roassal and this is feasible.
>>
>> I would first start from having a TRPolygonShape class in Trachel. This class should simply takes a list of points and draw a polygon. To draw the polygon, you need to directly talk to Athens. Your TRPolygonShape should redefine the method computePath and use the right sequence of invocation on the Athens API. Maybe an easy-to-adapt example is the class TRDiamondShape.
>>
>> Once you have this class working, you can then think about a RTPolygon class, in Roassal.
>>
>> Let us know how it goes
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> On Jun 13, 2014, at 8:52 AM, Natalia Tymchuk <[hidden email]> wrote:
>>
>>> Hello, everyone.
>>> I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
>>> Best regards,
>>> Natalia
>>
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Polygon shape in Roassal 2

abergel
In reply to this post by Natalia Tymchuk
That looks good. Where can I get the code?

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



On Jun 24, 2014, at 7:43 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello.
Thank you very much. I have implemented polygon shape and now we can draw everything we want.

<Screen Shot 2014-06-24 at 1.37.39 PM.png>

Best regards,
Natalia

On Jun 13, 2014, at 2:58 PM, Alexandre Bergel <[hidden email]> wrote:

Hi Natalia,

Voronoi is a wonderful visual shape. It would be great to have it in Roassal and this is feasible.

I would first start from having a TRPolygonShape class in Trachel. This class should simply takes a list of points and draw a polygon. To draw the polygon, you need to directly talk to Athens. Your TRPolygonShape should redefine the method computePath and use the right sequence of invocation on the Athens API. Maybe an easy-to-adapt example is the class TRDiamondShape. 

Once you have this class working, you can then think about a RTPolygon class, in Roassal.

Let us know how it goes

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



On Jun 13, 2014, at 8:52 AM, Natalia Tymchuk <[hidden email]> wrote:

Hello, everyone.
I'm working on a builder for Voronoi diagram. Is there something which can help me to build the polygon shape for the element in Roassal 2 ? Thank you.
Best regards,
Natalia




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

Re: Polygon shape in Roassal 2

Stephan Eggermont-3
In reply to this post by Natalia Tymchuk
Cool!


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

Re: Polygon shape in Roassal 2

Natalia Tymchuk
Hello,
Here is my repository http://smalltalkhub.com/#!/~NataliaTymchuk/RTVoronyjDiagram. I developed it as a part of my Voronyj diagram project, for now it is work in progress. I’m ready to cooperate to enhance it and include it into Roassal.

Best regards,
Natalia
On Jun 24, 2014, at 6:13 PM, Stephan Eggermont <[hidden email]> wrote:

> Cool!
>
> <PastedGraphic-1.png>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


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

Re: Polygon shape in Roassal 2

Natalia Tymchuk
In reply to this post by Stephan Eggermont-3
P.S. Beautiful lighthouse!


On Jun 24, 2014, at 6:13 PM, Stephan Eggermont <[hidden email]> wrote:

> Cool!
>
> <PastedGraphic-1.png>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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

Re: Polygon shape in Roassal 2

abergel
In reply to this post by Natalia Tymchuk
Hi Natalia,

This week is a bit crazy for me. I will have a look at this beginning of next week.
What you have done is indeed important.

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



On Jun 24, 2014, at 12:26 PM, Natalia Tymchuk <[hidden email]> wrote:

Hello,
Here is my repository http://smalltalkhub.com/#!/~NataliaTymchuk/RTVoronyjDiagram. I developed it as a part of my Voronyj diagram project, for now it is work in progress. I’m ready to cooperate to enhance it and include it into Roassal.

Best regards,
Natalia
On Jun 24, 2014, at 6:13 PM, Stephan Eggermont <[hidden email]> wrote:

Cool!

<PastedGraphic-1.png>
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


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

Re: Polygon shape in Roassal 2

abergel
In reply to this post by Natalia Tymchuk
Hi Natalia,

I have the following error when I try to load your last version:

This package depends on the following classes:
  GCircle
  GTriangle
You must resolve these dependencies before you will be able to load these definitions:
  perpendicularBisectorsOn:
  perpendicularBisectors


Select Proceed to continue, or close this window to cancel the operation.

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



On Jun 24, 2014, at 12:26 PM, Natalia Tymchuk <[hidden email]> wrote:

> Hello,
> Here is my repository http://smalltalkhub.com/#!/~NataliaTymchuk/RTVoronyjDiagram. I developed it as a part of my Voronyj diagram project, for now it is work in progress. I’m ready to cooperate to enhance it and include it into Roassal.
>
> Best regards,
> Natalia
> On Jun 24, 2014, at 6:13 PM, Stephan Eggermont <[hidden email]> wrote:
>
>> Cool!
>>
>> <PastedGraphic-1.png>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


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

Re: Polygon shape in Roassal 2

Natalia Tymchuk
Hello, Alexandre.
Thank you for advise. You have to download it using configuration, but now I’m doing a lot of refactoring, so I moved Roassal related classes to other package and you can download it using

Gofer new
url: 'http://smalltalkhub.com/mc/NataliaTymchuk/RTVoronyjDiagram/main'; 
package: 'RTVoronyjBuilder-RT';
load

I have implemented small functionality which I need in my project, but if you know what to add there I can help to implement it.

Best regards,
Natalia



On Jul 2, 2014, at 10:19 PM, Alexandre Bergel <[hidden email]> wrote:

> Hi Natalia,
>
> I have the following error when I try to load your last version:
>
> This package depends on the following classes:
>  GCircle
>  GTriangle
> You must resolve these dependencies before you will be able to load these definitions:
>  perpendicularBisectorsOn:
>  perpendicularBisectors
>
>
> Select Proceed to continue, or close this window to cancel the operation.
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On Jun 24, 2014, at 12:26 PM, Natalia Tymchuk <[hidden email]> wrote:
>
>> Hello,
>> Here is my repository http://smalltalkhub.com/#!/~NataliaTymchuk/RTVoronyjDiagram. I developed it as a part of my Voronyj diagram project, for now it is work in progress. I’m ready to cooperate to enhance it and include it into Roassal.
>>
>> Best regards,
>> Natalia
>> On Jun 24, 2014, at 6:13 PM, Stephan Eggermont <[hidden email]> wrote:
>>
>>> Cool!
>>>
>>> <PastedGraphic-1.png>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev