Tariq on Nostr: Until recently I didn't know about the "distance estimation method" for rendering ...
Published at
2023-12-23 18:52:45Event JSON
{
"id": "4bce517a0a61d24728de61d8b8084bf06326261fe95a6745b2f3ebbc0d24896e",
"pubkey": "340694a5c7115fe0918fe7ec9038786592e3804f1a0e457e3e09d03ecfdadc6b",
"created_at": 1703357565,
"kind": 1,
"tags": [
[
"t",
"maths"
],
[
"t",
"fractals"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/rzeta0/statuses/111631241444665015",
"activitypub"
]
],
"content": "Until recently I didn't know about the \"distance estimation method\" for rendering Mandelbrot and Julia fractals.\n\nI'm still no expert but the idea is that the gradient of the orbit of z under z^2+c is higher closer to the set. \n\nThe traditional \"escape\" method can miss very fine sub-pixel details\n\n#maths #fractals #python\n\nHere is an example image rendered by very simple code:\n\nhttps://github.com/makeyourownmandelbrot/Second_Edition/blob/main/DEM_Mandelbrot.ipynb\n\nhttps://github.com/makeyourownmandelbrot/Second_Edition/blob/main/DEM_Julia.ipynb\n\nhttps://files.mastodon.social/media_attachments/files/111/631/215/965/005/050/original/e5a662e833b2a3a7.png\n\nhttps://files.mastodon.social/media_attachments/files/111/631/237/539/323/880/original/a9a36d87a70b56df.png\n\nhttps://files.mastodon.social/media_attachments/files/111/631/237/566/491/919/original/d7139593e1a078c0.png",
"sig": "7f5fa7b97ba6b34e519295a25653ef95797bf62f08a91a2e01f291785dfdbe273829528b528a906d5ac28f792e69aa9963b1806a7cf064b0ecfa21d16d633bcc"
}