Comments (5)
oh, I thought about the pressure feature as well. Nice Demo! As improvement maybe disable the feature on pc or devices without the pressure function, because they are not able to draw a long thin line anymore :)
Thanks for your offer.
A refactoring would be nice. I personaly like apps where you don't need to build for every little change you make in the code. So don't know if we really need a build system for such a "small" project. Do you find it hard to add / change things in the project? Where do you see the biggest problems right now?
from whiteboard.
Thanks again 👍
from whiteboard.
I do like simplicity. Still, I personally prefer when things are a bit more modularized / in several files. Which requires some kind of a build chain with Javascript.
I see the following other advantages of having a JS build chain:
- Being able to use latest Js features (great for devs) while still transpiling to "older" Javascript for compatibility,
- Bundling your dependencies with your code,
- Outputting one single Js file so you are sure things are executed in the right order,
- Creating uniquely identified Js files so you don't have to worry about browser caching when releasing a new version.
Also with Javascript we should be able to have hot reloading so it wouldn't be necessary to reload the webpage or rebuild in dev.
If you are ok, I can take a bit of time to set up such a build chain for this project ; we shall see if we move forward with a bit of refactoring later.
from whiteboard.
ok, lets give it a try. Please keep it simple :)
from whiteboard.
Well, it took me a bit more time than I thought, but the result is here: #39
Even if I don't know how I could make it more complicated, I think it is fairly simple :)
from whiteboard.
Related Issues (20)
- image export only works in chrome HOT 2
- releases / latest vs dockerhub HOT 2
- User feedback HOT 3
- Download whiteboard as image not working HOT 2
- Backend Image upload HOT 2
- esbuild goes zombie on docker container HOT 2
- [feature request] Pan and Independent pen/eraser sizes HOT 7
- Problem to install in server VPS HOT 1
- whiteboard on a touchscreen.
- Upload image HOT 2
- Cannot save whiteboard as image HOT 5
- can not open in safari and some mobile browser HOT 3
- Get ink information HOT 3
- Launch within Laravel project HOT 1
- please cancel my commit change by mistake. HOT 1
- Is this legit? HOT 1
- Image is broken HOT 2
- Doesn't run on ec2 instance HOT 4
- WhiteboardAPI | Draw on the Whiteboard HOT 4
- Move canvas in read-only mod HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whiteboard.