Giter VIP home page Giter VIP logo

Comments (14)

mwthink avatar mwthink commented on July 24, 2024 3

@lo-th should reconsider this for 2 reasons :

  1. Browserify. Being able to pull the package down through npm, list it as a project dependency (Just as with all my other depencendies) would be an invaluable asset. As already stated, npm is certainly no longer just for server-side packages.

  2. Server-side running. This should also be coupled with a rewrite of some code that makes Oimo depend on canvas to operate. This would be Oimo an absolute knock-out of the park for a lot of projects. I am currently working on a multiplayer browser game, but with server side features, such as collision detection (And other anti-cheat measures).

Obviously, my server has no need to be rendering graphics, but if I could run the same physics on the server that are running on the client, I wouldn't need to be resorting to a myriad of nasty hacks I've implemented in the mean time.

I'm sure myself and some others who are interested could go about building the Oimo code to work in such a manner. Not a lot needs to be changed, but it would make all the difference in the world.

from oimo.js.

lo-th avatar lo-th commented on July 24, 2024 3

yea npm version is on way
now i know how process
like uil

i hope someday Saharan help me for adding creazy function

from oimo.js.

nathanosdev avatar nathanosdev commented on July 24, 2024 2

I agree with making this an NPM package,
using NodeJS modules to build client side applications is becoming a lot more common.
It's a small effort to provide a package.json and publish to NPM.

from oimo.js.

quasipedia avatar quasipedia commented on July 24, 2024 2

Beginner in 3D here.
Using BabylonJS (as most of the people starting out).
Using webpack + babel (as most of the people doing webapps professionally).
Oimo seemed perfect for me.
Oimo has no npm package.
yarn add cannon instead.
Problem solved.
One user lost for Oimo, one user gained for Cannon.

from oimo.js.

computersarecool avatar computersarecool commented on July 24, 2024 1

@positlabs I disagree with you here. Babylon.js (which uses Oimo.js in its example documentation) is itself available at npm (as are many, many, many client side libaries). I think @substack makes a great point - if this were available on npm, a person could just npm install babylon.js and oimo in a matter of seconds. Please reconsider

from oimo.js.

positlabs avatar positlabs commented on July 24, 2024 1

@computersarecool ditto. It's no longer true that npm is mainly server-side packages. If I could use it for server and client packages consistently, it would be ideal.

from oimo.js.

lo-th avatar lo-th commented on July 24, 2024

hum i have to test that, i don't use command or node.js
build folder is only containe final oimo.js version all other package is on js folder
no need external download. But i have many update to do like compound rigidbody, shooting ball...

from oimo.js.

positlabs avatar positlabs commented on July 24, 2024

IMO, it doesn't make sense to publish this library on npm. npm is for node packages, not client-side js libraries. If oimo.js is going to be published as a package, it should be on Bower. Bower is specifically used to manage front-end libraries like this one.

If I have time next week, I can try to take a stab at AMD modularization and publishing to Bower.

from oimo.js.

computersarecool avatar computersarecool commented on July 24, 2024

perhaps @lo-th might reconsider...

from oimo.js.

sndrgb avatar sndrgb commented on July 24, 2024

Any news about this?

from oimo.js.

tiaod avatar tiaod commented on July 24, 2024

@quasipedia Awesome! I'm going to use cannonjs now! 😄

from oimo.js.

mwthink avatar mwthink commented on July 24, 2024

Great to hear about!
If there's any hiccups in the process, I'll see if there's anything I could contribute.

from oimo.js.

lo-th avatar lo-th commented on July 24, 2024

is done !!!

from oimo.js.

quasipedia avatar quasipedia commented on July 24, 2024

🕺 🎆 🙇 ❤️

from oimo.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.