For further actions, you may consider blocking this person and/or reporting abuse
Read next
Experimento de Expansão da Consciência com Inteligências Artificiais
Gurigraphics -
How do you manage tasks when you have a lot of todos?
Syakir -
Show us your open-source Project
Antonio | CEO at Litlyx.com -
Up and down again: A missing feature in front end event propagation?
𒎏Wii 🏳️⚧️ -
Top comments (10)
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
how come the colliding one is all white here but when edit on copepen it has colors
There’s a known issue with the canvas blurred, the feature is still under development, about infection timers and the pause on blur feature
The issue should be fine now, thanks for reporting
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.
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
This is so reminiscent of the coding train
This week I learned the power of getattr in python. I am using an API that returns an object that is not subscriptable. Attributes are accessed with
.thing
for instance. Its really nice that it tab completes, but it makes it really hard to loop through and access 10 items. I learned that you can get to them dynamically with getattr.The backend library essentially looks like this.
It gets instansiated with a dictionary.
You can ask for individual items by dot notation, and tab completion works.
but it's not subscriptable
So how do you dynamically access it by a string? The answer is getattr!
Python is such a wonderful and hackable language
This week I learned about how to create a simple react app which will fetch & show data from an API.
Also learned about deploying a react app to netlify.
Here's the result - covid-19-indian-tracker.netlify.app/
Vue slot can be used for multiple layouts.
SQLite PRAGMA functions generate a table, that can be selected.