Code Monkey home page Code Monkey logo

tracer's People

Contributors

jmorrow1 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

Watchers

 avatar  avatar  avatar  avatar  avatar

tracer's Issues

Fix Arc class

Prevent Arc.startAngle and Arc.endAngle from being a greater distance than TWO_PI apart from each other. Otherwise, it doesn't make sense.

Record dicontinuities

When a Path has discontinuities those should be accessible via something like Path.discontinuityCount() and Path.getDiscontinuity(int i) the last of which would return a 1D coordinate.

Then, Path.draw(g, u1, u2) can be changed to assume that the path from u=1 to u=0 is continuous unless told otherwise.

Also, if all discontinuities are known,, it will be possible to do an accurate perimeter approximation of an arbitrary Path.

Phase out RenderSegments

One of the sources of awkwardness about both RenderSegments and RenderPaths classes is the inability to individually control the style of each Path or each segment.

In the place of RenderSegments I'd like to make the library able to handle the same functionality simply by allowing Paths to be made up of Tracers. That way, a Path can trace another Path, so to speak.

Phase out Composite type.

Replace with an implementation for Path.compose(Path a, Path b).

This will be easy once gaps are properly dealt with.

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.