Live data from Hacker News

Two.js

jonobr1.github.io

11–20 of 92 posts

Re: Two.js

#13
post #4

How this is different from fabricjs or snapsvg?

It seems to me, that people in the Javascript world, like to constantly create new alternatives (or very similar) to existing frameworks or projects. It's not 100% a bad thing though.

I don't think this is something unique to the Javascript world people make sightly different eyeglasses, plates, houses, frameworks, libraries, programming languages, etc.

Re: Two.js

#14
post #12

what is meant by "modern web browsers"?

I guess it would be something along the lines of this quote from http://farukat.es/journal/2011/02/528-modern-browser: "A modern browser is any browser that: successfully renders a site that you just built using web standards, testing only in your browser of choice along the way, with all the essentials functioning well; without you having written any browser-specific hacks, forks or workarounds; and shows great performance as you navigate it."

Re: Two.js

#15
I don'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't tried the performance that would bring, but from what I understand it could be great.

Re: Two.js

#16
post #9

I notice that this can render ThreeJS objects. Any reason to construct and object with ThreeJS and render it with Two?

No no, you can create shapes and render / extrude them in Three.js. The puzzle piece in this example is a 2D path made in Two.js and then extruded in Three.js: https://jonobr1.github.io/two.js/examples/three-extrusion.ht...

Re: Two.js

#17
post #4

How this is different from fabricjs or snapsvg?

It seems to me, that people in the Javascript world, like to constantly create new alternatives (or very similar) to existing frameworks or projects. It's not 100% a bad thing though.

This project started 3 years ago. It's not that fast :)

Re: Two.js

#19

I don'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't tried the performance that would bring, but from what I understand it could be great.

Textures are in the works... Wanted to focus on drawing vector stuff first. As you noted there are many libraries that handle textures really well!
Post reply on HN