Git Product home page Git Product logo

agargaro / three.ez Goto Github PK

View Code? Open in Web Editor NEW
154.0 154.0 7.0 6.03 MB

Simplify three.js development, including events, drag & drop, binding, focus management, smart rendering, tweening and more.

Home Page: https://agargaro.github.io/three.ez/

License: MIT License

TypeScript 98.70% JavaScript 0.98% HTML 0.31%
3d asset-management binding drag-and-drop event-system events focus helper interaction multiple-views query smart-rendering threejs toolkit tweening

three.ez's People

Contributors

agargaro avatar augusttty avatar gabrielecoco28 avatar luigidenora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

three.ez's Issues

Specifying container for webgl canvas

Hello,

this is an awesome project that's adding a lot of the missing things in three.js!

Is there a way to create the canvas inside another html element (I did not find one).

And if not, is this planned sometime or is there a good workaround?

Thanks!

Drag & Drop Functionality Issue: Drag Operation Continues After Exiting Canvas

Description:

I've encountered a bug related to the drag & drop functionality on the canvas. Specifically, when I start dragging an object and then move the cursor outside the canvas while still holding the mouse button down, the drag operation does not terminate as expected.

Steps to reproduce:

  1. Start a drag on the canvas.
  2. Continue dragging the object outside of the canvas.
  3. Release the mouse button while the cursor is still outside the canvas.
  4. Move the cursor back inside the canvas.

Expected behavior:

When the mouse button is released outside the canvas, the drag operation should terminate. When the cursor re-enters the canvas, it should not be in a dragging state.

Actual behavior:

After performing the steps above, when the cursor re-enters the canvas, it is still in a dragging state as if the mouse button was never released.

Environment:

  • Browser: Chrome Version 119.0.6045.124

Resize on mobile

I think the scene viewport resize not work on mobile browser.

  • portrait mode: it have small gap above the scene
  • when switch to landscape : it not resize

I’m trying to fix it…

IMG_2743
IMG_2742

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.