Comments (2)
@kala0606
Yes, that's right. It's how the library works. I can remove this behaviour, but I'd really suggest to avoid resizing the canvas if possible, because many other things can break.
My suggestion would be to use css resize, rather than canvas resize.
from p5.brush.
Got it. Thank you so much.
from p5.brush.
Related Issues (20)
- Validate input for brush name HOT 1
- Animations being very slow HOT 2
- Support for instance mode? HOT 8
- Can't save frames with CCapture.js HOT 3
- brush.point not working HOT 3
- Marker brushes rendering black-ish after canvas resize HOT 4
- Ability to modify flow lines while being drawn/determine points along flow lines HOT 3
- brush.circle is not working on 1.1 HOT 1
- Drawing multiple elements but they only display in chunks, not the moment they are drawn - buffering problem? HOT 2
- Instance mode not working HOT 2
- Why mask during colour mixing? HOT 2
- Error with brush.rect HOT 3
- Brush.fill() doesn't respect p5 clipping HOT 2
- Marker/Marker2 Crashes on Buffer with WEBGL Errors HOT 1
- Processing desktop version? HOT 3
- A series of bugs/enhancements that need solving
- Arc Support HOT 2
- Issues when attempting to rotate() HOT 3
- Publishing to NPM / support for Typescript? HOT 12
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 p5.brush.