views:

189

answers:

5

Sorry. I don't know a good title for this, but please look here:

http://joshblog.net/projects/logic-gate-simulator/Logicly.html

I saw this from delicious over the weekend. It is in flash and I wondered if something like this, as far as the graphics and interaction goes, could be done in javascript (jquery or other library, not rolling my own.)

Again, I do not mean logic gates specifically but more the dragging, dropping and the drawing lines between objects, moving them around, etc.

Does anyone know of a website that has something like this in javascript? It kind of reminds me of dragging and dropping points on google maps but nicer. Thank you.

A: 

Im sure you could work something similar with jQuery. Checkout the jQuery UI, they have demos of its capabilities.

Mike_G
+6  A: 

Looks like someone has recently made a Logic Gate Thing that might interest you, though it doesn't quite have the level of animation that the Flash version has. (Here is an explanation from the author.)

Daniel Lew
+1 It would be hard to find a more specific answer than that.
le dorfier
Wow dude... that IS an awesome answer.
KyleFarris
+1  A: 

jQuery UI has some effects such as dragging and animations. There are some demos at http://jqueryui.com/demos/

cobbal
A: 

Mootools can also do this - they have some pretty slick demos on their website.

Andy Mikula
+3  A: 

http://javascript.neyric.com/wireit/ and jQuery draggables is what you want.

Too bad the wire-it library is YUI. Would be nice if it were jQuery.

altCognito
Why would it be any better if it were in jQuery?
Daniel Lew
Unfortuately, this breaks in my IE8 with: Webpage error detailsMessage: 'parentNode' is null or not an objectLine: 103Char: 7Code: 0URI: http://javascript.neyric.com/wireit/lib/excanvas.json the demos and interactive documentation. But it looks like what I was looking for. Thanks.
johnny
:( Indeed, seems to work fine in FF, I tried out the game in IE, no die.
altCognito
@Daniel, because the draggables are pretty easy to work with in jQuery UI, so it makes an easy solution.
altCognito
Daniel Lew