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 |
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" <[hidden email]> An: "Pharo Development List" <[hidden email]>, "Any question about pharo is welcome" <[hidden email]> 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 |
In reply to this post by Nicolai Hess
Hi Nicolai,
This is an excellent work! Looks like to be the best set of example we have. This will surely benefits Roassal! Impressive! Alexandre > On Mar 6, 2015, at 4:14 AM, Nicolai Hess <[hidden email]> wrote: > > 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
In reply to this post by Torsten Bergmann
There is a "play" button in the SketchBrowser. And if you open just the simple sketch view:ASketchExampleColors openView 2015-03-06 16:03 GMT+01:00 Torsten Bergmann <[hidden email]>: For me all the samples stay black. But the Athens tiger demo works... |
Hi Nicolai,
very funny and very interesting indeed, i had no idea that athens has that many possibilities and methods. in a way a very instructive docu. werner |
In reply to this post by Nicolai Hess
This is really good that you are diving into Athens. It deserves it!
Alexandre > On Mar 6, 2015, at 10:20 AM, Nicolai Hess <[hidden email]> 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 <[hidden email]>: > 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" <[hidden email]> > An: "Pharo Development List" <[hidden email]>, "Any question about pharo is welcome" <[hidden email]> > 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
In reply to this post by Nicolai Hess
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by abergel
2015-03-06 17:28 GMT+01:00 Alexandre Bergel <[hidden email]>: This is really good that you are diving into Athens. It deserves it! Thank you, and yes, we need to give it more priority. I hope Athens is fully working before we start again with another new thing.
|
indeed. (and yes: very nice demo + learning tool) Marcus |
In reply to this post by Nicolai Hess
My objective was that igor should have finished before leaving but it did not work that way. Now this is not that he was not focused on it. TxText is a large piece. Stef
|
Free forum by Nabble | Edit this page |