Coder Social home page Coder Social logo

shoaibcodes / whiteboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caboodle-tech/whiteboard

0.0 0.0 0.0 1.23 MB

A standalone JavaScript backed web based whiteboard. As long as your browser or device supports canvas provide an ID to an element on your page and it will be transformed into a whiteboard.

License: MIT License

CSS 100.00%

whiteboard's Introduction

Whiteboard

Whiteboard is a (mostly) standalone JavaScript backed web based whiteboard. As long as a users browser or device supports HTML canvas elements you can transform any DIV element on a page into a whiteboard. For the best experience possible the whiteboard should fill the browser and be the only element on the page.

Seeing is Believing!

Check out the live demo to see whiteboard in action. The demo page is kept very minimal so viewing the source code should teach you all you need to know to get Whiteboard working for you.

Where are the source files!?

Everything you need is in the docs folder. If you plan to integrate Whiteboard into your own project this reference table will help:

File Where is it? What is it?
whiteboard.js docs/js/whiteboard.js This is the main app script.
katex.min.js docs/js/katex.min.js This is the library that takes LaTeX math and turns it into human readable math.
katex.css docs/css/katex.css KaTeX can't work without it's styles. This will also load the fonts from the font directory which should be in the same directory.
fonts* docs/css/fonts/* All the font files needed for KaTeX to work on as many browsers as possible.

Here is a handy guide to the rest of the files and directories in this GitHub repo and why we have them:

File Where is it? What is it?
rescources ./ Anything useful to whiteboards development but not needed in production.
FontAwesomeLicense.md ./ The license file for the free Font Awesome SVG icons Whiteboard uses.
LICENSE ./ Whiteboard's license file.

Getting Started

Once you have all the files as explained in the source files table or from the docs directory you only need two things:

  1. A DIV element on your page with an ID; and nothing else inside it.
<div id="page-wrapper"></div>
  1. JavaScript to kick everything off:
var board = new Whiteboard();
board.init( 'page-wrapper' );

Can I Help?

Yes you can! Whiteboard was developed with the mindset of helping teach University classes online; I developed this as a professor. If you share that vision, please help me grow and maintain whiteboard.

If you have other use cases for Whiteboard please feel free to add them and submit a pull request. As long as the changes don't make it hard for students to use Whiteboard it will probably get merged.

whiteboard's People

Contributors

blizzardengle avatar shoaibcodes 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.