News for hackers. Stuff that matters.
Re:OP drew these corals with mathematical equations by gus_massa on Saturday August 12, 2023 @05:44PM (#37104512)
Obligatory nitter link: https://nitter.net/naderi_yeganeh/status/1690296100496838656

More images in https://twitter.com/naderi_yeganeh

In another xtter, he posted a link to a blog that explains how he finds the equations. It's a general discussion with example, not a specific discussion of the corals. https://blogs.scientificamerican.com/guest-blog/how-to-draw-...

Re:OP drew these corals with mathematical equations by mutant_glofish on Saturday August 12, 2023 @05:54PM (#37104586)
Very cool! This reminds me of the guy 3D modeling a selfie-girl with math equations: https://www.youtube.com/watch?v=8--5LwHRhjk
Re:OP drew these corals with mathematical equations by fasterik on Saturday August 12, 2023 @07:31PM (#37105168)
Indeed, Inigo Quilez is "the guy" for this kind of stuff. He co-created ShaderToy and has worked on effects and modeling for multiple Pixar films.

My favorite video of his is Painting a Landscape with Maths.

https://www.youtube.com/watch?v=BFld4EBO2RE

He deserves to have at least as many subscribers as other math YouTube channels like Verisatium and 3Blue1Brown.

Re:OP drew these corals with mathematical equations by paulpauper on Sunday August 13, 2023 @12:26AM (#37106663)
not quite the same thing. piecing together parts with individual equations, like a mosaic, not the same as modeling the whole thing with a set of huge parametric equations
Re:OP drew these corals with mathematical equations by pphysch on Sunday August 13, 2023 @02:11AM (#37107153)
It is one big equation, he just isolates each piece to better explain it
Re:OP drew these corals with mathematical equations by modeless on Saturday August 12, 2023 @05:57PM (#37104601)
If you think that's cool you'll like this guy's equations too. Written in GLSL so they run in your browser in real time as well. https://twitter.com/zozuar

And, of course there's also the classic Shadertoy https://www.shadertoy.com/results?query=&sort=love

Re:OP drew these corals with mathematical equations by distortionfield on Saturday August 12, 2023 @07:30PM (#37105160)
Doing this inside the character limit is blowing my mind rn
Re:OP drew these corals with mathematical equations by omoikane on Saturday August 12, 2023 @07:37PM (#37105188)
That's what I was thinking as well -- these are equations that generate colors in 2D space, so essentially pixel shaders, but for this particular effect I wonder if it would be simpler with some geometry shaders, and have a 3D engine take care of the shadows.
Re:OP drew these corals with mathematical equations by ranting-moth on Saturday August 12, 2023 @08:10PM (#37105348)
There's something in many of those those Zozuar animations that trigger what I'm sure is a primal fear with me. Fascinating stuff but some of it is terrifying.
Re:OP drew these corals with mathematical equations by mensetmanusman on Saturday August 12, 2023 @10:20PM (#37106056)
It’s non-stop uncanny valley.
Re:OP drew these corals with mathematical equations by Aardwolf on Sunday August 13, 2023 @03:35AM (#37107550)
Perhaps because biological creatures themselves can exhibit complex shapes and patterns through simpler mathematical principles like fractals and cellular automata
Re:OP drew these corals with mathematical equations by Angostura on Sunday August 13, 2023 @04:39AM (#37107894)
Came here to say exactly that. Fascinating, but deeply unnerving for some reason.
Re:OP drew these corals with mathematical equations by kimburgess on Sunday August 13, 2023 @03:35AM (#37107553)
Obligatory demoscene links for anyone continuing down the rabbit hole: https://nanogems.demozoo.org/, https://www.pouet.net/.
Re:OP drew these corals with mathematical equations by Almondsetat on Saturday August 12, 2023 @06:05PM (#37104652)
This looks very similar to Apple's "Drift" screensaver from macOS Catalina [0], which is also calculated in real time.

[0] - https://www.youtube.com/watch?v=7WXzRhebz1g

Re:OP drew these corals with mathematical equations by iraqmtpizza on Saturday August 12, 2023 @06:36PM (#37104839)
the fish needs work
Re:OP drew these corals with mathematical equations by Razengan on Saturday August 12, 2023 @06:39PM (#37104854)
To feed its family
Re:OP drew these corals with mathematical equations by iraqmtpizza on Sunday August 13, 2023 @04:38AM (#37107884)
the fish needs more backhanded compliments to feel good about itself
Re:OP drew these corals with mathematical equations by glompers on Saturday August 12, 2023 @07:30PM (#37105159)
Shade!
Re:OP drew these corals with mathematical equations by goodbyesf on Saturday August 12, 2023 @06:41PM (#37104878)
That's the basis of ancient greek mathematics which used world as the model of its mathematics. So if twitter was around in the ancient greek world: 'OP wrote these mathematical equations from these corals'.
Re:OP drew these corals with mathematical equations by chubbnix on Saturday August 12, 2023 @06:59PM (#37104995)
It looks a lot like a H. magnifica anemone’s tentacles.
Re:OP drew these corals with mathematical equations by Magi604 on Saturday August 12, 2023 @07:54PM (#37105270)
Somewhat related (pops up here from time to time): How to draw a butt in mathematica. https://mathematica.stackexchange.com/questions/66538/how-do...

Previous discussion: https://news.ycombinator.com/item?id=34257837

Re:OP drew these corals with mathematical equations by stainablesteel on Saturday August 12, 2023 @08:40PM (#37105506)
he's got a lot of these

it seems to me like he's deriving the equations from images that he finds, then using the equations to generate new images with a stroke of randomness.

Re:OP drew these corals with mathematical equations by SomewhatLikely on Sunday August 13, 2023 @12:27AM (#37106664)
That would be far more impressive if true. The equations while having a number of magic numbers also don't have that many parameters, so it would seem difficult to find such equations to fit well to images.
Re:OP drew these corals with mathematical equations by anon____ on Saturday August 12, 2023 @11:49PM (#37106513)
Re:OP drew these corals with mathematical equations by taneq on Sunday August 13, 2023 @05:01AM (#37108027)
I don't think this is quite the same fashion, the original post looks like the geometry is being generated by the equations while Tupper's formula directly stores a bitmap image in the coordinates.
Re:OP drew these corals with mathematical equations by mrob on Sunday August 13, 2023 @08:47AM (#37109459)
Misleading name. It's not self-referential at all; it's just a simple bitmap renderer written in mathematical notation. The actual bitmap is stored separately.
Re:OP drew these corals with mathematical equations by paulpauper on Sunday August 13, 2023 @12:22AM (#37106646)
finally a twitter user that is:

a real person

not posting about politics or crypto (which probably refutes the first criteria)

Re:OP drew these corals with mathematical equations by spoonjim on Sunday August 13, 2023 @12:25AM (#37106657)
Very cool!
Re:OP drew these corals with mathematical equations by uwagar on Sunday August 13, 2023 @05:56AM (#37108349)
this is great and all but the way of mathematical equations isnt quite the way of the computer. its kinda like hardcoding with magic numbers. on the computer you want to model the processes that makes the coral and then let the computer unfold it and hopefully it produces your coral. more interestingly, it will produce other shapes nature hasnt thought of yet.
Re:OP drew these corals with mathematical equations by larodi on Sunday August 13, 2023 @06:02AM (#37108387)
L-Systems, in my opinion, are much more simple, expressive and easy to understand, and actually can result in very similar structures. There's also the CFDG/Context Free (curiously by Chris Coyne) system which allows grammar-based inference which produces structures sembling bioforms, also very straightforward. Also continuation of this reasoning is Structure Synth...

https://www.generativeart.com/on/cic/GA2009Papers/p17.pdf

Re:OP drew these corals with mathematical equations by niknoble on Monday August 14, 2023 @07:50PM (#37128331)
Way too many parameters to be interesting. Talk about fitting an elephant.