[Pharo-dev] [ANN AthensSketch] A playground for drawings with Athens.

Nicolai Hess nicolaihess at web.de
Fri Mar 6 04:14:50 EST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20150306/2f1cc061/attachment.html>


More information about the Pharo-dev mailing list