"Load package"
Gofer new squeaksource: 'DaliotsPlayground'; package: 'Ameba'; load. "run objects" x := Ameba example. "kill objects" x do: #delete. |
Cool.
This is a good example of detecting rendering bugs in Morphic :) Try to add Amoeba>> drawOn: aCanvas aCanvas fillOval: (self bounds insetBy: 10) fillStyle: (self color alpha: 0.2) borderWidth: 2 borderColor: self color and you will see what i mean. On 9 June 2011 15:56, HwaJong Oh <[hidden email]> wrote: > "Load package" > Gofer new > squeaksource: 'DaliotsPlayground'; > package: 'Ameba'; > load. > > "run objects" > x := Ameba example. > > "kill objects" > x do: #delete. > > -- > View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p3585624.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > -- Best regards, Igor Stasenko AKA sig. |
In reply to this post by HwaJong Oh
Pay attention
Utilities is deprecated But this is really fun :) Stef On Jun 9, 2011, at 3:56 PM, HwaJong Oh wrote: > "Load package" > Gofer new > squeaksource: 'DaliotsPlayground'; > package: 'Ameba'; > load. > > "run objects" > x := Ameba example. > > "kill objects" > x do: #delete. > > -- > View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p3585624.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > |
In reply to this post by HwaJong Oh
It would be cool to have smaller and smaller ellipses to represent a mouse trace
This is strange that we see white square. Stef > "Load package" > Gofer new > squeaksource: 'DaliotsPlayground'; > package: 'Ameba'; > load. > > "run objects" > x := Ameba example. > > "kill objects" > x do: #delete. |
In reply to this post by Igor Stasenko
Hmm...
I saw what you meant. Rectangle flicking behind the ovals! I guess there some bug drawing oval. neither border width = 0 nor alpha = 1.0 made any change. Best Regards HwaJong Oh |
On 9 June 2011 17:05, HwaJong Oh <[hidden email]> wrote:
> Hmm... > > I saw what you meant. Rectangle flicking behind the ovals! > I guess there some bug drawing oval. neither border width = 0 nor alpha = > 1.0 made any change. > No. The bug is in how morphic handling & redraws damaged areas. Or perhaps you are not reporting a morph's position changes correctly.. i'm not sure. > > Best Regards > HwaJong Oh > > -- > View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p3585825.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > -- Best regards, Igor Stasenko AKA sig. |
are you saying that i should tell the morphic system the geometric figure(an ellipse in this case) so it can refresh non-rectanglar area of its canvas?
I've seen some protocols of modern operating system like macosx or windows to support non-rectangular views. Maybe I should use that protocol of morphic system if there is. Best Regards HwaJong Oh |
In reply to this post by Igor Stasenko
On 09.06.2011 17:23, Igor Stasenko wrote:
> On 9 June 2011 17:05, HwaJong Oh<[hidden email]> wrote: >> Hmm... >> >> I saw what you meant. Rectangle flicking behind the ovals! >> I guess there some bug drawing oval. neither border width = 0 nor alpha = >> 1.0 made any change. >> > No. The bug is in how morphic handling& redraws damaged areas. > Or perhaps you are not reporting a morph's position changes correctly.. > i'm not sure. > When a Morph doesn't fill its entire bounds, it has to implement areasRemainingToFill: to correctly render Morphs beneath. See EllipseMorph for an example :) Cheers, Henry |
In reply to this post by HwaJong Oh
Fun :-)
Cool example! Alexandre On 9 Jun 2011, at 09:56, HwaJong Oh wrote: > "Load package" > Gofer new > squeaksource: 'DaliotsPlayground'; > package: 'Ameba'; > load. > > "run objects" > x := Ameba example. > > "kill objects" > x do: #delete. > > -- > View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p3585624.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
In reply to this post by HwaJong Oh
On Jun 10, 2011, at 3:54 PM, Alexandre Bergel wrote: > Fun :-) > > Indeed! I want a yellow one made of circles... because it reminds me of a german kids tv show that I liked *a lot* when I was little: http://www.youtube.com/watch?v=OSlJYoRrh0k :-) > On 9 Jun 2011, at 09:56, HwaJong Oh wrote: > >> "Load package" >> Gofer new >> squeaksource: 'DaliotsPlayground'; >> package: 'Ameba'; >> load. >> >> "run objects" >> x := Ameba example. >> >> "kill objects" >> x do: #delete. >> >> -- >> View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p3585624.html >> Sent from the Pharo Smalltalk mailing list archive at Nabble.com. >> > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. |
Markus,
Forget Ameba. Ani is here. Zini das Wuslon is implemented. It moves like a real one. Gofer new squeaksource: 'DaliotsPlayground'; package: 'ConfigurationOfDaliotsPlayground'; load. (Smalltalk at: #ConfigurationOfDaliotsPlayground) project lastVersion load: 'Ani' http://appdal.com/groups/36442/wiki/9eee9/Ani.html Best Regards HwaJong Oh |
In reply to this post by Marcus Denker-4
On Dec 17, 2011, at 8:40 AM, HwaJong Oh wrote: > Markus, > > Forget Ameba. Ani is here. > > Zini das Wuslon is implemented. It moves like a real one. > Very nice! Marcus -- Marcus Denker -- http://marcusdenker.de |
In reply to this post by Marcus Denker-4
Nice indeed!
Are you using a kind of spring layout for the big bang animation? Fernando On Mon, Dec 19, 2011 at 2:38 PM, Marcus Denker <[hidden email]> wrote: > > On Dec 17, 2011, at 8:40 AM, HwaJong Oh wrote: > >> Markus, >> >> Forget Ameba. Ani is here. >> >> Zini das Wuslon is implemented. It moves like a real one. >> > > Very nice! > > Marcus > > > -- > Marcus Denker -- http://marcusdenker.de > > |
Many of us are working on graphical/animation engine for Pharo.
We should have a workshop at the next esug on this. The workshop could be just a couple of hours long where people can - do a demo of their engine - show their library and tell us how they can be reused - do pair programming Cheers, Alexandre On 19 Dec 2011, at 11:28, Fernando Olivero wrote: > Nice indeed! > > Are you using a kind of spring layout for the big bang animation? > > Fernando > > On Mon, Dec 19, 2011 at 2:38 PM, Marcus Denker <[hidden email]> wrote: >> >> On Dec 17, 2011, at 8:40 AM, HwaJong Oh wrote: >> >>> Markus, >>> >>> Forget Ameba. Ani is here. >>> >>> Zini das Wuslon is implemented. It moves like a real one. >>> >> >> Very nice! >> >> Marcus >> >> >> -- >> Marcus Denker -- http://marcusdenker.de >> >> > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
In reply to this post by HwaJong Oh
Hi HwaJong,
On which image should I try it. I used pharo-1.3-13315 and Pharo-1.4-14225, but I couldn't run the examples. Best, Noury On 17 déc. 2011, at 08:40, HwaJong Oh wrote: > Markus, > > Forget Ameba. Ani is here. > > Zini das Wuslon is implemented. It moves like a real one. > > > Gofer new > squeaksource: 'DaliotsPlayground'; > package: 'ConfigurationOfDaliotsPlayground'; > load. > > (Smalltalk at: #ConfigurationOfDaliotsPlayground) project lastVersion load: > 'Ani' > > http://appdal.com/groups/36442/wiki/9eee9/Ani.html > > Best Regards > HwaJong Oh > > -- > View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p4207593.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > Noury -- http://twitter.com/#!/NouryBouraqadi |
In reply to this post by HwaJong Oh
Hi,
I couldn't view the videos (tried with Safari and Firefox), and I could it test your code. I tried on Pharo 1.3 and 1.4. Noury On 17 déc. 2011, at 08:40, HwaJong Oh wrote: > Markus, > > Forget Ameba. Ani is here. > > Zini das Wuslon is implemented. It moves like a real one. > > > Gofer new > squeaksource: 'DaliotsPlayground'; > package: 'ConfigurationOfDaliotsPlayground'; > load. > > (Smalltalk at: #ConfigurationOfDaliotsPlayground) project lastVersion load: > 'Ani' > > http://appdal.com/groups/36442/wiki/9eee9/Ani.html > > Best Regards > HwaJong Oh > > -- > View this message in context: http://forum.world.st/Have-you-played-with-Ameba-tp3585624p4207593.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > Noury -- http://twitter.com/#!/NouryBouraqadi |
In reply to this post by Fernando olivero-2
SORRY FOR 5 MONTH LATE REPLY
I don't no what "Spring Layout" is. If it is a layout object of Morph, then no. DeterministicAni is an periodic number interpolator with blocks. HwaJong Oh |
In reply to this post by abergel
SORRY FOR 5 MONTH LATE REPLY
Sounds great! HwaJong Oh |
In reply to this post by Noury Bouraqadi-2
SORRY FOR 5 MONTH LATE REPLY
They are all done in Pharo 1.2.1-CogOneClick. I haven't checked for other Pharos, but it is so pure, i don't think they would not work. I better check & report. It would be easy for me to understand what is happening in your side, if you send me a screen recordings. HwaJong Oh |
In reply to this post by Noury Bouraqadi-2
SORRY FOR 5 MONTH LATE REPLY
Vidoes from "DeterministicAni" to "Spiral" is QuickTime mov files embedded into web page. Videos from "Group Ani" to "Klotz Ani" is Flash video. HwaJong Oh |
Free forum by Nabble | Edit this page |