disjukr / croquis.js Goto Github PK
View Code? Open in Web Editor NEWHTML5 drawing tool library
Home Page: https://croquisjs.0xabcdef.com/example/common-brush
HTML5 drawing tool library
Home Page: https://croquisjs.0xabcdef.com/example/common-brush
This looks nice. But if I If I yarn install and try to import stuff from this npm package, I get:
Cannot find module 'croquis.js' or its corresponding type declarations.
That's because the TypeScript compiler apparently concludes the .js
ending that it should import from a the file ./croquis.js
in the current directory.
Does this library support brush tilt angle?
Also, is there a way to adjust hardness?
these are common photoshop features.
Thanks!
reboot 이전 커밋: 0b8d857
jquery based로 다시 작성.
고려해야할 부분:
iframe
으로 샌드박싱canvas
를 사용하므로 es5 feature를 마음껏 사용할 수 있다setInterval
트릭을 써야한다.Please consider allowing the argument to Croquis.Brush.setSize() to be a function that provides a brush size. This would allow one to make a brush that changes size as it is used. Currently it doesn't seem possible to change the brush mid-move.
Please consider allowing the argument to Croquis.Brush.setColor() to be a function that provides a color. This would allow one to make a brush that changes colors as it is used. Currently it doesn't seem possible to change the brush mid-move.
I am trying to implement a photoshop brush experience in the browser. This seems like a great tool. I am having trouble getting the hang of how to use this library. I would like to have similar data control like the common example. Maybe a bit more documentation would help.
what is the difference between the simple and common examples?
Thanks for creating this!
There is, for example hwapan
under /packages
... while I can figure out that the word means "drawing board", I still have no clue what the package is for 😅
I think it would be great to describe what packages are / what they do for anyone who stumbles upon this repo :)
P.S. thanks for generous "advertising" on stackoverflow, I found this repo and I'm planning to use it in my demo / game / learning tool thing :)
Project using croquis.js links didn't work
Thanks for implementing such a nice library i am facing one issue if you would help me then it would be great
On surface touch with Edge browsers, we are facing an issue. The whole window starts dragging with the touch and draw gesture.
it would be really nice if you solved this problem
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.