TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Two.js

613 点作者 bikeshack将近 10 年前

20 条评论

Argentum01将近 10 年前
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 未加载
rjusher将近 10 年前
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 未加载
tlrobinson将近 10 年前
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 未加载
victorhooi将近 10 年前
Basic question - but when would you use this over d3.js?
dexwiz将近 10 年前
I notice that this can render ThreeJS objects. Any reason to construct and object with ThreeJS and render it with Two?
评论 #9899527 未加载
smrtinsert将近 10 年前
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 未加载
stared将近 10 年前
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 未加载
mintwurm将近 10 年前
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 未加载
arocks将近 10 年前
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 未加载
kodablah将近 10 年前
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-foksa将近 10 年前
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 未加载
amelius将近 10 年前
I&#x27;m looking for a library that can create a calligraphic shape (path) from a stroke path.
评论 #9900615 未加载
drumttocs8将近 10 年前
How would this compare to Famo.us?
chejazi将近 10 年前
Considering turning my text-logo into one of these!
humbleMouse将近 10 年前
That&#x27;s pretty sweet.
gondo将近 10 年前
what is meant by &quot;modern web browsers&quot;?
评论 #9899523 未加载
评论 #9899546 未加载
评论 #9901291 未加载
gprasanth将近 10 年前
How this is different from fabricjs or snapsvg?
评论 #9899367 未加载
评论 #9899368 未加载
评论 #9899552 未加载
评论 #9899422 未加载
billkozby083将近 10 年前
I&#x27;m testing something...thanks
vegabook将近 10 年前
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 未加载
dreamfactory2将近 10 年前
what are the major differences between this and paper.js?