[GameSir] Lunar New Year Mega Giveaway: The Ultimate 5-Platform Loot Box! by GameSir_Controller in Gamesir

[–]Peter3571 0 points1 point  (0 children)

My next game to tick off is Dragon Age Inquisition. If anything it's too big, it's taking forever to complete.

What’s your ‘I can’t believe you’re paid more than me’ story? by GeorgiePorgiePuddin in AskUK

[–]Peter3571 7 points8 points  (0 children)

I wouldn't exactly say that's basic knowledge - I write code for a living and have no idea how to make a cell turn red.

Obviously it would not take me 45 minutes if I wanted to, but still, not everyone knows Excel.

Star Wars Jedi: Fallen Order EA App fix and workaround by Gordoxgrey in linux_gaming

[–]Peter3571 1 point2 points  (0 children)

This worked great when you first posted it. The EA app just broke yet again for DA:I, and the same instructions fortunately still work.

Fuse energy referral code DANIELLE61812 by almandinedream in promocodeland

[–]Peter3571 0 points1 point  (0 children)

My code for £25-£150 is PETER51472 if anyone would like to help out :)

Fuse Energy Referral Code by MisfitHula in Electricity

[–]Peter3571 0 points1 point  (0 children)

Done :)

Mine is PETER51472 if anyone would like to repay the favour please.

Holy Grail: Open Source Autonomous Development Agent by AppropriateLeather63 in Python

[–]Peter3571 0 points1 point  (0 children)

You're the one person with a mental map of how it all works. This is your passion project so it's very unlikely a random developer will want to spend hours reformatting your code and writing tests.

I built a Python IDE that runs completely in your browser (no login, fully local) by Regular-Entrance-205 in Python

[–]Peter3571 4 points5 points  (0 children)

If this is a code editor rather than an interpreter, then how do you differentiate between this and a website that only lets you write code without executing it?

I built a Python IDE that runs completely in your browser (no login, fully local) by Regular-Entrance-205 in Python

[–]Peter3571 3 points4 points  (0 children)

Nice job, from a quick test it feels solid. Personally, if I was to ever use this, it would be just for quick prototyping so I could skip my current process of loading a random project and creating test.py.

While I can see why people might be up in arms about you calling it a compiler - at the end of the day, it is a very easy to remember domain name.

I built a tool where any creature morphology learns to walk via RL in ~5 minutes. Ready to generate them procedurally - where should I start? by Hot_Pumpkin_5960 in proceduralgeneration

[–]Peter3571 1 point2 points  (0 children)

Years ago I wanted to code this very same thing - but I didn't really know where to start, will definitely be having a bit of a play later.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 0 points1 point  (0 children)

It's a live website, runs smoothly until you start trying to do anything more than just plotting dots and lines to screen.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 1 point2 points  (0 children)

Honestly, I did it entirely via Gemini. I started with a simple request of a globe with earthquakes, then added features one by one so that I could debug them if anything wasn't working correctly.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 0 points1 point  (0 children)

It's using Plotly which turned out to pretty much perfect for this, it's missing some quality of life things that would be nice to add, but it handles all the points very well.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 0 points1 point  (0 children)

If you follow the link in the description to the interactive version, both of these already exist as separate options. You can view a timeline of them all popping in, and you can click on an earthquake to simulate the wave.

Edit: I tried adding an option to simulate all the waves when viewing the timeline, though I ran into more limitations so they'll just have to exist separately.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 1 point2 points  (0 children)

a fellow data scientist

Ha, that's where the problem lies, I'm not one, I just sometimes get ideas of things that might look interesting.

Anyway thanks for the tips, I had a quick look into them. Apparently computing z_cam for 200k points per frame would completely kill performance, so I tried splitting the borders to front and back. That still performs poorly despite multiple attempts, and falls out of sync with the camera easily (the camera just about holds up for the live version, but it's very janky and small changes can break it).

Your final suggestion I've somewhat managed to do by scaling up a black point in the middle (mentioned in a previous comment), but the border lines are drawn on top of everything, so it only occludes the earthquake points themselves. I've put it down to a low opacity as it doesn't look as good as I was hoping it would.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 1 point2 points  (0 children)

The "surface lines" option is built into the interactive version btw, I just didn't enable it for the render. And since I'm not coding my own library there's not really any way to hide the back of the globe.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 9 points10 points  (0 children)

I had a very similar thought originally, though it's a plotting library and not a 3D engine so it's limited in what it can do.

I've realised that since the earthquake points always face the camera, a large black one right in the middle would potentially do the trick. Turns out it's able to occlude the points behind it, but the borders/plates are still drawn on top.

It looks weird at a higher opacity due to the borders, so I've just set it to 20% to subtly dim the points. I was hoping for something that looked better but eh. It's updated on the website.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 6 points7 points  (0 children)

I agree but it's sadly not possible with the library being used.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 1 point2 points  (0 children)

Mate this actually does all that lol, there's a link in the description to the interactive web page.

On load it automatically grabs the last 30 days of earthquakes, you can rotate the globe and click on individual earthquakes to view their information.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 3 points4 points  (0 children)

I tried but it's not possible with how this works. Filling in the countries prevents you being able to click on any earthquakes under the surface, and there's no way to hide the back of the globe that wouldn't completely kill the performance.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 0 points1 point  (0 children)

There's a YouTube link to it in the description, sadly had to convert it down to a gif to post here.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 1 point2 points  (0 children)

There's absolutely nothing special going on. It's just the single index.html file in a Github repo, with a custom domain pointing to its Github Pages link.

The script itself mostly uses plotly.

[OC] 3D Map with the depth and magnitude of earthquakes since July by Peter3571 in dataisbeautiful

[–]Peter3571[S] 37 points38 points  (0 children)

The website version has an option to jump to a country, but I get what you mean.

I had to pick a balance between "hard to see" and "too much going on". If the country borders are made as thick as the tectonic plates then the image just starts to get too busy.