Giter VIP home page Giter VIP logo

Comments (8)

525c1e21-bd67-4735-ac99-b4b0e5262290 avatar 525c1e21-bd67-4735-ac99-b4b0e5262290 commented on May 3, 2024

Specifically node.js (http://nodejs.org/) for now

from three.js.

dekz avatar dekz commented on May 3, 2024

I agree, having it at least in all one language is a plus.

from three.js.

mrdoob avatar mrdoob commented on May 3, 2024

But that's just a tool... ? Also, should then alteredq use cygwin to compile the library? (afaik there is no node.js for windows).

Blender exporter also needs to be python. That's the language they decided to use.

from three.js.

525c1e21-bd67-4735-ac99-b4b0e5262290 avatar 525c1e21-bd67-4735-ac99-b4b0e5262290 commented on May 3, 2024

Yes it's just an environment and the script would need to be ported. I might have a stab at that tonight; there's plenty of examples from other projects to work off of.

And yes window users would need to use cygwin for now until node.js is properly ported to windows; which I guess isn't ideal.

I think it's worth having the build process in JS even though the utilities (exporters, code minifiers/compressors, etc) are in their original form -- java for google closure, python for the blender exporter.

from three.js.

alteredq avatar alteredq commented on May 3, 2024

Let's not overcomplicate things just because it would be cool ;)

Different tools serve different purposes. Python is an excellent match for this particular task.

from three.js.

mrdoob avatar mrdoob commented on May 3, 2024

I agree :)

from three.js.

525c1e21-bd67-4735-ac99-b4b0e5262290 avatar 525c1e21-bd67-4735-ac99-b4b0e5262290 commented on May 3, 2024

python it is. closing...

from three.js.

mrdoob avatar mrdoob commented on May 3, 2024

If you feel like taking a stab on this, by all means, go for it.

However, don't be surprised if you find developers reluctant to change a piece of code that is a key part of their workflow. Specially if by changing it the workflow will get slightly affected...

Also, for new people messing with the library... if they find a .py, chances are they know it's a python file and they know how to execute it. If they find a .js file, you'll need to add a README stating that it requires node.js and some information on how to install it. Extra information for windows users...

from three.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.