hodavidhara / cloudpalette_old Goto Github PK
View Code? Open in Web Editor NEWImage editing on the web.
Image editing on the web.
Implement a rectangle drawing tool.
The current algorithm is incorrect. We check when the top pixel is transparent black, and if so we place the bottom pixel into the new data array, if not we place the top pixel. While the algorithm is solid for completely opaque pixels, it does not take into account when pixels are transparent. If the top pixel is semi transparent and there is also a colored pixel below it, when is visible to the user is a blend of the two pixels, and what is visible to the user is what must be stored into the resulting pixel data array.
Research:
Fixes to be made to:
cloudpalette.js
mergeLayers() on line 100.
First, decide on the best way to implement the paintbrush tool between the two options:
If we go with the second route, we currently have a bug that draws a line across the canvas if you leave the mouse clicked down and move out of the canvas at one point and back in at another.
Look through jQuqery UI's modal form and use it for all current popups. Improve the new image popup by adding options to adjust the size of the image, and also whether the user wants the background transparent or solid white. Improve the save image so instead of opening in a new window, it appears as a popup with instructions to the user (right click > save image as...)
Image names need to be normalized before being used as classes for DOM elements. We need to remove spaces and symbols, as they break functionality.
Pretty self explanatory. Implement and test undoing and redoing actions made on the image.
When a canvas is inactive, it should not be able to be drawn upon. All events attached to the canvas (minus the event that makes the canvas active) need to be unbound whenever a canvas goes from the active to inactive state.
Implement functionality to allow user to draw with colors. Should be reusable for all tools that might need it. Create another toolbox that may be closed, or opened from the main menu.
add options for the width of the line when using the pencil tool.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.