4 ms·
The source code for the library is here: https://github.com/anvaka/VivaGraphJS https://github.com/anvaka/VivaGraphJS The site itself - you can paste URLs from
by anvaka 15y ago
The source code for the library is here: https://github.com/anvaka/VivaGraphJS https://github.com/anvaka/VivaGraphJS
The site itself - you can paste URLs from YouTube to visualize particular video :)
- iambot 15y agoNice work. I've been looking for something Exactly like this, I'll give it a test run and feedback as much as I can. Thank you.
- anvaka 15y agoThank you :)! Would love to hear your feedback!
- slig 15y agoReally nice. Recently I built a very simple game and I used springy[1]. It's great to have other beautiful written alternatives. https://github.com/dhotson/springy https://github.com/dhotson/springy
- anvaka 15y agoVery good for 500 lines of code :)! Thanks for sharing. O(n^2) for n-body simulation could hurt performance for the larger graph, i guess. But it should work really well for smaller ones. BTW this one by Lars Rönnbäck is also very impressive: http://js1k.com/2010-first/demo/618 http://js1k.com/2010-first/demo/618 - press any key to add nodes. It's only 1016 bytes. Amazing.
- feralchimp 15y agoIt's such a pleasure to read well organized, well commented code. I'm a total JS n00b, but I feel like I could learn the language very quickly with examples like yours to follow. Cool library, too. :)
- anvaka 15y agoThank you very much :). I am JS n00b also. I started learning the language several months ago with Crockford's "JavaScript: The good parts" book. And I left a looot of room for improvement in VivaGraphJS (blush). I don't like a lot of its parts. Hope to make it better in the future.