GithubHelp home page GithubHelp logo

coldiv / drawingboard Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 284 KB

A small web application which lets you draw images on a canvas.

Home Page: https://art.cldv.org/

License: MIT License

HTML 19.54% Python 14.84% JavaScript 36.91% CSS 28.71%
canvas draw drawing drawing-board drawingboard flask gallery javascript python

drawingboard's People

Contributors

coldiv avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

drawingboard's Issues

save backups to localstorage

Not sure how exactly this should be implemented.
The idea is to regulary save the image to localstorage so that the user does not lose all the progress when he accidentally closes the tab.

verify button

Add a verify button to the admin index view so that you can easily review images (verify or delete)

cleanup style.css

I don't think I need SCSS or something like that for this small project.
Still, the style.css is messy. It has no proper structure and it's really hard to find stuff.
Those things should be fixed, maybe add some comments as well to organise the css a bit better.

load images on scroll

by default only a limited amount of images should load
on scroll down new images should load

replace unicode icons with svgs

The toggle button on the lower right has unicode icons in it, those should be replaced by SVGs to look the same on every device and not have colors in it.

bug on iphone 13 safari (newest?)

on iphone 13 with (probably) the newest safari version there is a bug where the canvas just doesn't seem to look right.
I suspect it's due to the undo-function and might be fixed when that has been rewritten properly.

but then again... it's safari.

image

loading animation on save

the loading animation on save is not positioned correctly
it appears at the left side of the website

filter by date

allow the user to filter the gallery by date (year, year + month and year + month + day)

implement share link

A link which leads directly to an image. Either in a lightbox as if you had clicked on it or in a separate page where you can just see the image and a button / link to get back to the drawing board.
The link should be accessible from within the lightbox of an image.

permalink on new created images

When a new image is saved it will have a permalink which has no id.
It should either be hidden like the report button or have an id (also it's on the right side instead of the center)

cleanup script.js

the script.js is a mess.
clean it up, get rid of unnecessary comments and re-structure it so it makes sense.

add delay before undo interval

when pressing the undo button it should first undo once, then have a small delay before undoing as part of the interval.
I feel like this should be done after the cleanup #7

wrong color on locked pallete change

when the color is locked and the pallete changes, it shows the correct color but draws in the color before the one that is being shown.
it works again after clicking the color (the currentColor container stays the same but it selects the correct color)

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.