Git Product home page Git Product logo

Comments (5)

luxaritas avatar luxaritas commented on August 22, 2024

Related thought brought up by Brourd: continuous Zoom (namely for mice with continuous scrolling)

from eternajs.

guyguy2001 avatar guyguy2001 commented on August 22, 2024

Do we want to drop the current zoom system in favor of the native translate/scale pixi functions (while keeping the logic of showing the triangles and the numbers)?
Or will we just change the current system to be continuous?

from eternajs.

guyguy2001 avatar guyguy2001 commented on August 22, 2024

The continous zoom system should still have a hook for things that exist in the 'RNA space' but don't scale (e.g base numbers).
It will probably work by default, but we need to make sure we don't just naively make all of the objects scale together as one.

from eternajs.

luxaritas avatar luxaritas commented on August 22, 2024

It might or might not be worthwhile to actually scale everything together, but then going in and redrawing some of the objects that need it. That could also allow, for example, marker radius to be increased slightly but only once you get under a certain zoom level

from eternajs.

luxaritas avatar luxaritas commented on August 22, 2024

If we do that, it would be great to have it abstracted (perhaps even to the DisplayObject level? Would need to think about that) so that all you need to do is set a property specifying the scaling behavior, and then when the parent gets scaled, it bubbles down to the children with... Would need to work through a performant and idiomatic way to do that, maybe similar to how pointertargets are handled? Dunno

from eternajs.

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.