Marcelo de G. Malheiros
banner
mgmalheiros.bsky.social
Marcelo de G. Malheiros
@mgmalheiros.bsky.social
Patterns. Simulation. Graphics. Compilers. Creative Coding.

mgmalheiros.github.io

PhD in Computer Science. Academic researcher at UEM.

Also at https://mathstodon.xyz/@mgmalheiros
Reposted by Marcelo de G. Malheiros
Want to learn how to emulate Vim's Telescope in Zed?

Check out the second installment of Hidden Gems, and share your own!

zed.dev/blog/hidden-...
Hidden Gems: Part 2 - Zed Blog
From the Zed Blog: Favorite workflows and hidden features from the Zed team and community.
zed.dev
December 11, 2025 at 1:02 PM
Reposted by Marcelo de G. Malheiros
"Gamma is a blight, a curse, and utterly annoying. [...] Gamma does to digital colour what kerning does to typography" .. I wrote some notes (and hints) on Gamma:

poniesandlight.co.uk/reflect/gamma/
Notes on Gamma
The nuance between seeing and perceiving, linearity and non-linearity, what EOTFs are – and how to draw nice smooth gradients against the odds
poniesandlight.co.uk
December 11, 2025 at 3:16 PM
Reposted by Marcelo de G. Malheiros
Show HN: I've asked Claude to improve codebase quality 200 times | Discussion
The highest quality codebase
Blog post
gricha.dev
December 11, 2025 at 4:00 PM
Reposted by Marcelo de G. Malheiros
The online gallery for 2026 Joint Mathematics Meetings Exhibition of Mathematical Art is now live: gallery.bridgesmathart.org/exhibitions/....
December 11, 2025 at 7:12 PM
Reposted by Marcelo de G. Malheiros
Terrain Diffusion: A Diffusion-Based Successor to Perlin Noise | Discussion
Terrain Diffusion: A Diffusion-Based Successor to Perlin Noise in Infinite, Real-Time Terrain Generation
For decades, procedural worlds have been built on procedural noise functions such as Perlin noise, which are fast and infinite, yet fundamentally limited in realism and large-scale coherence. We introduce Terrain Diffusion, an AI-era successor to Perlin noise that bridges the fidelity of diffusion models with the properties that made procedural noise indispensable: seamless infinite extent, seed-consistency, and constant-time random access. At its core is InfiniteDiffusion, a novel algorithm for infinite generation, enabling seamless, real-time synthesis of boundless landscapes. A hierarchical stack of diffusion models couples planetary context with local detail, while a compact Laplacian encoding stabilizes outputs across Earth-scale dynamic ranges. An open-source infinite-tensor framework supports constant-memory manipulation of unbounded tensors, and few-step consistency distillation enables efficient generation. Together, these components establish diffusion models as a practical foundation for procedural world generation, capable of synthesizing entire planets coherently, controllably, and without limits.
arxiv.org
December 10, 2025 at 8:20 PM
Reposted by Marcelo de G. Malheiros
Made a site comparing the sizes of living things :)

The great Julius Csotonyi spent 5 months painting over 60 illustrations for the site, no ai used

> neal.fun/size-of-life/
December 10, 2025 at 4:03 PM
Reposted by Marcelo de G. Malheiros
If you only needed to serialize 64x64 pixel PNGs, you could use this:
December 11, 2025 at 1:23 AM
Reposted by Marcelo de G. Malheiros
6. "My Pagan stoner-psych concept LP 'Brutalist Dystopia Doomchurch' was a massive commercial and critical flop but at least everyone agreed the cover photo was fucking brilliant."
November 17, 2025 at 8:39 AM
Reposted by Marcelo de G. Malheiros
Gigi v1.01.7 Released - Gigi Multimedia Edition!

Microphone, speaker, and web cam support.

See release notes for more details:
github.com/electronicar...
December 10, 2025 at 5:40 PM
Reposted by Marcelo de G. Malheiros
noise functions in TSL threejsroadmap.com/blog/10-nois...
threejsroadmap.com
December 9, 2025 at 9:54 PM
Reposted by Marcelo de G. Malheiros
Love to see the Sedgwick County Zoo putting out a good explainer on why GenAI slop videos of animals are a problem & how to identify them! It’s succinct, easy to read, and doesn’t shame people for not knowing better. A+ useful link to share with family and friends.

scz.org/blog/the-rea...
The Reality of AI Animal Content – Sedgwick County Zoo
If you spend any time on social media, you’ve probably seen them – bears bouncing on trampolines, apes caught on doorbell cameras, or “rescued” wild animals acting in ways that seem too good to be…
scz.org
December 9, 2025 at 2:44 AM
Reposted by Marcelo de G. Malheiros
December 10, 2025 at 12:27 AM
Reposted by Marcelo de G. Malheiros
Had an idea last week to make a tool that shows what answers a model can give for a given prompt. Used this downtime day to explore the idea and the results are fun. This isn't sampling, it deterministically enumerates the search space. Prompt was: "In what year was Barack Obama born?"
December 9, 2025 at 4:05 PM
Reposted by Marcelo de G. Malheiros
In March 2025, I continued creating designs with octagons around a central star, but this time using two different block arrangements. #21CenturyPB #iTeachMath
December 9, 2025 at 7:32 PM
Reposted by Marcelo de G. Malheiros
My colleague points out here that possibly one in seven requests to our library now may be assisted by LLMs.

When those point to fictional documents, that's a huge staff time drain. There's often no quick way to check if an undigitized primary source doc exists beyond physically pulling some boxes.
December 9, 2025 at 2:06 AM
Reposted by Marcelo de G. Malheiros
Smugglers, money launderers and sanctioned people once relied on diamonds, gold and artwork. Now, criminals have a far more practical alternative: stablecoins, a cryptocurrency tied to the U.S. dollar that exists largely beyond traditional financial oversight.
www.nytimes.com/2025/12/07/t...
How a Cryptocurrency Helps Criminals Launder Money and Evade Sanctions
www.nytimes.com
December 7, 2025 at 3:00 PM
Reposted by Marcelo de G. Malheiros
The birth of our solar system - at last, closing up the penultimate page of this mammoth chapter exploring the origin of the universe in all its swirls of different sorts... It's been a long trip. And there is, to be sure, a lot going on on this page :)
Onward!
#Nostos #Unflattening 2
December 6, 2025 at 8:14 PM
Reposted by Marcelo de G. Malheiros
An Interactive Guide to the Fourier Transform | Discussion
An Interactive Guide To The Fourier Transform – BetterExplained
betterexplained.com
December 7, 2025 at 5:20 PM
Reposted by Marcelo de G. Malheiros
A series of tricks and techniques I learned doing tiny GLSL demos | Discussion
A series of tricks and techniques I learned doing tiny GLSL demos
blog.pkh.me
December 8, 2025 at 7:00 PM
Reposted by Marcelo de G. Malheiros
Godot Tutorials Update 2025!

I updated my tutorial pages and added a lot of new stuff. I hope you find it usefull. I think there are almost 100 tutorials in there ^^ And only the good ones :)

#Godot #GodotEngine #GameDev #IndieDev #IndieGameDev #Tutorials
December 7, 2025 at 7:56 PM
Reposted by Marcelo de G. Malheiros
Wish I knew someone who liked Battlestar Galactica as much as I do
December 7, 2025 at 8:15 PM
Reposted by Marcelo de G. Malheiros
New sculpture! (Actually a study for a bigger version)

Icosaskeliohedron, with embedded planar faces

Translucent green PLA

#mathart
#ArtAdventCalendar
December 7, 2025 at 8:19 PM
Reposted by Marcelo de G. Malheiros
An old experiment with new coloring. An interlaced knot pattern with ribbon width that diminishes towards center.
#MathArt
December 5, 2025 at 10:34 PM
Reposted by Marcelo de G. Malheiros
Reminder! Never attribute to Malice that which should be attributed to Malice et al. (2007).
December 5, 2025 at 10:53 PM