Coder Social home page Coder Social logo

Comments (4)

marcofugaro avatar marcofugaro commented on May 29, 2024 1

Yeah it looks like that repo is not maintained anymore since mattdesl left Jam3, I also did a PR recently, no response.

I will contribute to @rreusser/orbit-controls if you decide to fork it 🙂

from controls-state.

rreusser avatar rreusser commented on May 29, 2024 1

Nice. Yeah, I really like the structure of that camera module, specifically that it's so easy to integrate with other solutions (i.e. not dependent on three.js or how you choose to use it). I started building a fancier controller in this notebook that splits this further into 1. a very simple abstract camera, and 2. an interaction controller with a stack of tools, each of which has the option to capture an interaction, otherwise it falls through to the next tool. So like when you tap, it first checks the vertex editor tool to see if you've tapped a point, otherwise it falls through to the camera. It's a step in the right direction but the semantics of interactions still isn't quite right. And I need to add touch controls. So my only nitpick on my perfect camera controller would be that it (IMO, ideally) has no idea what an event is, and then threre's a second tool that feeds in meaningful events. I built my solution on orbit-camera, which is my favorite because it has no idea what an event is.

I'm actually somewhat interested in building out a few loosely coupled tools in this domain because it's just driving me crazy to struggle so much with this. Thoughts welcome :)

from controls-state.

marcofugaro avatar marcofugaro commented on May 29, 2024

This is because bundle.run is down: https://bundle.run/[email protected]

I solved it like this for now:

beautifyJSON = (str) => JSON.stringify(str, null, 2)

from controls-state.

rreusser avatar rreusser commented on May 29, 2024

Thanks! I've fixed and republished. Yeah, for the longest time I didn't know JSON had extra options.

Related but not applicable: to remove dependence on bundle.run, I've been making a PR here and there to add rollup config and add a dist bundle, e.g.: https://github.com/Jam3/orbit-controls/pull/16/files#diff-ff6e5f22a9c7e66987b19c0199636480

from controls-state.

Related Issues (6)

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.