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

613 pointsby bikeshackalmost 10 years ago

20 comments

Argentum01almost 10 years ago
Played around with this awhile back and I really like it. Great for quick art projects and the like: <a href="http:&#x2F;&#x2F;westleyargentum.github.io&#x2F;monsters&#x2F;" rel="nofollow">http:&#x2F;&#x2F;westleyargentum.github.io&#x2F;monsters&#x2F;</a>
评论 #9899535 未加载
评论 #9899781 未加载
rjusheralmost 10 years ago
What I am struggling with, is the use case of a library like this.<p>Is this oriented towards gaming or substitude something like d3.js or is it has a simplier api, for the developer than other libraries. Or is it a library to showcase the cool stuff that can be done with new technologies.<p>I think the main difference and the selling point is that it is &quot;renderer agnostic&quot; but I don&#x27;t understand the benefits of that.
评论 #9899884 未加载
评论 #9901429 未加载
评论 #9903564 未加载
评论 #9899931 未加载
评论 #9900956 未加载
评论 #9899865 未加载
tlrobinsonalmost 10 years ago
Interestingly WebGL is way slower than SVG and Canvas in this case (Chrome, rMBP): <a href="https:&#x2F;&#x2F;jonobr1.github.io&#x2F;two.js&#x2F;examples&#x2F;particle-sandbox.html?type=webgl&amp;shapes=triangle,square,circle,pentagon,star&amp;operations=translation,rotation,scale&amp;count=200" rel="nofollow">https:&#x2F;&#x2F;jonobr1.github.io&#x2F;two.js&#x2F;examples&#x2F;particle-sandbox.h...</a>
评论 #9900183 未加载
victorhooialmost 10 years ago
Basic question - but when would you use this over d3.js?
dexwizalmost 10 years ago
I notice that this can render ThreeJS objects. Any reason to construct and object with ThreeJS and render it with Two?
评论 #9899527 未加载
smrtinsertalmost 10 years ago
I don&#x27;t see anyway of working with textures at this point, am I wrong? Part of what I find interesting of working with Paper.js is the ability to render to a texture, and keep piling on stuff if necessary. I haven&#x27;t tried the performance that would bring, but from what I understand it could be great.
评论 #9899536 未加载
staredalmost 10 years ago
As someone using D3.js a lot (even for a puzzle game) - what is the benefit of using Two.js? Jumping between SVG and Canvas? (But then, is it worth the price of reducing possibilities to circles and squares?)
评论 #9903270 未加载
mintwurmalmost 10 years ago
Is that project still alive ? Last two commits are from march this year and then there&#x27;s nothing all the way back to july &#x27;14
评论 #9899789 未加载
arocksalmost 10 years ago
Is it possible to use this for creating videos with motion graphics? Even the possibility of a frame by frame render would be awesome.
评论 #9903289 未加载
kodablahalmost 10 years ago
An alternative library that is Canvas only but works well with input is ZRender[0]. Sadly the docs have not been translated to English (lingua franca of open source libs or software in general?) and I think that affects adoption.<p>0 - <a href="https:&#x2F;&#x2F;ecomfe.github.io&#x2F;zrender&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ecomfe.github.io&#x2F;zrender&#x2F;</a>
jarek-foksaalmost 10 years ago
Why Vector.isZero() is checking whether a vector length is smaller than 0.0001? Why this arbitrary number and not e.g. 0.00000001?
评论 #9900684 未加载
ameliusalmost 10 years ago
I&#x27;m looking for a library that can create a calligraphic shape (path) from a stroke path.
评论 #9900615 未加载
drumttocs8almost 10 years ago
How would this compare to Famo.us?
chejazialmost 10 years ago
Considering turning my text-logo into one of these!
humbleMousealmost 10 years ago
That&#x27;s pretty sweet.
gondoalmost 10 years ago
what is meant by &quot;modern web browsers&quot;?
评论 #9899523 未加载
评论 #9899546 未加载
评论 #9901291 未加载
gprasanthalmost 10 years ago
How this is different from fabricjs or snapsvg?
评论 #9899367 未加载
评论 #9899368 未加载
评论 #9899552 未加载
评论 #9899422 未加载
billkozby083almost 10 years ago
I&#x27;m testing something...thanks
vegabookalmost 10 years ago
Awesome...but. No text? That suddenly wipes out my use case (data viz). I was super encouraged reading this post, multiple renderers including canvas &#x2F; webgl (so I assume speed - unlike D3), smart, clean, indeed creative looking logo&#x2F;site...suggests the author has taste...but no text kills this for me. I see no obvious use case for animated 2d that does not do textures (personally happy to do without) but also does not do text.
评论 #9899704 未加载
评论 #9903399 未加载
dreamfactory2almost 10 years ago
what are the major differences between this and paper.js?