Giter Site home page Giter Site logo

lines's People

Contributors

sibz avatar

Watchers

 avatar  avatar

lines's Issues

Add ability to adjust line heights

Will need trigger an update event with height data.
Currently the values for adjustment on the new line are stored in a Singleton entity LineTool.
Going forward I think the current values should be in the NewLine component that only applies to lines being created for the first time.
Much like the current tool update job, we can update the information as an amount changed and adjust the value in the NewLine Component.
Once we have that we can create a job to create a cubic bezier to be used by the knot generation job. We're doing this separately to the curve beziers as we want to control the height independently of the curves.

  • Update NewLine Component to contain Height variables
  • Update NewLineUpdateEvent to contain HeightChange variables
  • Update mappings in 'ToolBehaviour' to raise events for changing height
  • Add job to update NewLine variables from the event
  • Add a job to create cubic bezier
  • Update knot generation job
  • Test it works

That's the theory, however never done this so may change during implementation.

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.