Giter Site home page Giter Site logo

mcr's Introduction

Name: Jacob Marttinen Student Number: 20313145 User-id: jemartti Assignment: A5

The final executable was compiled on this machine: gl20.student.cs

How to invoke my program: Call ./MultiresolutionCurves from the A5 dir. Supply a command line argument with the filename of a .png file to trace. If no argument is supplied, the application will default to /data/img.png

How to use my extra features:

  • Points mode: left click adds points, middle click deletes points, right click + drag edits points, enter sets a line and starts a new one
  • Resolution mode: left click drops down to the nearest whole level, middle click brings curve to 2^j + 3 points, right click brings curve up a whole level
  • Colour modes (1, 2, 3): Change the colour of the line interpolated from the start, middle, and end of the curve respectively. (L, M, R) click + x drag change (R, G, B) channels.
  • Width mode: (L, M, R) click + x drag change the width interpolated at the beginning, middle, and end of the curve respectively.
  • Bottom slider changes the curve resolution in continuous increments.

I have created the following data files, which are in the data directory:

  • img.png, atv.png (sample images to trace)
  • pointsatv, pointschess (sample data points for these images, rename to points to get working)

My program assumes the following:

Objectives:

  • Create a user interface for the multiresolution curve editor
  • Implement the drawing of endpoint-interpolation cubic B-spline curves from input data points -Allow for dragging the mouse to define a line, and implement functionality to edit the curve by moving control points
  • Implement adaptive curve sampling, ensuring a smooth curve
  • Extend this smoothing to continuous levels (multiresolution) using wavelet analysis
  • Extend the editing of the curves to continuous levels (multiresolution, allowing editing of both the sweep and the details of the curve)
  • Extend the editing of the curves to allow direct manipulation of a curve
  • Allow for the editing of colour and size dimensions
  • Allow for multiple curves to be drawn, allowing for the tracing of an image
  • Demonstrate the drawing functionality by approximating a complicated drawing using at least 20 curves and multiple thicknesses/colours

mcr's People

Contributors

jemartti avatar

Stargazers

 avatar

Watchers

James Cloos avatar

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.