DEV Community

Discussion on: What Did You Learn This Week --May 1?

Collapse
 
matteobruni profile image
Matteo Bruni

This week I learned something about noise generation to create something like this

I learned and implemented quad tree instead of spatial hashing but I still don't know what algorithm has the best performance.

I learned about canvas and retina/HiDPI screen, not from zero but I improved my knowledge.

I created other cool feature for particles, not really new things learned, but at least it was the first time for me to do these things

Collapse
 
waylonwalker profile image
Waylon Walker

This is so reminiscent of the coding train

Collapse
 
sunflower profile image
sunflowerseed

how come the colliding one is all white here but when edit on copepen it has colors

Collapse
 
matteobruni profile image
Matteo Bruni

There’s a known issue with the canvas blurred, the feature is still under development, about infection timers and the pause on blur feature

Collapse
 
matteobruni profile image
Matteo Bruni

The issue should be fine now, thanks for reporting

Thread Thread
 
sunflower profile image
sunflowerseed • Edited

ah, I actually like the all-white versions since that lets you see all the particles and collisions without being distracted by color change.

hee hee... and then this is the all-white version: codepen.io/winterheat/pen/RwWjxxR
screen saver: codepen.io/winterheat/pen/qBOVpoB
would be nice to have a background image but can't see it, but the bubbles can let you see through.

Thread Thread
 
matteobruni profile image
Matteo Bruni

If you want to explore almost all features you can checkout this collection: codepen.io/collection/DPOage

I keep it updated, about the background mask the feature was already done: codepen.io/matteobruni/pen/yLNvqxG