Lemmings CSS Animation (markblah.github.io)
rfarley04 5 hours ago
MarkBlah 4 hours ago
shevy-java 3 hours ago
MarkBlah 2 hours ago
SanjayMehta 3 hours ago
TacticalCoder an hour ago
1991, Psygnosis (of course), Commodore Amiga (double of course!): my little brother was 9 y/o at the time and we were teenagers and we'd play Lemmings like crazy on our Amiga.
My little brother couldn't speak english yes but he'd imitate the "oh, nooooo" sentence Lemmings you'd "suicide" would make.
More than three decades later my brother is still nicknamed "Lem" after "Lemmings" and that's how we call him. And about two decades ago, he gave his consulting company a name sounding like "Lemmings" (spelling slightly different). He's still "Lem" and he still has got that company.
Oh noooooooo!
pwagland 24 minutes ago
Using the test: (async () => { const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); for (let i = 0; i < 200; i++) { __walker.add(); await sleep(10); } })();
From the JavaScript console, on both Chrome and Safari.
The animation is _way_ smoother on Chrome, but scrolling on that page becomes really painful.
Safari, on the other hand, uses a lot more CPU to do the animation, and the FP of that animation drops dramatically as you change the number of lemmings from 10 -> 50 -> 100 -> 200. However scrolling the page remains smooth the entire time.
Waterluvian 7 hours ago
I did something on my site recently like that where you can click a hexagon and it turns into a robot and starts SLAM mapping the page, navigating around text elements carefully.
Were you initially surprised by how easy it was to get exact block size of individual characters and not just entire dom elements? That’s the part I thought was going to be the most difficult.
diginova 7 hours ago
tomcam 6 hours ago
Nice! Your site is impressive and your achievements even more so.
tniemi 2 hours ago
Explanation: https://www.youtube.com/watch?v=uZ1atMUOUMU
OuterVale 6 hours ago
ggsp 6 hours ago
html { overflow-x: clip; touch-action: manipulation; }
should fix them!
MarkBlah 6 hours ago
cs02rm0 3 hours ago
noufalibrahim 6 hours ago
tosh 6 hours ago
noufalibrahim 6 hours ago
richardfey 5 hours ago
MisterMunchkin 4 hours ago
freshteapot 4 hours ago
Thank you for bringing this to life.
felipeerias 5 hours ago
It is unfortunate that the scenery is positioned in such a way that lemmings end up falling by the side all the way to the bottom of the screen.
Perhaps it would look better if you removed the padding from <body> and added more pits to the scenery.
9dev 5 hours ago
dspillett 2 hours ago
Other than respawning them as you scroll around, so one starts in an appropriate place as a test comes into view, and resetting them automatically, perhaps on a timer, there probably isn't a better way to properly show it off than that.
VorticonCmdr 4 hours ago
grumbel 5 hours ago
[1] http://xpenguins.seul.org/ and updated at https://github.com/Grumbel/xpenguins-ng
MarkBlah 5 hours ago
jcattle 5 hours ago
adamddev1 4 hours ago
Ok, this is awesome.
rob74 5 hours ago
EDIT: works in Chrome and Firefox, doesn't work in Edge (on Linux - yeah, I know almost nobody uses that) for some reason...
filcuk 5 hours ago
alana314 7 hours ago
WhyIsItAlwaysHN 5 hours ago
ckx 3 hours ago
nilail 6 hours ago
allexsendev 5 hours ago
And I overenjoyed throwing lil marios around
MarkBlah 4 hours ago
allexsendev 4 hours ago
swiftcoder 5 hours ago
manif00ld an hour ago
MarkBlah 8 hours ago
msephton 2 hours ago
ForgotMyUUID 2 hours ago