512
you are viewing a single comment's thread
view the rest of the comments
[-] ChaoticNeutralCzech@feddit.org 3 points 3 days ago

Of course. You need about 1 hair per 2x2 pixels on a 1080p screen and 4x4 on a 4K screen. That totals about 10,000 hairs per icon in the simulation, which can be precomputed into animations. Third-party icons will be 2D (or 2.5D if the FG/BG layer of the icon is handled separately, doubling the animation data). Now it's "just" a matter of drawing 10,000-20,000 lines with precomputed shading and textures from the icon's 100x100 bitmap render.

Also, the GPU is only used by apps while they're in the foreground, so the launcher might be able to use all of its power. And it could cache animations for existing icons (who cares if the system uses 32 GB of storage? Buy the higher option, peasant!)

[-] BanMe@lemmy.world 5 points 3 days ago

But I want it to leave an indent where my finger presses, in the direction I drag it. And you have to gently rub it to get the indent to go away.

[-] ChaoticNeutralCzech@feddit.org 2 points 3 days ago

Or shake the device for a while to make all indents go away. I guess the GPU could do that too if it's the only thing it's busy with.

this post was submitted on 29 Jan 2026
512 points (96.4% liked)

Programmer Humor

29083 readers
1623 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS