Hi, On 25 Jun 2011, at 10:27, Stéphane Ducasse wrote:
On Jun 25, 2011, at 8:25 AM, H. Hirzel wrote:
Nicolas
Another idea for an example
Connect the JavaScript InfoVis Toolkit (http://thejit.org/) and display the class hierarchy of JTalk in a view like http://thejit.org/static/v20/Jit/Examples/RGraph/example1.html or one
I would love to see such kind of animation in SMalltalk. I do not understand why this is possible in javascript and not in Smalltalk.
We need a better canvas :). Doru
Stef
of the other examples at http://thejit.org/demos/ Displaying the class hierarchy of JTalk would be one thing. Or in combination with an AJAX example displaying a graph defined in a JSON file.
#Besides porting the InfoVis Toolkit Nicolas Garcia Belmonte ( http://blog.thejit.org/2009/09/30/force-directed-layouts/) develops PhiloGL. It is a WebGL framework for data visualization, creative coding and game development.
--Hannes
On 6/25/11, H. Hirzel <hannes.hirzel@gmail.com> wrote:
On 4/5/11, laurent laffont <laurent.laffont@gmail.com> wrote:
Go to http://jtalk-project.org/
Open development tools -> Workspace
Evaluate:
Tetris new appendToJQuery: 'body' asJQuery
play.
Laurent.
Hello Laurent
I like that you continue to work on jtalk by adding examples to make it more easily accessible to play with.
I evaluated the expression above but it did not start.
Inspecting Tetris new
gives an inspector on aTetris
Inspecting Tetris new appendToJQuery: 'body' asJQuery
opens another inspector on aTetris
Nothing shows up. I am using Firefox 5.0
Do you have any suggestions how to find out where the error is? Hannes
P.S. Would it be possible to have a simple AJAX example which, e.g. which loads a list of key/value pairs (e.g. web colors http://en.wikipedia.org/wiki/Web_colors (X11)) into a Smalltalk dictionary and display them in a dictionary browser? Maybe a variant with a plain text list and a JSON object list.
P.S 2 The canvas is a HTMLcanvas in the sense of Seaside, not a HTML5 graphical canvas to draw on, right? I'd love to have a class Pen with the HTML5 graphical canvas. Even just with a subset of the methods. Then it would be possible to run classical examples from the purple book (e.g. Turtle graphic)
P.S. 3. Tetris is fine but much simpler examples are probably better to help people getting started.
-- www.tudorgirba.com "Don't give to get. Just give."