Skip to content
Core library providing a drawing context for literallycanvas
JavaScript
Branch: master
Clone or download
jasoniangreen Merge pull request #10 from literallycanvas/docs/simple-example
docs: ✏️ add some more functionality to the simple example
Latest commit ad9626b Oct 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci chore: remove github status for now Oct 20, 2018
demo docs: ✏️ add some more functionality to the simple example Oct 29, 2018
src fix: 🐛 testing semantic release in circleci Oct 21, 2018
.babelrc feat: convert core to js and remove the rest Oct 13, 2018
.eslintrc.json chore: build stuff Oct 20, 2018
.gitignore chore: build stuff Oct 20, 2018
CHANGELOG.md chore(release): 1.0.1 [skip ci] Oct 21, 2018
CHANGES.txt v0.5.2 Jun 6, 2018
LICENSE Update copyright Nov 17, 2013
README.md docs: ✏️ add to dev instructions Oct 21, 2018
commitlint.config.js chore: build stuff Oct 20, 2018
package.json chore(release): 1.0.1 [skip ci] Oct 21, 2018
prettier.config.js style: ran prettier Oct 14, 2018
webpack.config.js chore: build stuff Oct 20, 2018
yarn.lock

README.md

Literally Canvas Core v0.6.0

Literally Canvas is an extensible, open source (BSD-licensed), HTML5 drawing widget. It has no external dependencies.

This is the core libary which provides an interface for drawing on the canvas.

Get help on our mailing list by sending an email to literallycanvas+subscribe@googlegroups.com or by visiting Google Groups.

Full documentation

Main Repo

Examples

Along with the CSS, JS, and image assets, this is all it takes:

<div class="literally"></div>
<script type="text/javascript">
  const drawingEl = document.querySelector('.literally');
  const lc = new LiterallyCanvas(drawingEl, {
    ...LiterallyCanvas.defaultOptions,
    defaultStrokeWidth: 10,
    backgroundColor: '#FFF',
  });
</script>

State of the project

No one is maintaining this project. If you report a bug, the ticket will be a helpful place for discussion, but no one will fix it unless you submit a pull request. Feature requests will likewise be ignored.

Pull requests will be merged promptly if they are basically OK.

Developing

Setup: yarn

Build and watch: yarn build:watch

Test and watch: yarn test:watch

Go to demo/simple.html to see a simple pencil drawing example.

You can’t perform that action at this time.