2015-03-06 23:58 GMT+01:00 kilon alios <kilon.alios@gmail.com>:
compared to everything else I have used. I dont think I have ever seen even twice as big as the one used in those examples spike my single core so much. I am using menu meters ultilie that shows me how much cpu each application uses and how much each core, together with memory and otther stats.
That is not really helpfull. Anything that uses cairo? I would like to make some comparisons and it would help if I can recreate the same animations. (I did some work with cairo and python, but no animation. I used cairo for animations together with GTK, sure this was faster but these applications are only made for the animation, just a simple drawing loop. Pharo of course has much more that happens in between).
But even more so I can eve see the frames in those animations flicker. Especially that pharo slide logo example, but also all others.
On Sat, Mar 7, 2015 at 12:47 AM, Nicolai Hess <nicolaihess@web.de> wrote:
2015-03-06 18:40 GMT+01:00 kilon alios <kilon.alios@gmail.com>:
very good example and very informative thank you.
Sadly it also shows that even with Athens Pharo is incredible slow.
Compared to what?
Simple animation spiking a single 3.2 Ghz core to 50% does not look very promising for heavy big size graphic based animations. Which is not a surprise since this was also evident the first time I tried the VGTiger demo. But still , its better than no Athens ;)
On Fri, Mar 6, 2015 at 6:28 PM, Alexandre Bergel < alexandre.bergel@me.com> wrote:
This is really good that you are diving into Athens. It deserves it!
Alexandre
On Mar 6, 2015, at 10:20 AM, Nicolai Hess <nicolaihess@web.de> wrote:
There is a "play" button in the SketchBrowser. And if you open just the simple sketch view: ASketchExampleColors openView you'll have to start the drawing from the morph menu.
In a prior version I had some "autoplay" option, but sometimes this throws a NativeBoost error, if it is the first time it loads the cairo library.
Maybe I should add the autoplay again.
2015-03-06 16:03 GMT+01:00 Torsten Bergmann <astares@gmx.de>: For me all the samples stay black. But the Athens tiger demo works...
Is this a driver problem?
Bye T.
Gesendet: Freitag, 06. März 2015 um 10:14 Uhr Von: "Nicolai Hess" <nicolaihess@web.de> An: "Pharo Development List" <pharo-dev@lists.pharo.org>, "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Betreff: [Pharo-dev] [ANN AthensSketch] A playground for drawings with Athens.
The main purpose of this packages is to ease the creation of simple drawings and provide a rich set of examples for Athens drawing API. -------------- Gofer new smalltalkhubUser: 'NicolaiHess' project: 'AthensSketch'; configuration; load. ConfigurationOfAthensSketch loadDevelopment.
AthensSketchBrowser open.
-----------------
This is a simple playground for Athens drawings. Just subclass AthensSketch and define your own sketch drawing in the #drawStepOn: method. It provides basic frame based animation (play/pause/stop).
Open a player with ASketchExampleColors openPlayer', or a simple viewer morph with ASketchExampleColors openView (start and stop rendering from the morph menu)
The AthensSketchBrowser lists all defined AthensSketch subclasses. (Basic examples from package AthensSketch and some more examples from package ASketchExamples). You can step through the list of examples, start and stop the drawing, or view and edit the drawing code.
It is great that we have now a vector based drawing API. The (old) Canvas API is already great for pixel based drawings. A rich API and many good things if you discover it. And Athens is a addition that can increase our possibilities. There were some questions about Athens, what it is and what it is used for, maybe this helps.
nicolai
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.