genesis-tubs-builder's People
Forkers
johndpopegenesis-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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.