Took a little work (models weren't great back then) and a few trips down rabbit holes exploring Hopf tori, but I ended up using Python in Grasshopper/Rhino for the implementation.
This is neat, but Dual EC, the "backdoored curve", isn't a curve at all; it's a random number generator keyed with a public key (the backdoor is that there's a private key the government holds). There are no known backdoored curves, and the prospect of curve backdoors aren't why Bitcoin uses secp256k1 (Mike Hearn is on another thread talking about how he discussed this with Satoshi).
> 32 bit numbers feels off, when a register can fit two of them.
I’m in embedded. A register is 32bits wide. What are you talking about? Excuse me for a moment while I stuff my 8bit demons back under the floorboards where they belong.
The are no publicly acknowledged backdoored curves today; just a lot of hand-waving from the NSA and major tech companies (see Cloudflare's CEO's messages and the Chrome announcements) that obliquely raise serious concern they are about to acknowledge something very close to this.
Curious minds are curious I wonder what it means for bitcoin in general :)
"secp256k1, Satoshi Nakamoto, and the NSA backdoors
I chose to plot secp256k1 because this elliptic curve is even more curious than the others.
Almost everybody used the officially recommended curve, P-256. One of its constants comes from a seed that the NSA supplied without explanation, and cryptographers had questioned that in public since 1999. In 2007, two Microsoft researchers showed that another NIST standard built on elliptic curves could hide an NSA backdoor.
Two years later, Satoshi Nakamoto picked secp256k1, a curve almost nobody used, with no unexplained constant in it.
They never said that this was the reason. Asked about it in 2011, they wrote: "I didn't find anything to recommend a curve type so I just... picked one.""
> Almost everybody used the officially recommended curve, P-256. One of its constants comes from a seed that the NSA supplied without explanation, and cryptographers had questioned that in public since 1999. In 2007, two Microsoft researchers showed that another NIST standard built on elliptic curves could hide an NSA backdoor.
"without explanation" seems odd since the scientific community doesn't usually just take somebody's word for it. Could the seed exploit some secret mathematical weakness?
Elliptic curves fell out of the elliptic integral, which is the math you use to calculate the arc length of an ellipse. When they were working on solving elliptic integrals using elliptic curves, it turns out they had other uses besides calculating an ellipse's arc length, but the name stuck.
There's an additional wrinkle when you start talking about elliptic curve cryptography. We actually use elliptic curve finite fields. Not only do we exclude all non-integer solutions, but we do the math modulo N. This completely blows up anything that makes it look like a nice curve on a Cartesian plane. It's just a handful of dots at some of the integer coordinates that when you look at them don't appear to have any rhyme or reason. Elliptic curves are neither ellipses nor curves.
So where's the pen plot? The title is just a clickbait headline for a tangential rant.
For people who actually care about the plot, you can't actually plot it because part of what makes the curve work for cryptography is that it's unpredictable. You can plot it for real numbers, but that wouldn't be representative of how it's actually used, and if you plot the field instead, you'd get a bunch of random dots:
Unfortunately, that paper doesn’t actually explain how they’re generated, finishing with:
> A Gallery of Elliptic Curves over Finite Fields
> At this point in the story, our training as mathematicians compels us to explain precisely how we’re using Galois theory to make our pictures, and how we know our method always works. We will answer these questions in a later work, and for now, content ourselves with sharing the end result of our labor: new illustrations of elliptic curves over finite fields, living inside the ghost of the complex elliptic curve that once gave birth to it.
The images are AI-generated "artists interpretations" of random spheres and wireframes, like you'd get if you asked AI to draw cyberspace or some other abstract concept. They are not the curve. And the fact the author doesn't even acknowledge this makes me suspect the website is an automated slop factory.
Do you disagree that the equation y² = x³ + 7 can be plotted as a 3d torus? I definitely didn’t follow the math in the paper, but it seemed reasonable to me.
Or are you asserting that the torus drawn is not the correct torus for that equation? Or that those wireframes don’t depict a torus at all?
The spheres on the torus, as far as I understand it, are the points that represent elements from a specific finite field.
It seems reasonable to me that you could create a 3d image of this torus, with a set of points drawn on its surface, and then take some artistically chosen views of that object & draw them in 2d. And I’d be willing to believe that parameters in that pipeline could be manipulated to create #3.
I don’t see any claims that this visualizes the cryptography behind bitcoin, just that this 3d object was generated from the same elliptic curve (y² = x³ + 7) that bitcoin uses.
From my brief exposure to pen plotter art, it’s not uncommon to use math to generate plots, or plots of mathematical things. So as an artistic rendering, this looks reasonable to me.
Nothing about the images seems to in any way resemble an elliptic curve. I just assumed this was claude slop given that the curves as used
just look like noise, not even a curve.
There’s certainly a powerful Claudish streak throughout the work… from the plotter store, for example:
> Every sphere sits where the mathematics puts it, and the differences in size come from the projection, not from me. Each version is the same curve seen another way: another prime, another number of lobes, another point of view. The torus is always Bitcoin's.
The plots are very pretty, though I’m not sure I exactly follow how they relate to ECC in the limited sense I understand its math…
The artistic approach here is RIGHT up my alley as someone who glazes / romanticizes math and computer science concepts as a means towards understanding.
I like the visual representations, and the way they make me feel, a lot.
Beautiful work!
I was also taken by Hajouji and Trettel's work (https://elliptic-curves.art) when it came out last year, and ended up creating a pair of sterling silver pins from it (without the spheres for finite representation) — https://storage.hturan.com/site/elliptic-spirals/1.1761.b5df....
Took a little work (models weren't great back then) and a few trips down rabbit holes exploring Hopf tori, but I ended up using Python in Grasshopper/Rhino for the implementation.
excellent! I was thinking it would make great jewelry as well!
This is neat, but Dual EC, the "backdoored curve", isn't a curve at all; it's a random number generator keyed with a public key (the backdoor is that there's a private key the government holds). There are no known backdoored curves, and the prospect of curve backdoors aren't why Bitcoin uses secp256k1 (Mike Hearn is on another thread talking about how he discussed this with Satoshi).
> prospect of curve backdoors aren't why Bitcoin uses secp256k1
Even if it was a random choice, secp256k1 was built for 64 bit & P-256 was made for a 32 bit world.
32 bit numbers feels off, when a register can fit two of them.
Purely at the word boundary positions, you can see that the carry entropy for secp256k1 is way higher than P-256 had.
> 32 bit numbers feels off, when a register can fit two of them.
I’m in embedded. A register is 32bits wide. What are you talking about? Excuse me for a moment while I stuff my 8bit demons back under the floorboards where they belong.
The are no publicly acknowledged backdoored curves today; just a lot of hand-waving from the NSA and major tech companies (see Cloudflare's CEO's messages and the Chrome announcements) that obliquely raise serious concern they are about to acknowledge something very close to this.
https://www.theregister.com/security/2026/12/04/google-mozil...
Curious minds are curious I wonder what it means for bitcoin in general :)
"secp256k1, Satoshi Nakamoto, and the NSA backdoors I chose to plot secp256k1 because this elliptic curve is even more curious than the others.
Almost everybody used the officially recommended curve, P-256. One of its constants comes from a seed that the NSA supplied without explanation, and cryptographers had questioned that in public since 1999. In 2007, two Microsoft researchers showed that another NIST standard built on elliptic curves could hide an NSA backdoor.
Two years later, Satoshi Nakamoto picked secp256k1, a curve almost nobody used, with no unexplained constant in it.
They never said that this was the reason. Asked about it in 2011, they wrote: "I didn't find anything to recommend a curve type so I just... picked one.""
> Almost everybody used the officially recommended curve, P-256. One of its constants comes from a seed that the NSA supplied without explanation, and cryptographers had questioned that in public since 1999. In 2007, two Microsoft researchers showed that another NIST standard built on elliptic curves could hide an NSA backdoor.
"without explanation" seems odd since the scientific community doesn't usually just take somebody's word for it. Could the seed exploit some secret mathematical weakness?
That's the suspicion, yes.
No longer, I think? -> https://letsencrypt.org/2026/10/29/good-day-cryptography
How do the images relate to the curves? Like what part is mathematical and what part is artistic interpretation?
Huh, neat. I always thought an elliptic curve was, like, an ellipse. This is way more interesting.
Elliptic curves fell out of the elliptic integral, which is the math you use to calculate the arc length of an ellipse. When they were working on solving elliptic integrals using elliptic curves, it turns out they had other uses besides calculating an ellipse's arc length, but the name stuck.
There's an additional wrinkle when you start talking about elliptic curve cryptography. We actually use elliptic curve finite fields. Not only do we exclude all non-integer solutions, but we do the math modulo N. This completely blows up anything that makes it look like a nice curve on a Cartesian plane. It's just a handful of dots at some of the integer coordinates that when you look at them don't appear to have any rhyme or reason. Elliptic curves are neither ellipses nor curves.
I was skimming through the images and though about asking for a print version. Happy to see this is actually an option! Great!
More like plots (check the videos on my shop). Otherwise feel free to contact me we’ll sort something out.
Even better than plain prints.
So where's the pen plot? The title is just a clickbait headline for a tangential rant.
For people who actually care about the plot, you can't actually plot it because part of what makes the curve work for cryptography is that it's unpredictable. You can plot it for real numbers, but that wouldn't be representative of how it's actually used, and if you plot the field instead, you'd get a bunch of random dots:
https://bitcoin.stackexchange.com/questions/21907/what-does-...
I saw several images attached to the post, were they missing for you?
I believe the rebuttal to your stack exchange link is the paper that OP links to: https://arxiv.org/abs/2505.09627
Unfortunately, that paper doesn’t actually explain how they’re generated, finishing with:
> A Gallery of Elliptic Curves over Finite Fields
> At this point in the story, our training as mathematicians compels us to explain precisely how we’re using Galois theory to make our pictures, and how we know our method always works. We will answer these questions in a later work, and for now, content ourselves with sharing the end result of our labor: new illustrations of elliptic curves over finite fields, living inside the ghost of the complex elliptic curve that once gave birth to it.
The images are AI-generated "artists interpretations" of random spheres and wireframes, like you'd get if you asked AI to draw cyberspace or some other abstract concept. They are not the curve. And the fact the author doesn't even acknowledge this makes me suspect the website is an automated slop factory.
I don’t have a stake in this, I’m just curious.
Do you disagree that the equation y² = x³ + 7 can be plotted as a 3d torus? I definitely didn’t follow the math in the paper, but it seemed reasonable to me.
Or are you asserting that the torus drawn is not the correct torus for that equation? Or that those wireframes don’t depict a torus at all?
The spheres on the torus, as far as I understand it, are the points that represent elements from a specific finite field.
It seems reasonable to me that you could create a 3d image of this torus, with a set of points drawn on its surface, and then take some artistically chosen views of that object & draw them in 2d. And I’d be willing to believe that parameters in that pipeline could be manipulated to create #3.
I don’t see any claims that this visualizes the cryptography behind bitcoin, just that this 3d object was generated from the same elliptic curve (y² = x³ + 7) that bitcoin uses.
From my brief exposure to pen plotter art, it’s not uncommon to use math to generate plots, or plots of mathematical things. So as an artistic rendering, this looks reasonable to me.
Nothing about the images seems to in any way resemble an elliptic curve. I just assumed this was claude slop given that the curves as used just look like noise, not even a curve.
There’s certainly a powerful Claudish streak throughout the work… from the plotter store, for example:
> Every sphere sits where the mathematics puts it, and the differences in size come from the projection, not from me. Each version is the same curve seen another way: another prime, another number of lobes, another point of view. The torus is always Bitcoin's.
The plots are very pretty, though I’m not sure I exactly follow how they relate to ECC in the limited sense I understand its math…
Please check the linked paper in the blog or at https://elliptic-curves.art/
This is exactly the same paper that the person you're responding to is discussing…
I took was frustrated by this, especially with no explanation what was plotted and how.
I was prepared for him to say this is what the curve looks like over the reals (mod p) but I have no idea what this is.
oh well, I should have definitely put a video of the pen plots. It's running and will be uploaded in a couple of hours on the shop.
As for the methodology, please read the original paper at https://elliptic-curves.art/
This is what I directed Claude to implement.
This is pure slop. No elliptic curves are plotted here, it's just some AI generated drawings of spheres and meshes.
The 4th image at the bottom corresponds to image # 2. The hyperlink is missing.
https://shop.harmonique.one/products/secp256k1-002
ah! sorry about that. I was in a rush and was hit by a bug in my cms. will fix it over the week-end.
The artistic approach here is RIGHT up my alley as someone who glazes / romanticizes math and computer science concepts as a means towards understanding.
I like the visual representations, and the way they make me feel, a lot.
Thank you so much for your comment!
Beautiful!
Thank you!
Superb!
Thank you!