TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Two.js

488 pointsby jgvabout 12 years ago

22 comments

kevincennisabout 12 years ago
Was pretty confused at first about why this would have a Backbone dependency until I looked through the source and saw they they're just pulling Backbone.Events.<p>I think it says a lot about Backbone that people are doing things like that. Modularity is nice.<p>Oh, and thumbs up for Two.js. Well done.
评论 #5668912 未加载
michaelmartinabout 12 years ago
The script looks looks great, but mostly I just want to say it rocks to see a library with this much work put into quality documentation already.<p>Gives me a heck of a lot more trust for the script and reason to try it out.
monkey_slapabout 12 years ago
This landing page and documentation is just beautiful. Simple hashtag nav, soft colors, great header, and good examples. Only suggestion would be to have a way to link to individual methods in the docs w/ hashes. I really commend the effort here.
评论 #5669279 未加载
metabrewabout 12 years ago
Also worth a look: <a href="https://github.com/GoodBoyDigital/pixi.js" rel="nofollow">https://github.com/GoodBoyDigital/pixi.js</a> 2D renderer with canvas and webgl backends
评论 #5670548 未加载
surrealizeabout 12 years ago
I don't get it. Retained-mode vector graphics == SVG. Browsers with canvas or webgl also have SVG. So what does this accomplish?<p>I don't mean to sound negative, I'm just not clear on the point.
评论 #5669067 未加载
Kristoriesabout 12 years ago
Credit: <a href="http://threejs.org" rel="nofollow">http://threejs.org</a>
评论 #5669187 未加载
nigglerabout 12 years ago
How does this compare to raphael (<a href="http://raphaeljs.com/" rel="nofollow">http://raphaeljs.com/</a>) ?
评论 #5668940 未加载
评论 #5669855 未加载
smrtinsertabout 12 years ago
This is a tough space to be in these days, so many competing projects. That said, I really wish I saw more projects using <a href="http://kineticjs.com/" rel="nofollow">http://kineticjs.com/</a>. (sorry op). I just feel that kinetic is put together well and has an awesome tutorial series at <a href="http://www.html5canvastutorials.com/kineticjs/html5-canvas-events-tutorials-introduction-with-kineticjs/" rel="nofollow">http://www.html5canvastutorials.com/kineticjs/html5-canvas-e...</a>
评论 #5670133 未加载
erbbysamabout 12 years ago
Kind of random, but this looks very similar to Ming (php plugin) which renders flash in a very similar manner. I open-sourced a library for rendering animations using it just a few days ago (although the project itself it 6 years old) - <a href="https://github.com/erbbysam/ming-icanimate" rel="nofollow">https://github.com/erbbysam/ming-icanimate</a><p>Thanks for this, I'm probably going to spend some time recreating that ming-icanimate rendering system with two.js
muyyatinabout 12 years ago
Very nice! I'm also working on a similar scene graph (Canvas/SVG, WebGL soon), which also has bounds, DAG-support, and implicitly inserts the needed layers for performance (<a href="http://phetsims.github.io/scenery/" rel="nofollow">http://phetsims.github.io/scenery/</a>).<p>I look forward to seeing what other performance optimizations I may be missing!
rhenglesabout 12 years ago
I started a project in SVG a few months ago, and searched for a library to use. Dojo's GFX is a great library, with comprehensive support of the native features (Text, etc).<p>That said, I'm planning on switching to good-old DOM, the performance of SVG was underwhelming to me. Also, the lack of text-wrap.
nthitzabout 12 years ago
I'd be curious to see the performance differences between this drawing on 2d canvas, webgl and similar code in plain JS. Mostly curious at that webgl benchmark
评论 #5669312 未加载
评论 #5669595 未加载
dweinusabout 12 years ago
I love the idea and it's a beautiful site...which quickly brings my browser (chrome) to a grinding halt.<p>Hopefully I'm just an edge case while the project is young?
评论 #5669519 未加载
joelhooksabout 12 years ago
This is rad. Thank you. It is being added to our home education curriculum. I think the kids will get a lot out of it "turtle graphics" style.
评论 #5672704 未加载
stevewilhelmabout 12 years ago
Does anyone else feel the animations are too fast and jagged?<p>Running in Chrome 26.0.1410.65 on a Macbook Pro running OS X 10.8.3
评论 #5671283 未加载
dutchbritabout 12 years ago
This is very cool - thumbs up for the simplicity, implementation wise! Will give this a spin.
jarmitageabout 12 years ago
Could someone with the knowledge explain significant differences between this and Paper.js?
评论 #5672218 未加载
jlturnerabout 12 years ago
Lib looks awesome Jono! The animated strokes example is fresh :)
skionabout 12 years ago
Awesome, I can see the reincarnation of animated banner ads...
kgosserabout 12 years ago
Was forcast.io's animations an inspiration for this?<p>Very impressed. Great job!
评论 #5669844 未加载
Zolomonabout 12 years ago
This looks awesome for game development and creative coding!
评论 #5669626 未加载
brickcapabout 12 years ago
looks great but how is it different from d3?
评论 #5670172 未加载