Giter Club home page Giter Club logo

Comments (5)

cpryland avatar cpryland commented on April 30, 2024 1

You're probably safer because people will build charts in a general size range that works, while I had to handle potentially tiny (4px) to huge (2Kpx) objects.

(This is for an Adobe XD plugin which is in limbo for other (XD API bugs) reasons. http://emsoftware.com/xdplugins/rough-draft/.)

from roughviz.

cpryland avatar cpryland commented on April 30, 2024 1

Oh, and right, ellipses were more sensitive to roughness than other objects (your circles).

from roughviz.

jwilber avatar jwilber commented on April 30, 2024 1

Right. In any case, thanks for the heads up & your plug-in looks awesome :)

from roughviz.

pshihn avatar pshihn commented on April 30, 2024 1

@jwilber @cpryland I would love to hear more thoughts on this (issues and solutions). I have created an issue with possible ways to deal with the 'size' issue. I have noticed it is more pronounced when drawing lines.
rough-stuff/rough#114

from roughviz.

jwilber avatar jwilber commented on April 30, 2024

@cpryland

Yep! That's an issue. I did add a roughCeiling that I apply to every chart (so you can only go so high), but it's still an issue. For example, if you use the Scatter class, setting a high roughness will make the circle sizes appear larger than you set. That said, there is something of a trade-off that the user can often play with to minimize this (e.g. in the Scatter case, between radius and roughness).

Maybe I'll change it at some point, or maybe someone will submit a PR. The package is in a very early stage, so there's some other stuff I'd like to improve first!

from roughviz.

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.