I've been spending time wondering why implementing panning/zooming on a polar #graph was so much more fiddly than I expected
#software #engineering: I wasn't expecting so many weird corner cases, so I reacted to them too late. If I rewrote the code, it would probably be simpler
#math: I think this is really the big one. I was talking with one of the kids and they pointed out that a panned/zoomed cartesian graph is just another cartesian graph, but a panned/zoomed polar graph isn't.
(I *think* what they mean is that pan/zoom are affine transforms in a cartesian graph. Even if the axes are sheared, this is still pretty simple. In polar coordinates this isn't true anymore. But maybe "affine" isn't what I mean or care about. Maybe it's more about self-similarity.)
If that is what's going on, I'm not sure what to do with that information.
What if I converted polar into a wrapped cartesian (i.e. cylindrical) graph, panned/zoomed, then converted back...? That probably doesn't help, since the zoombox also has to transform.
I covered the results of elections for the US Senate.
https://jasonbeets.blogspot.com/2025/01/republicans-win-senate-control.html
9/x
**One-third of cars on the road in Norway are now electric**
"_Almost every new car sold in Norway is electric. Hardly anyone buys a combustion engine car anymore._"
https://ourworldindata.org/data-insights/one-third-of-cars-on-the-road-in-norway-are-now-electric.
A while ago I created my own polar #graph (θ,r but also built az,el on top of that) inside the excellent #pyqtgraph (#python)
I also implemented a spaced tick computation similar to the one it uses. However, I didn't make it work in zoom for lack of time
I got a bug report about how the ticks/grids/labels "disappear" during zoom (i.e. stay at a larger scale while the zoom goes inside) so I thought I'd just fix that
This turns out to be non-trivial. Or at least I can't think of a simple way to do it
I was getting the xy coords of the corners of the zoombox and computing the θ,r to figure out where I was. That doesn't really work, tho. Imagine the zoom box just to the right of 0,0: θ->0,180. Now imagine it just barely containing 0,0: θ->0,360.
I think I need to measure angles from 0,0 but that means....uh....I need a whiteboard and some rubber duckies. I wish my nerd kids were awake at this hour...
#StateOfTheGraph, a personal #Logseq #graph evolution.
July 15th 2025: 751 nodes & 1043 links.
In 2024, Republicans gained two seats in the Kansas Senate.
Republicans have held a supermajority in the Kansas Senate since at least the 2004 elections.
39/x
Republicans gained three seats in the Kansas House in 2024.
16/x
Google #Research "#Graph #foundation models for #relational #data"
Useful for training and uaing graph based #ML/#AI models.
https://research.google/blog/graph-foundation-models-for-relational-data/
i created a graph in VirusTotal for `ingrammicro.com` and i'm still browsing but couldn't help but notice this sticking out `plus98rus.iso`
there's probably junk in here but if you're curious what i'm looking at here it's public. let me know if you make it more suitable for speculating about what is going down over there please: https://www.virustotal.com/graph/embed/g1e33259ac101490a8301ed9b8649e115e4c4f64719eb4b2187fb485068f80e35
something tells me it wasn't actually the Plus Pack! for windows 98.
One day, one decomposition
A000069: Odious numbers: numbers with an odd number of 1's in their binary expansion
3D graph, threejs - webGL https://decompwlj.com/3Dgraph/Odious_numbers.html
3D graph Gen, threejs animation https://decompwlj.com/3DgraphGen/Odious_numbers.html
2D graph, first 500 terms https://decompwlj.com/2Dgraph500terms/Odious_numbers.html
Via https://mastodon.social/@Datagraver/114720532921773038 but more readable graph.
Up to 2024.
Another #graph, showing how it's wasteful to shut off a productive deep space mission (New Horizons). The main costs have already been paid.
From a June 9 Michael Hiltzik article all over the internet about "Trump's NASA cuts would destroy decades of science and wipe out its future," but the graph is credited to Planetary Society.
One day, one decomposition
A274357: Numbers n such that n and n+1 both have 8 divisors
3D graph, threejs - webGL https://decompwlj.com/3Dgraph/A274357.html
3D graph Gen, threejs animation https://decompwlj.com/3DgraphGen/A274357.html
2D graph, first 500 terms https://decompwlj.com/2Dgraph500terms/A274357.html
Now this animation is available for the 1000 sequences decomposed on my website.
Accessible from the 3Dgraph, 2Dgraph500terms and 2dgraphs pages https://decompwlj.com/
A little more work on axis sizing and controls.
4: The palindromes in base 10 (A002113) https://decompwlj.com/3DgraphGen/Palindromes.html
3: The triangular numbers (A000217) https://decompwlj.com/3DgraphGen/Triangular_numbers.html
2: The prime numbers (A000040) https://decompwlj.com/3DgraphGen/Prime_numbers.html
Generation of four sequences decomposed into weight × level + jump (log(weight), log(level), log(jump)) - three.js animation:
1: The natural numbers (A000027) https://decompwlj.com/3DgraphGen/Natural_numbers.html
Here’s Google search interest for “remove president” from 2020 to 2025.