Giter Site home page Giter Site logo

genesis-tubs-builder's People

Contributors

mauicv avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

johndpope

genesis-tubs-builder's Issues

Movement and zoom very slow

I think the Vuex store adds an observer to every element in the array of points which means when we mutate an element the vuex store triggers re-rendering on the canvas component. If we move each element in the array then this slows the UI down significantly.

If we create a deep copy of the array then it should behave like this but then we loose the dependences other structures in the store have on those points. It perhaps makes sense to store them as a flattened dictionary with uuid's as keys and reference those uuid in the other objects. This means we can make the deep copy and update everything in one without breaking any relations.

#1 might be related

Add memory to Store

Currently if we set the edit selection we have access to focus on state but not memory.

Movement and zoom events after file load

On loading a file with convex sets and then adding a new convex set the new convex will move and size at double the rate on arrow keys and zoom events.

I suspect the issue arrises because we're using window.addEventListener rather than vue event logic.

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.