4 ms·
I have a Python script to generate these kinds of images if anyone is curious: https://github.com/leoadberg/UnknownPleasures https://github.com/leoadberg/Unknow
by ladberg 4y ago
I have a Python script to generate these kinds of images if anyone is curious: https://github.com/leoadberg/UnknownPleasures https://github.com/leoadberg/UnknownPleasures
- harry8 4y agoThere's an xscreensaver as well fwiw You'll have to cut and paste the below link because JWZ has been slowly morphing into someone as easy to get on with as RMS in many respects. https://www.jwz.org/blog/2018/12/xscreensaver-5-41/ https://www.jwz.org/blog/2018/12/xscreensaver-5-41/ edit: maybe not? Maybe the link is clickable without silliness nowadays?
- nl 4y agoNo, still blocked. Incognito mode blocks referrer though.
- justinator 4y agoWith all due respect, I don't think anyone has alleged the JWZ of sexual misconduct https://geekfeminism.fandom.com/wiki/Richard_Stallman https://geekfeminism.fandom.com/wiki/Richard_Stallman
- cpach 4y agoI don’t believe that anyone has tried to imply that.
- SyzygistSix 4y ago>because JWZ has been slowly morphing into someone as easy to get on with as RMS Slowly?
- sangnoir 4y ago> You'll have to cut and paste the below link because JWZ has been slowly morphing into someone as easy to get on with as RMS in many respects. This is incredibly uncharitable. Everyone has one or more communities they dislike - especially when they send a certain type of traffic your way - for jwz, HN is on his "no thanks" list. As for why, I can think of a few reasons why an old school hacker like jwz may dislike "Hacker News" and its values/ethos.
- harry8 4y agoCheck out his public complaint that "signal leaks his phone number" and moxie's patient, thorough explanations and what followed, including the re-editing the original post. jwz is totally allowed to be as bigger ass as he likes with my blessing. So can rms. To eachother even. It's happened! Both are difficult to get on with. So what? So that's a factor in why you get a hairy testicle in an eggcup linking to jwz.org from this site. Hardly a big deal really and you're entitled to disagree and think the testicle and ranting is lovely. Not sure why you're taking offence about my pointing it out but you're entitled to for sure.
- nl 4y agoThis is really interesting. How did you get the "A map of the world with elevation" out of it? I've got the install working (this is my requirements.txt): contourpy==1.0.7 cycler==0.11.0 fonttools==4.39.3 imageio==2.27.0 kiwisolver==1.4.4 lazy_loader==0.2 matplotlib==3.7.1 networkx==3.0 numpy==1.24.2 packaging==23.0 Pillow==9.5.0 pyparsing==3.0.9 python-dateutil==2.8.2 PyWavelets==1.4.1 scikit-image==0.20.0 scipy==1.10.1 six==1.16.0 tifffile==2023.3.21 But when I run python main.py images/world_elevation.jpg the image it generates is nothing like what you have (even if I play with the sliders)
- bare_dev42 4y agoYou have to reduce the value of noise. I got similar results with a noise level below .4
- V1ndaar 4y agoFor anyone wondering: these kind of plots are sometimes still called "joyplots", but more and more commonly referred to as "ridgeline plots". Many plotting libraries have support for them nowadays, some more 'native support' than others. For ggplot2 there's ggridges [0], the seaborn docs have an example here [1] or in my own ggplot2 inspired lib for Nim [2] it's built in: [0]: https://cran.r-project.org/web/packages/ggridges/vignettes/introduction.html https://cran.r-project.org/web/packages/ggridges/vignettes/i... [1]: https://seaborn.pydata.org/examples/kde_ridgeplot https://seaborn.pydata.org/examples/kde_ridgeplot [2]: https://github.com/Vindaar/ggplotnim/blob/master/recipes.org#ridgeline-plots https://github.com/Vindaar/ggplotnim/blob/master/recipes.org...
- btbuildem 4y agoYup. At some point there was a storm in a teacup in the dataviz community about the name of the plot, because someone discovered the plot, discovered Joy Division, and learned of the origins of the name -- then immediately had to get offended and mount a crusade about it. Luckily, "ridgeline" does describe the plot type quite well, maybe even better than "joyplot".
- thegabriele 4y agoHi, what's an "heightmap image" you're referring on the github page? I don't understand what kind of input it expects. Thanks
- nl 4y agoThere's two examples in the images subdirectory
- thegabriele 4y agoYes, but to me it's just a white rectangle inside a black one https://raw.githubusercontent.com/leoadberg/UnknownPleasures/master/images/basic.png https://raw.githubusercontent.com/leoadberg/UnknownPleasures... Or just a silhouette https://github.com/leoadberg/UnknownPleasures/blob/master/images/california.png https://github.com/leoadberg/UnknownPleasures/blob/master/im... ..so i was wondering if i was misunderstanding something.
- nl 4y ago> white rectangle inside a black one White means "high", black means "low" > Or just a silhouette Lighter shades mean higher
- fileeditview 4y agoUsually a heightmap is x,y grid (2d array) with values between 0 and 255 which represent a grey scale value. Sometimes these values could also be -1 to 1 or 0 to 1 or something similar.
- Gordonjcp 4y agoI wrote a thing for it to generate images based on SRTM data, for drawing "Joy Division T-shirt" logos of islands. It worked pretty well but I never got round to having the T-shirts printed. https://onlyfandans.com/skye.jpg https://onlyfandans.com/skye.jpg
- mkl 4y agoMe too: https://news.ycombinator.com/item?id=5729268 https://news.ycombinator.com/item?id=5729268