Giter Club home page Giter Club logo

curvedrawingofafunction's Introduction

Repository Name: Curve-Drawing-Of-A-Function

A C# program that produces a graphical output. Drawing a curve using a given math equations of that curve. Drawing a function that graphs a fascinating shape such as a flower, figure-eights, hearts, snow flakes, spirals, diamonds, and other amazing patterns.

Info

Author: Randy Le
Author's Email: [email protected]

Course: CPSC223N
Date of Creation: 11/27/2017

Language: C# program
Distribution: Xubuntu
Software: Monodevelop

Contents

  1. curvedrawing_3main.cs
  2. curvedrawing_3frame.cs
  3. curvedrawing_3logic.cs

Setup and Installation

To run the program on linux please run the follow in the terminal to create the curvedrawing_3logic.dll:

  $ mcs -target:library curvedrawing_3logic.cs -r:System.Drawing.dll -out:curvedrawing_3logic.dll

After, run the following in the terminal to create the curvedrawing_3frame.dll:

  $ mcs -target:library curvedrawing_3frame.cs -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:curvedrawing_3logic.dll -

Also, run the following to create an .exe file:

  $ mcs curvedrawing_3main.cs -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:curvedrawing_3frame.dll -r:curvedrawing_3logic.dll -out:curvedrawing3.exe

Finally, execute the following:

  $ ./curvedrawing3.exe

or run the run.sh file with the command

  $ sh run.sh

What I have learned

  1. The C# coordinate system and Math coordinate system.
  2. Conversion between C# coordinates and Math coordinates.
  3. The scale factor that relates the two types of coordinates.
  4. Equations in polar coordinates; equations in rectangular coordinates.
  5. How to add consant to the current image without destroying the existing content.

The program will have a UI that display a panel structure of buttons (Start, Pause/Resume/ Exit). It also displays the X and Y coordinates values showned in mathematical coordiantes of the point of the ball pen as it draws the curve.

curvedrawingofafunction's People

Contributors

randykoisa avatar

Stargazers

Balwinder Singh Hayer avatar

Watchers

James Cloos avatar

Forkers

balhayer

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.