frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

LegalArgumentException: From Courtrooms to Clojure – Sen [video]

https://www.youtube.com/watch?v=cmMQbsOTX-o
1•adityaathalye•1m ago•0 comments

US moves to deport 5-year-old detained in Minnesota

https://www.reuters.com/legal/government/us-moves-deport-5-year-old-detained-minnesota-2026-02-06/
1•petethomas•4m ago•0 comments

If you lose your passport in Austria, head for McDonald's Golden Arches

https://www.cbsnews.com/news/us-embassy-mcdonalds-restaurants-austria-hotline-americans-consular-...
1•thunderbong•9m ago•0 comments

Show HN: Mermaid Formatter – CLI and library to auto-format Mermaid diagrams

https://github.com/chenyanchen/mermaid-formatter
1•astm•24m ago•0 comments

RFCs vs. READMEs: The Evolution of Protocols

https://h3manth.com/scribe/rfcs-vs-readmes/
2•init0•31m ago•1 comments

Kanchipuram Saris and Thinking Machines

https://altermag.com/articles/kanchipuram-saris-and-thinking-machines
1•trojanalert•31m ago•0 comments

Chinese chemical supplier causes global baby formula recall

https://www.reuters.com/business/healthcare-pharmaceuticals/nestle-widens-french-infant-formula-r...
1•fkdk•34m ago•0 comments

I've used AI to write 100% of my code for a year as an engineer

https://old.reddit.com/r/ClaudeCode/comments/1qxvobt/ive_used_ai_to_write_100_of_my_code_for_1_ye...
1•ukuina•36m ago•1 comments

Looking for 4 Autistic Co-Founders for AI Startup (Equity-Based)

1•au-ai-aisl•46m ago•1 comments

AI-native capabilities, a new API Catalog, and updated plans and pricing

https://blog.postman.com/new-capabilities-march-2026/
1•thunderbong•47m ago•0 comments

What changed in tech from 2010 to 2020?

https://www.tedsanders.com/what-changed-in-tech-from-2010-to-2020/
2•endorphine•52m ago•0 comments

From Human Ergonomics to Agent Ergonomics

https://wesmckinney.com/blog/agent-ergonomics/
1•Anon84•56m ago•0 comments

Advanced Inertial Reference Sphere

https://en.wikipedia.org/wiki/Advanced_Inertial_Reference_Sphere
1•cyanf•57m ago•0 comments

Toyota Developing a Console-Grade, Open-Source Game Engine with Flutter and Dart

https://www.phoronix.com/news/Fluorite-Toyota-Game-Engine
1•computer23•59m ago•0 comments

Typing for Love or Money: The Hidden Labor Behind Modern Literary Masterpieces

https://publicdomainreview.org/essay/typing-for-love-or-money/
1•prismatic•1h ago•0 comments

Show HN: A longitudinal health record built from fragmented medical data

https://myaether.live
1•takmak007•1h ago•0 comments

CoreWeave's $30B Bet on GPU Market Infrastructure

https://davefriedman.substack.com/p/coreweaves-30-billion-bet-on-gpu
1•gmays•1h ago•0 comments

Creating and Hosting a Static Website on Cloudflare for Free

https://benjaminsmallwood.com/blog/creating-and-hosting-a-static-website-on-cloudflare-for-free/
1•bensmallwood•1h ago•1 comments

"The Stanford scam proves America is becoming a nation of grifters"

https://www.thetimes.com/us/news-today/article/students-stanford-grifters-ivy-league-w2g5z768z
4•cwwc•1h ago•0 comments

Elon Musk on Space GPUs, AI, Optimus, and His Manufacturing Method

https://cheekypint.substack.com/p/elon-musk-on-space-gpus-ai-optimus
2•simonebrunozzi•1h ago•0 comments

X (Twitter) is back with a new X API Pay-Per-Use model

https://developer.x.com/
3•eeko_systems•1h ago•0 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
3•neogoose•1h ago•1 comments

Show HN: Deterministic signal triangulation using a fixed .72% variance constant

https://github.com/mabrucker85-prog/Project_Lance_Core
2•mav5431•1h ago•1 comments

Scientists Discover Levitating Time Crystals You Can Hold, Defy Newton’s 3rd Law

https://phys.org/news/2026-02-scientists-levitating-crystals.html
3•sizzle•1h ago•0 comments

When Michelangelo Met Titian

https://www.wsj.com/arts-culture/books/michelangelo-titian-review-the-renaissances-odd-couple-e34...
1•keiferski•1h ago•0 comments

Solving NYT Pips with DLX

https://github.com/DonoG/NYTPips4Processing
1•impossiblecode•1h ago•1 comments

Baldur's Gate to be turned into TV series – without the game's developers

https://www.bbc.com/news/articles/c24g457y534o
3•vunderba•1h ago•0 comments

Interview with 'Just use a VPS' bro (OpenClaw version) [video]

https://www.youtube.com/watch?v=40SnEd1RWUU
2•dangtony98•1h ago•0 comments

EchoJEPA: Latent Predictive Foundation Model for Echocardiography

https://github.com/bowang-lab/EchoJEPA
1•euvin•1h ago•0 comments

Disablling Go Telemetry

https://go.dev/doc/telemetry
2•1vuio0pswjnm7•2h ago•0 comments
Open in hackernews

How to Draw a Space Invader

https://muffinman.io/blog/invaders/
557•abdusco•5mo ago

Comments

joemasilotti•5mo ago
This would be awesome as a random avatar generator!
Perz1val•5mo ago
I'm reading hackernews on this app called glider that has almost that, just not exactly invaders
Waterluvian•5mo ago
I’m surprised and impressed that it built a vector that it rasterized.

I wonder how well you can do by having a pseudo-random kernel walk and then mirroring it.

lyr-7d1h•5mo ago
This is basically what I did! A modified version of a random walk to generate "invaders" with a gradient color. You definitely get some interesting shapes.

https://tinyurl.com/creagen-invader (best on desktop)

Sorry for using an url minifier the original url is too long. I'm using a custom web editor I built for generating this. Still working on shorter urls for it.

This and including muffinmans solution was part of a coding challenge for Creative Coding Amsterdam, for anyone interested and in the area definitely check it out https://cca.codes

stanko•5mo ago
Very nice!

I was thinking about using walkers, but after some doodling decided to go with vector shapes. I think the combination of the two could also produce some cool results.

As lyr said, these are part of CCA's code challenge and we'll create a page to present all of the generators on one place.

edit: typo

pachevjoseph•5mo ago
This is one of the best mobile experiences I’ve had reading an article.
ChrisKnott•5mo ago
Yeah, what a tiny joy when it "picked up" the canvas as it went
stanko•5mo ago
Thank you both, it means a lot. I try to make it clean, but fun and personal too.
BoostandEthanol•5mo ago
Can say the effort you put in setting that up was worth it. Fantastic work in both making the generator and sharing it!
scotty79•5mo ago
If you refresh the page the invader that gets generated as you read changes.
plasticeagle•5mo ago
Stop it.

Checks

Oh my god. 11/10.

stanko•5mo ago
Haha I love your comment. I'll let you in on a little secret - you can add a seed parameter to the URL to get a specific invader. It has to be an integer, otherwise it will be ignored.

For example:

https://muffinman.io/blog/invaders/?seed=1234

Goldenbowl•5mo ago
Awesome!
lzyuan1006•5mo ago
Interesting, it takes a lot of imagination to do it
FridayoLeary•5mo ago
It's interesting that space invaders was developed entirely by one person.
appstorelottery•5mo ago
I've gone down that rabbit hole and written countless versions of space invaders. What's really cool to me is that - to get it right - the secret is moving only one invader in the pack every 1/60th of a second, this gives the pack movement the same feeling as the original. The genius of the original coder in creating this illusion never escapes me.
egypturnash•5mo ago
This distinctive movement is a compromise with the limitations of a 2mhz 8080 with no video support hardware to speak of.

Looking at a commented disassembly (https://www.computerarcheology.com/Arcade/SpaceInvaders/), there's so little time available that each frame redraws nothing more than the player, their shot, one of the 55 aliens, and one of the three alien shots. Four things. When every moving object has to be manually erased and redrawn within the space of one frame, you kinda have to stagger the movement.

appstorelottery•5mo ago
Yes - this is where I learned of the technique!

After 25 years of writing random space invaders clones - I finally achieved perfection after reading the Computer Archeology site, then I made my last clone and IMHO I'm finally happy to put this obsession down.

https://datsuco.itch.io/video-invaders

balamatom•5mo ago
Nice, just the other day I coded up some quick 2d shooter demo and realized I have no idea how to draw interesting sprites for it. What you're doing here with drawing the generated vector onto different sizes of grid is brilliant. A sort of structured pulsation. Same simple technique can be used for both "breathing" animation of a critter and for animating it into bigger, badder forms. Bravo.

At this point (actually before even writing the comment) If your blog had a RSS feed I'd have subscribed to it... but (at least according to my RSS plugin) it doesn't, so I fear I will miss out on your next inspiring writeups. Consider adding one, if you feel like it :-)

https://muffinman.io/invaders/#/size:15/main-seed:began-ever... is a favorite so far

sphars•5mo ago
There is an RSS feed, the link is in the top hamburger menu, but here it is:

https://muffinman.io/atom.xml

balamatom•5mo ago
Sick, +1 sub from me. Thanks!
stanko•5mo ago
Thank you! You can also think of the vector shapes as a kind of skeleton. I think that is one of the reasons it works well. Moving the limbs or increasing the size creates the illusion of movement and breathing. But it works well only while the grid is smaller and can hide the underlying shapes. Once the vectors start to emerge, it breaks the illusion. You could definitely improve it to work better at larger sizes, but I think you would need to introduce more constraints, which limits the random factor of the generator.

If you end up using something similar in your game, I would love to see it!

edit: It seems that I need to make the RSS link more prominent :)

Martin_Silenus•5mo ago
Nice.

Ironically, this is much like saving the planet by creating invaders… the hacker way, without using brute force AI.

You deserve your upvote.

stanko•5mo ago
Thanks! I think AI sucks all the fun from projects like this one. The whole magic of creation process is lost.
Martin_Silenus•5mo ago
Some say that we will disappear because of AI.

They just hate coding.

mft_•5mo ago
While you’re here, might/will you put rayven on GitHub? I’d be very interested to explore some of the algorithms you’ve used for (essentially) attractive vector hatching.
stanko•5mo ago
I have a plan to do it, but it is one of those never ending projects. Hopefully I will finally release it this year.
h4ny•5mo ago
What a delightful read. Thanks for all the thoughts put into the problem solving, the writing, and the presentation!
stevage•5mo ago
Wow, the results are really good: https://muffinman.io/invaders/

Much better than you'd expect from the article.

Also, TIL about [oklch](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value...).

stanko•5mo ago
Thanks, when I started experimenting I was pleasantly surprised with results I was getting. After some polishing and adding UI I think it really came together nicely.

As for OKLCH, it is a big upgrade. Working with color from code is hard, and it really makes things easier. I also like HSLuv [1], but unfortunately it is not supported natively in browsers.

[1] https://www.hsluv.org/

stevage•5mo ago
The uniform lightness looks nice, but it's a shame that the easily memorable hue values of HSL (0 = red, 120 = green, 240=blue) are lost.
gregschlom•5mo ago
Related, and from none other than 00's web legend levitated.net: http://www.levitated.net/daily/levInvaderFractal.html (2003)
forrestthewoods•5mo ago
This was awesome. And the floating preview thingy worked great. Major kudos!
ygritte•5mo ago
A good space invader has to look badass and threatening. Extra points if it waves around its pincers in a grabbing motion.
abetusk•5mo ago
I've also made a space invader generator.

live version: https://abetusk.github.io/iao/vadfad_1gen/

source: https://github.com/abetusk/iao/tree/main/vadfad_1gen

Inspired by Jared Tarbell (linked from another comment here from levitated.net).

I found it surprisingly easy to get good results. The major components are the eyes, bilateral symmetry and otherwise random pixels within a small rectangle, if I remember correctly.

mickeyp•5mo ago
Love the UI and random colour palette. Excellent work.
grues-dinner•5mo ago
> Inspired by Jared Tarbell

Such a huge part of my early dabbling with computers. A jewel of the early internet, along with the later http://complexification.net, though sadly most of the examples don't run any more due to both Flash (Levitated) and Java (Complexification) dying off.

At least for Complexification, you can copy-paste the Processing .pde source to https://hello.processing.org/editor/#editor and see it run.

pavel_lishin•5mo ago
They look very close to block-printed Chinese or Japanese characters to me, like something you'd find hanging off the side of a building, lit by fluorescent tubes. It looks very cool. I bet it would look even more like script if it weren't symmetric!
netfortius•5mo ago
Cool. I've been collecting these from all over the world: https://www.space-invaders.com/flashinvaders/
Modified3019•5mo ago
The image/animation that sticks to the top, showing visually what is being talked about as we scroll is really nice work, and I typically hate fancy pages changes during scrolling.
aa-jv•5mo ago
Very interesting article, and quite fun for those of us with a penchant for 8-bit aesthetics and retro-computing roots.

One thing that came to mind while reading this, was: isn't this just a human digital manifestation of Mother Nature's desire to just evolve everything into a crab shape?

Think about the symmetry and function of various appendages of the space invader, and how - eventually, all space invaders just look like crabs.

Are we seeing some sort of confluence in the Matrix here?

plasticeagle•5mo ago
May I say that this website is one of the loveliest and most pleasant to read that I've ever seen.
stanko•5mo ago
Thanks, it means a lot!
janfoeh•5mo ago
I would like to second this — this is extremely well done, and a joy to play with.

Top-notch work, all around!

Biganon•5mo ago
Thank you for doing it the fun way, aka without AI
MisterTea•5mo ago
Apparently someone drew a space invader on this pigeon walking in front of me the other week ;-) https://files.catbox.moe/pzwgr8.jpg
appstorelottery•5mo ago
This is brilliant, your algorithm produces really great results - and your write-up is super! Would be great to have it as a simple function that we could use in our games ;-)
mock-possum•5mo ago
This is a REALLY good writeup, I’m incredibly impressed not only with the work itself, but the care put into explaining and demonstrating it. Much respect to the muffin man.
pjbk•5mo ago
Ahh... Brings me memories. Back in the 80s I did something similar after reading Dawkin's The Blind Watchmaker and his Biomorph evolution app. I wanted to recreate it but doing something more fun. So I hacked an Atari Logo space invaders game that used genetic programming on the invaders that survived most of the hits based on their shape (some pixels worked as shields) and motion. After 5 levels the game was almost impossible to beat.
dangond•5mo ago
Got a fun little heart-shaped guy that morphs into a ditto when animated here, love the variety! https://muffinman.io/invaders/#/size:9/main-seed:officer-clo...
CodeWriter23•5mo ago
Heh, back in my day we used character sequences like >*< and <*> to animate and ran the whole game on an 80x24 ASCII terminal.
taeric•5mo ago
Really fun read. Love how it tracks where you are to do specific things in the drawing and I'm surprised I don't see this done more.

Clicking through to the rope page, it is a really good strategy for web pages.

albert_e•5mo ago
Well done.

Suggestion for extension --

During batch or sequential generation of multiple characters:

Mathematically constrain different characters to be dissimilar from each other.

This avoids different invaders from looking the same / indistinguishable / confusing to a human, by pure chance.

agnishom•5mo ago
I don't understand why you'd want pixelated art if you have non-pixelated art.
Suppafly•5mo ago
that was surprisingly more involved that I initially assumed but the end result is really good.