HTML exporter for Roassal2

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

HTML exporter for Roassal2

akevalion
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: HTML exporter for Roassal2

Usman Bhatti
Hi Milton,

This is really cool stuff. Congrats!!

There are some examples which are empty though such as:
exampleEvolutionOfGraphET2
examplescatterPlots
exampleSimple

I viewed these examples with Chrome.

I also experienced a crash of my image at the end but there was no pharodebug file.

usman

On Wed, Dec 3, 2014 at 10:04 PM, milton mamani <[hidden email]> wrote:
Hi to all,

Try the next piece of code:

RTHTML5ExporterExample new exportAll.

Wait.
Wait again (maybe you can drink a cup of coffe)

Then open the generated file index.html to see the exported examples, this is only the beginning, there are a lot of work on this exporter.
This exporter aims recreate the visualization of Pharo in HTML with all their interactions.

Cheers,
Milton

_______________________________________________
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: HTML exporter for Roassal2

Nicolai Hess
Just WOW!

And for me, it crashes too. I saw this is a couple of time trying the SVG-Export.

Maybe we should change all those examples, that return a canvas instead of
a view, so that they are exported as well (for instance, the Grapher-examples aren't exported).


nicolai




2014-12-04 10:13 GMT+01:00 Usman Bhatti <[hidden email]>:
Hi Milton,

This is really cool stuff. Congrats!!

There are some examples which are empty though such as:
exampleEvolutionOfGraphET2
examplescatterPlots
exampleSimple

I viewed these examples with Chrome.

I also experienced a crash of my image at the end but there was no pharodebug file.

usman

On Wed, Dec 3, 2014 at 10:04 PM, milton mamani <[hidden email]> wrote:
Hi to all,

Try the next piece of code:

RTHTML5ExporterExample new exportAll.

Wait.
Wait again (maybe you can drink a cup of coffe)

Then open the generated file index.html to see the exported examples, this is only the beginning, there are a lot of work on this exporter.
This exporter aims recreate the visualization of Pharo in HTML with all their interactions.

Cheers,
Milton

_______________________________________________
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: HTML exporter for Roassal2

Offray
Hi,

It crashes my image. There is any way to export a particular example
instead of a particular one?

Really good effort, by the way.

Cheers,

Offray

El 04/12/14 a las 09:12, Nicolai Hess escribió:

> Just WOW!
>
> And for me, it crashes too. I saw this is a couple of time trying the SVG-Export.
>
> Maybe we should change all those examples, that return a canvas instead of
> a view, so that they are exported as well (for instance, the Grapher-examples
> aren't exported).
>
>
> nicolai
>
>
>
>
> 2014-12-04 10:13 GMT+01:00 Usman Bhatti <[hidden email]
> <mailto:[hidden email]>>:
>
>      Hi Milton,
>
>      This is really cool stuff. Congrats!!
>
>      There are some examples which are empty though such as:
>      exampleEvolutionOfGraphET2
>      examplescatterPlots
>      exampleSimple
>
>      I viewed these examples with Chrome.
>
>      I also experienced a crash of my image at the end but there was no
>      pharodebug file.
>
>      usman
>
>      On Wed, Dec 3, 2014 at 10:04 PM, milton mamani <[hidden email]
>      <mailto:[hidden email]>> wrote:
>
>          Hi to all,
>
>          Try the next piece of code:
>
>          RTHTML5ExporterExample new exportAll.
>
>          Wait.
>          Wait again (maybe you can drink a cup of coffe)
>
>          Then open the generated file index.html to see the exported examples,
>          this is only the beginning, there are a lot of work on this exporter.
>          This exporter aims recreate the visualization of Pharo in HTML with all
>          their interactions.
>
>          Cheers,
>          Milton
>
>          _______________________________________________
>          Moose-dev mailing list
>          [hidden email] <mailto:[hidden email]>
>          https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>      _______________________________________________
>      Moose-dev mailing list
>      [hidden email] <mailto:[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: HTML exporter for Roassal2

abergel
Something like:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
b := RTGrapherBuilder new.

b extent: 300 @ 200.

ds := RTStackedDataSet new.
ds points: RTShape methods.
ds y: #numberOfLinesOfCode.
ds barShape color: Color blue.
b add: ds.

b axisX; axisY.
b build.

RTHTML5Exporter new export: b view
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

#export: accept a view as parameter

Alexandre

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



> On Dec 5, 2014, at 12:07 AM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote:
>
> Hi,
>
> It crashes my image. There is any way to export a particular example instead of a particular one?
>
> Really good effort, by the way.
>
> Cheers,
>
> Offray
>
> El 04/12/14 a las 09:12, Nicolai Hess escribió:
>> Just WOW!
>>
>> And for me, it crashes too. I saw this is a couple of time trying the SVG-Export.
>>
>> Maybe we should change all those examples, that return a canvas instead of
>> a view, so that they are exported as well (for instance, the Grapher-examples
>> aren't exported).
>>
>>
>> nicolai
>>
>>
>>
>>
>> 2014-12-04 10:13 GMT+01:00 Usman Bhatti <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>     Hi Milton,
>>
>>     This is really cool stuff. Congrats!!
>>
>>     There are some examples which are empty though such as:
>>     exampleEvolutionOfGraphET2
>>     examplescatterPlots
>>     exampleSimple
>>
>>     I viewed these examples with Chrome.
>>
>>     I also experienced a crash of my image at the end but there was no
>>     pharodebug file.
>>
>>     usman
>>
>>     On Wed, Dec 3, 2014 at 10:04 PM, milton mamani <[hidden email]
>>     <mailto:[hidden email]>> wrote:
>>
>>         Hi to all,
>>
>>         Try the next piece of code:
>>
>>         RTHTML5ExporterExample new exportAll.
>>
>>         Wait.
>>         Wait again (maybe you can drink a cup of coffe)
>>
>>         Then open the generated file index.html to see the exported examples,
>>         this is only the beginning, there are a lot of work on this exporter.
>>         This exporter aims recreate the visualization of Pharo in HTML with all
>>         their interactions.
>>
>>         Cheers,
>>         Milton
>>
>>         _______________________________________________
>>         Moose-dev mailing list
>>         [hidden email] <mailto:[hidden email]>
>>         https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>>     _______________________________________________
>>     Moose-dev mailing list
>>     [hidden email] <mailto:[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
Reply | Threaded
Open this post in threaded view
|

Re: HTML exporter for Roassal2

Offray
Thanks, it works. A nice candidate for the contextual menu in the GT
inspector visualizations, like the current export as PNG.

Cheers,

Offray

El 05/12/14 a las 07:24, Alexandre Bergel escribió:

> Something like:
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> b := RTGrapherBuilder new.
>
> b extent: 300 @ 200.
>
> ds := RTStackedDataSet new.
> ds points: RTShape methods.
> ds y: #numberOfLinesOfCode.
> ds barShape color: Color blue.
> b add: ds.
>
> b axisX; axisY.
> b build.
>
> RTHTML5Exporter new export: b view
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> #export: accept a view as parameter
>
> Alexandre
>


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

Re: HTML exporter for Roassal2

akevalion
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: HTML exporter for Roassal2

Tudor Girba-2
Hi,

Great. I think you should delete roassal.js all the time, to ensure that you get a controllable result.

Cheers,
Doru



On Fri, Dec 5, 2014 at 10:18 PM, milton mamani <[hidden email]> wrote:
Hi to all,

I fixed the crash error, try again 

RTHTML5ExporterExample new exportAll.

Note: if you have the roassal.js file, delete it before execute the previous code.

Cheers,
Milton

2014-12-05 12:25 GMT-03:00 Offray Vladimir Luna Cárdenas <[hidden email]>:

Thanks, it works. A nice candidate for the contextual menu in the GT inspector visualizations, like the current export as PNG.

Cheers,

Offray

El 05/12/14 a las 07:24, Alexandre Bergel escribió:
Something like:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
b := RTGrapherBuilder new.

b extent: 300 @ 200.

ds := RTStackedDataSet new.
ds points: RTShape methods.
ds y: #numberOfLinesOfCode.
ds barShape color: Color blue.
b add: ds.

b axisX; axisY.
b build.

RTHTML5Exporter new export: b view
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

#export: accept a view as parameter

Alexandre



_______________________________________________
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




--

"Every thing has its own flow"

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

Re: HTML exporter for Roassal2

abergel
Yes

Alexandre


> On Dec 5, 2014, at 6:27 PM, Tudor Girba <[hidden email]> wrote:
>
> Hi,
>
> Great. I think you should delete roassal.js all the time, to ensure that you get a controllable result.
>
> Cheers,
> Doru
>
>
>
> On Fri, Dec 5, 2014 at 10:18 PM, milton mamani <[hidden email]> wrote:
> Hi to all,
>
> I fixed the crash error, try again
>
> RTHTML5ExporterExample new exportAll.
>
> Note: if you have the roassal.js file, delete it before execute the previous code.
>
> Cheers,
> Milton
>
> 2014-12-05 12:25 GMT-03:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
>
> Thanks, it works. A nice candidate for the contextual menu in the GT inspector visualizations, like the current export as PNG.
>
> Cheers,
>
> Offray
>
> El 05/12/14 a las 07:24, Alexandre Bergel escribió:
> Something like:
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> b := RTGrapherBuilder new.
>
> b extent: 300 @ 200.
>
> ds := RTStackedDataSet new.
> ds points: RTShape methods.
> ds y: #numberOfLinesOfCode.
> ds barShape color: Color blue.
> b add: ds.
>
> b axisX; axisY.
> b build.
>
> RTHTML5Exporter new export: b view
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> #export: accept a view as parameter
>
> Alexandre
>
>
>
> _______________________________________________
> 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
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: HTML exporter for Roassal2

abergel
In reply to this post by Offray
This should be now

Alexandre


> On Dec 5, 2014, at 12:25 PM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote:
>
> Thanks, it works. A nice candidate for the contextual menu in the GT inspector visualizations, like the current export as PNG.
>
> Cheers,
>
> Offray
>
> El 05/12/14 a las 07:24, Alexandre Bergel escribió:
>> Something like:
>>
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> b := RTGrapherBuilder new.
>>
>> b extent: 300 @ 200.
>>
>> ds := RTStackedDataSet new.
>> ds points: RTShape methods.
>> ds y: #numberOfLinesOfCode.
>> ds barShape color: Color blue.
>> b add: ds.
>>
>> b axisX; axisY.
>> b build.
>>
>> RTHTML5Exporter new export: b view
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> #export: accept a view as parameter
>>
>> Alexandre
>>
>
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: HTML exporter for Roassal2

Tudor Girba-2
Indeed. It is integrated.

Doru

On Sat, Dec 6, 2014 at 11:21 AM, Alexandre Bergel <[hidden email]> wrote:
This should be now

Alexandre


> On Dec 5, 2014, at 12:25 PM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote:
>
> Thanks, it works. A nice candidate for the contextual menu in the GT inspector visualizations, like the current export as PNG.
>
> Cheers,
>
> Offray
>
> El 05/12/14 a las 07:24, Alexandre Bergel escribió:
>> Something like:
>>
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> b := RTGrapherBuilder new.
>>
>> b extent: 300 @ 200.
>>
>> ds := RTStackedDataSet new.
>> ds points: RTShape methods.
>> ds y: #numberOfLinesOfCode.
>> ds barShape color: Color blue.
>> b add: ds.
>>
>> b axisX; axisY.
>> b build.
>>
>> RTHTML5Exporter new export: b view
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> #export: accept a view as parameter
>>
>> Alexandre
>>
>
>
> _______________________________________________
> 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



--

"Every thing has its own flow"

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