Comments (8)
some xxxMode() are missing in index.js to restore all defaults.
I'm also trying to figure it out...
from fxhash-bridge.
@lunarean While you're at it, I would also suggest to move this line down to after all the style settings have been reset, just to be safe:
Line 151 in 71be0af
from fxhash-bridge.
Basically, move to right before here:
Line 163 in 71be0af
from fxhash-bridge.
I've narrowed it down to the drawBgTriangles()
function. By itself, it is able to cause problems. I don't immediately see why. I have to run now but will continue looking later if nobody else figures it out first.
fxhash-bridge/src/styles/lunarean.js
Lines 151 to 186 in e41d179
from fxhash-bridge.
Sorry about this, investigating it
from fxhash-bridge.
Reset strokeWeight in index ?
p5.strokeWeight(1)
Resetting pixelDensity would also be a good idea:
p5.pixelDensity(window.devicePixelRatio)
from fxhash-bridge.
Warning: resetting pixelDensity cleans the canvas :)
https://github.com/processing/p5.js/blob/v1.4.1/src/core/environment.js#L598
from fxhash-bridge.
Reset strokeWeight in index ? p5.strokeWeight(1)
Resetting pixelDensity would also be a good idea: p5.pixelDensity(window.devicePixelRatio)
nice! resetting strokeWeight seems to fix it
I can submit a fix adding those two lines to index.js
from fxhash-bridge.
Related Issues (20)
- Aqw_Zert style interacts with other styles HOT 3
- bfos style is not dimension-less HOT 3
- nobody style is not dimension-less HOT 2
- @ada-ada-ada-art style is not dimension-less HOT 1
- frederative style is not dimension-less HOT 3
- david-esq style is not dimension-less HOT 1
- Anaglyph-ic style is not dimension-less HOT 1
- @sa-azeem style is not dimension-less
- phil_osophie style is not dimension-less HOT 1
- Makio64 style is not dimension-less HOT 1
- mandyBrigwell style is not dimension-less HOT 6
- Ada Ada Ada style is not dimension-less HOT 2
- JeresStyle style is not dimension-less HOT 2
- Devnull style is not dimension-less HOT 2
- RVig style is not dimension-less HOT 1
- bfos style is not dimension-less
- David Esq style is not dimension-less HOT 1
- shuhblam style is not dimension-less
- Gorik style is not dimension-less
- mandyBrigwell style is not dimension-less #2 HOT 3
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 fxhash-bridge.