Comments (4)
@Technologeek v0.15.1 now has zooming (docs). Enjoy!
from mafs.
Hey @stevenpetryk Thanks for this great lib! Can we create this feature using something like this package? Or should we roll out our own gestures logic?
from mafs.
@Technologeek you can definitely roll your own with that! (I personally would use @use-gesture/react
as that's what Mafs already uses internally, but you do you). To adjust "zoom" you can change the Mafs viewBox
options (make sure to also "zoom" the padding
).
However, worth pointing out that I am planning on building this today during Hacky Hour on the Mafs Discord (feel free to join 😄)
from mafs.
Haha alright! I guess I will pick some other issue for the weekend duties. I will join indeed thanks!
from mafs.
Related Issues (20)
- Flash of 1px wide canvas on initial render HOT 2
- Add support for limiting panning HOT 1
- y value of Point returned from onClick is wrong to a certain degree when zooming HOT 2
- Intractable Elements HOT 1
- General Approach for Sketching Implicit Functions (e.g., Circles)
- Add support for arrows on axes in the Coordinates component
- Allows to render custom dragable Elements HOT 1
- Latest release (v0.17.0) was not published correctly HOT 2
- Add some prepublish checks to ensure that Mafs was built correctly
- Movable points on click event
- Graph Logarithmic Functions using mafs HOT 1
- Svelte port HOT 1
- Behavior at jump discontinuities HOT 5
- Documentation site is missing titles HOT 1
- Vectors not colored correctly HOT 2
- Issue with ES module treatment in Next.js environment HOT 4
- Discord Channel missed and Mafs.dev can't be accessed HOT 5
- stackblitz mafs's playground is error HOT 1
- Mafs integration with Astro? HOT 5
- "simple" vector field plot not displaying many points HOT 3
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.
from mafs.