GithubHelp home page GithubHelp logo

pavellaptev / warp-svg Goto Github PK

View Code? Open in Web Editor NEW
203.0 6.0 10.0 4.16 MB

Warp and distort SVG files online

Home Page: https://pavellaptev.github.io/warp-svg

License: MIT License

HTML 36.49% JavaScript 39.03% SCSS 24.49%
svg warp distort warpjs

warp-svg's Introduction

warp-svg's People

Contributors

dependabot[bot] avatar kosai106 avatar pavellaptev 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  avatar  avatar  avatar

warp-svg's Issues

Scroll/zoom not working properly in Firefox

Using the scroll option on the mouse is supposed to zoom in or out depending on if you scroll up or down. This works fine in Chrome but in Firefox the zoom always zooms out, even if you scroll the other direction.

Tested in latest stable Firefox (v79) on Windows 10 and latest stable Brave and Chrome on Win10.

Change size of bounding box to account for warped size

In every instance I've tried the exported SVG is warped off the bounding rectangle. When I export it, it's off the screen. I tried making a larger svg with the shape in the middle, and the bounding box for the warp goes around the outer boarder, not the inner shape.

Weight, and repos Function

Checking your code for the nut.
How are the new coordinates of the path points calculated?
Very hidden, it's like entering a puzzle.
I just wanted to understand the logic to calculate the new coordinates.

I see that warp.transform is applied to each point of the path text.. (ok).

Could you explain what the concept "Weight" means?
Could you explain the function reposition(_ref) which I see is in change of computing the new coordinates.

I understand that the function warp.Transform() is executed by: https://github.com/benjamminf/warpjs

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.