Mouse-drawing boxes in gwt-phys2d; Google Code repository

I’ve added in support for drawing your own boxes (as many as you want!) into gwt-phys2d. It’s fun to try to do things like create a long see-saw shape and try to balance boxes on both sides. Check it out: http://gwt-phys2d.appspot.com/

If you try drawing enough boxes, you’ll find that performance doesn’t scale all too well (or at least it doesn’t on my netbook). I watched memory in the task manager and saw it repeatedly spike and fall back down, suggesting that it’s definitely the garbage collector which is eating up much of the time. I still haven’t had a chance to rewrite the phys2d code to stop creating so many new objects (esp. collision Arbiters) every frame, but I imagine that’ll improve performance considerably.

I’ve also created a Google Code and subversion repository for the project:  http://code.google.com/p/gwt-phys2d/

If you’re interested in contributing let me know, and I’ll be happy to add you. Here’s a screen capture of the current version:

This entry was posted in gwt-phys2d, Uncategorized and tagged . Bookmark the permalink.

9 Responses to Mouse-drawing boxes in gwt-phys2d; Google Code repository

  1. Helene says:

    Calling all cars, cilalng all cars, we’re ready to make a deal.

  2. Piccaza says:

    Hello,
    I am new-bee to gwt phys2d lib. I am trying to develop simple physical demonstrations using this library. I don’t know hoe to set style for shapes created via phys2d, like Box, Static Body, Circles etc.
    If you are considering this comment,
    I would like to know how to add some images for each shapes and change it wrt the interaction with World,Time, Changes.

  3. Does your site have a contact page? I’m having problems locating it but, I’d like
    to send you an e-mail. I’ve got some creative ideas for your blog you might be interested in hearing.
    Either way, great blog and I look forward to seeing it develop over time.

  4. This article presents clear idea for the new viewers of blogging, that truly how
    to do running a blog.

  5. Why viewers still use to read news papers when in this technological world the
    whole thing is accessible on net?

  6. Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You obviously know
    what youre talking about, why waste your intelligence on just
    posting videos to your blog when you could be giving us something informative to read?

  7. When some one searches for his essential thing, therefore he/she wishes to be available that in
    detail, therefore that thing is maintained over here.

  8. Good day very cool website!! Guy .. Excellent
    .. Superb .. I will bookmark your website and take the feeds additionally?

    I’m satisfied to find numerous helpful info here
    within the post, we want develop extra strategies on this regard, thank you for
    sharing. . . . . .

  9. Pretty! This has been an extremely wonderful post. Thank you for providing this info.

    Here is my page – meilleurs casino en ligne francais

Leave a Reply to world pet express promo codes Cancel reply

Your email address will not be published. Required fields are marked *