Coder Social home page Coder Social logo

canvas's Introduction

Canvas: Go Nuts!

Canvas is a simple HTML5 web site depending on the HTML5 tag canvas developed for the course T-427-WEPO Web Programming by Darri Valgarðsson, Edda Steinunn Rúnarsdóttir and Sigurður Sturla Bjarnason.

Running the website

Simply open Canvas.html in any browser from the repository to run the webpage.

Possible Actions On Canvas

Various actions can be conducted on the Canvas of which all are fairly self-explanatory, especially since the canvas' function is quite analogous to popular websites and apps of this nature such as paintMS.

The Toolbar

A tool tip is provided for a better user experience for every tool. The tools are located on the left side of the canvas element and include the moving tool which gives user the ability an already drawn shape on canvas. The pen tool (freestyle drawing) gives user the ability to draw a freehand line across canvas and the line tool a straight line. The rectangle tool and the circle tool draws these shapes whose radiuses/sizes are determined by the distance of the position of the mouse-down user action and the position mouse was let go. A color picker tool is provided; one for stroke color and the other for fill color. All tools have their own options such as linewidth, whether to draw a fill shape or stroke shape or both, font size, etc.

Other Actions Possible

In additions to the toolbar tools, the user can undo and redo his or her action on the canvas, clear the canvas completely with the 'clear canvas button' and store the image on canvas to his or her local storage with the 'save' button. Canvas images stored to the local storage can then be retireved back on canvas with the 'load' button

Some Example Screenshots of the Website

alt text

alt text

alt text

alt text

canvas's People

Watchers

James Cloos avatar Edda Steinunn 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.