News for hackers. Stuff that matters.

gnykka

Show HN: I Made a Visualization of MoMA Artists of 20 Century

https://gnykka.io/moma-artists

I took the official dataset (1) from MoMA and visualized the artists who have at least one drawing in the museum's collection and lived in 20 century.The X axis represents the year of birth, Y — lifespan, size — count of works, color — gender.(1) https://github.com/MuseumofModernArt/collection/tree/master

( Read More... | no comments | on HN )
Thanks! Yes, you are right. Whitelist or blacklist option is a good idea
I simply loved the examples on paper.js webpage and just wanted to try it
Actually I made a switch at first as I started with Two.js and there are 3 types (svg, canvas and webgl). But then there was Paper.js which only had simple canvas so I removed the switch at all and used the fastest renderers for every engine (webgl or canvas).
I wasn't thinking about this as a menu, this are just links to switch between renderers. Count saving is a good point, I'll add this feature
I made a change to loops to use for() cycle, thanks
Good point. Usually I like to use map or reduce for arrays but here simple for is easier.
My point was more to compare libraries than to create the best canvas performance. But you are right: simple plain canvas is usually pretty fast.
WebGL is the fastest for now. But not all libraries and browsers support it
Yes, I agree. I also found out that Two.js redraws 5k elements even a little bit faster but it takes a couple of seconds to render them for the first time.