Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi

201 pointsposted 10 hours ago
by safaelmali

88 Comments

thih9

10 hours ago

The product hunt ad is breaking the immersion for me. I know that most cities have ads but still, I prefer ad free pixel art.

It’s also not realistic, in one landscape the billboard is taller than a 9 story building.

trevoragilbert

9 hours ago

It feels bolted on to an otherwise cool thing. Even angling the board, or smudging, dimming color, localizing language, etc. All would make it feel like it fits.

pastel8739

an hour ago

Occasionally it switches from product hunt to a "Your Ad Here" ad that links to a popup with the following (slop) text:

> Put your café, shop, studio or brand on the billboard in Paris: drawn by hand in the same pixel-art style, and glowing in the scene while people study, work and unwind to the music.

It's clear this is a money-making endeavor, not something created out of passion or goodness of heart. And not art.

safaelmali

7 hours ago

Would a hide option help, or should the billboard itself blend into the scene better?

ajkjk

2 hours ago

Just delete it :/

Ads are the worst and they're antithetical to the vibe of something like this

If it's an actual ad.. You'd get more goodwill (and maybe clicks) out of a tiny 'if you appreciate this maybe check out product hunt to support me' message somewhere. At least it's not manipulative that way.

sodapopcan

2 hours ago

Yes, just delete it. Seriously. WTF is that? Loved the general vibe but hit the back button after a visceral to... f*ckin' Product Hunt? Seriously?

Crazy times, man.

bicx

2 hours ago

Not really that crazy. It’s just an ad.

bicx

3 hours ago

Honestly I’d blend it more. Maybe reduce the contrast a bit and so it’s not the first thing your eye goes to.

sublinear

8 hours ago

I know this is going to sound ridiculous, but the way the dithering is used feels very "generated" and chaotic.

Human pixel art tends to be very deliberate about the exact colors of every pixel and their placement tends to follow idealized (but not necessarily geometric) shapes.

The last time I saw dithering this sloppy was decades ago when people would scan photos as low color images. It is its own vibe, but it's a cold and rough one. These artifacts feel more "realistic", but it felt like slop back then too.

kromokromo

7 hours ago

Yes, that’s the tell tale sign of AI generative pixel art. AI can’t be consistent with the pixels. Looks ok sometimes but never pops.

croes

5 hours ago

It’s missing the art part

rvz

6 hours ago

Who cares.

Only on HN there can be a single pixel that is misplaced or off and it causes ONE person to get upset about it.

This is completely petty. Just stop.

iand675

8 hours ago

There's a lot to like here, but too AI-generated for me. The pixel art for Tokyo & Hong Kong don't use proper Chinese/Japanese characters. The pulsating badges in the non-pixel UI are also pretty AI-indicative in a way that is distracting.

nonis

6 hours ago

I had a similar idea yesterday - https://www.lofiwizard.com/ - I mainly wanted to have Opus 5.5 generate random browser scenes to see what it could do. I love how your pixel cities came out! I tried to do similar music via code but it never sounded right so I had Google's Lyria 3 model make the music instead.

safaelmali

5 hours ago

Nice to see another take on this! What was hardest to get right with the code-generated music?

timenotwasted

10 hours ago

Gorgeous, very well executed. I'm guessing the primary request will be more cities but I'll deviate and say I'd love to see more views as well. Would be nice to have the same set of cities by I can see it from a studio view same way it is in the Paris view. Or from an office. Or a cafe.

safaelmali

7 hours ago

I’ll add indoor views to the roadmap. Cafés and apartments could give each city a different feel.

andsoitis

10 hours ago

So cool. Add Los Angeles, Cape Town, Florence, Cairo, Athens, Vancouver, São Paulo.

Actually, shouldn't it be possible to auto-generate any city via AI on demand?

vunderba

9 hours ago

Maybe to a degree but this isn’t just somebody using Seeddance to generate a first-frame-and-last-frame video loop and calling it a day.

There's definitely some manual curation. They even have assets that are clearly being placed into the scene, like the boats moving in the water.

You could theoretically generate all possible animated sprites (birds, people, vehicles, etc.) for use in any given cityscape, but automatically segmenting/detecting the different valid "paths/waypoints" where those assets should be placed would probably end up looking pretty janky.

XenophileJKO

8 hours ago

Maybe??.. Opus 5.5 is a giant step function up with "manual illustration". Quite a bit better than Astra. It is entirely possible to get this quality of animation "hand drawn" from Opus 5.5...

Honestly I was blown away, it is one capability that blindsided me. I haven't been this surprised by a capability lift in a long time.

vunderba

7 hours ago

I haven't had a chance to play with Opus 5.5 yet, but I guess if there were a way to generate each of the pieces (aka the layers) then it might be possible:

- parallax, which might be some clouds moving in the background.

- weather effects which is mostly just an overlay

- animated sprites that interact with, or at least move along, the different sections of the static scene.

It'd be neat to see how well it could recreate some of the larger set pieces like Westminster palace.

I've definitely seen some pretty impressive automated AI voxel stuff (and that was 6 months ago) and that's having to deal an extra dimension. [1]

Personally I still don’t see a situation in which you could do it completely hands-off though. I think you’d end up with some pretty good scenes and some really terrible scenes requiring post-adjustments. It would be an interesting experiment at any rate!

[1] - https://github.com/Ammaar-Alam/minebench

safaelmali

6 hours ago

I make the cities ahead of time with AI and prepare the loops before adding them. The app can’t generate cities on demand yet, but I like the idea.

vagabund

6 hours ago

I don't why I would want to stare at vibecoded UI and an ad to relax

chris_armstrong

2 hours ago

I like the Sydney one (the jacarandas are a nice touch; a banksias or wattle option would add an interesting local touch).

For any city, a thunderstorm or light drizzle option would be very moody.

boredemployee

6 hours ago

I loved it. Since i was a child i have something with skylines in general that i can't explain (be it real or not). it's like a nostalgic/depressive feeling in a good and weird way. i also have a similar and weird thing with liminal spaces [0]

[0] https://en.wikipedia.org/wiki/Liminal_space

safaelmali

5 hours ago

I’m glad it gives you that feeling. There’s something about city skylines at night that fits lofi so well.

blobdole

7 hours ago

Very cool project. I love the tour aspect of it!

I first saw Paris from inside the room, and only later realized that 90% of the cities seem to be outdoors. It did make me kind of miss the indoor theming of the local area.

Also make me think how cool it would be to be able to toggle between being indoors or on the balcony. Shift the volume of the music vs the weather, maybe add some city sounds and shift them as well. Finally, it means you could have twice as much visual variety for only 50% more art.

px1999

2 hours ago

It's not that weird - Google isn't a search engine company, they're an advertising company.

I'm not just flogging a dead horse here - they don't care how good the search results for these types of queries are, they need to be just good enough to stop you from moving to search via Perplexity, Chatgpt, Claude etc. They also need to be as cheap as possible to generate.

Google makes money when you search for things to buy which is why they'll give you an ad-free experience on things that they never made much money off anyways (eg "why is the sky blue?") - they want you to be around when you search for something they can (eg "jewellery"). Note that they never give you AI slop when you're doing a product search.

Unfortunately people both expect answers phrased in response to their questions, and people have generally poor skills at picking up on authoritative-sounding bullshit. Also if they give you "an answer" and stop you from moving to another site with more detail (and possibly ads from someone else!) you're more likely to ask follow up questions on google.

weedfroglozenge

11 minutes ago

You can put cool AI infront of AI slop and it's still AI slop. Man this website is so weird.

BugsJustFindMe

6 hours ago

It's cute, but the custom weather overlays don't make sense. Where are the autumn leaves falling from on top of the 7th floor in Paris, the secret rooftop forest canopy?

safaelmali

6 hours ago

Haha, fair point :) You can use any weather effect in any city, which leads to some odd combinations like leaves outside that Paris window.

alasano

4 hours ago

If enjoy AI Pixel Slop, I had made this little Yamanote Line experience to test GPT 5.6 when it came out

https://yamanote-window-loop.aljosa-asanovic.chatgpt.site/v3

Sound on for nostalgia if you've been to Tokyo.

Edit: forgot I had added a little behind the scenes page

https://yamanote-window-loop.aljosa-asanovic.chatgpt.site/ma...

augment_me

4 hours ago

Nice! Were the assets generated or imported? Also, if generated, natively or MCP? And which?

alasano

4 hours ago

All generated, I don't normally use the ChatGPT/Codex desktop app but in this instance I had it do everything directly.

So GPT 5.6 Sol using GPT images 2.0 (fake transparency by generating pink which it then removed) and it deployed to ChatGPT sites which I also wanted to just see in action for fun. It's basically just CloudFlare with D1 underneath or something.

So tldr yeah just generated with the built in image gen, it does have an advantage there over Claude. With images 2.5 I imagine the result would be more consistent.

TomGarden

9 hours ago

This is a vibe! Is this pixel art AI generated?

zaxioms

9 hours ago

There's a lot of AI on the author's github, so I would assume so. I have no idea how I feel about these sorts of things. On the one hand I think it's objectively a super neat idea, but it makes me sad that a human (probably) didn't make the art/songs.

userbinator

9 hours ago

A human did --- just indirectly, in the same way as using a compiler or assembler instead of writing each byte by hand.

johnfn

9 hours ago

I use a compiler to perform a task. I don’t use pixel art to perform a task, other than to feel connection to another human —- something AI makes more challenging.

zaxioms

8 hours ago

I've been thinking about this a lot lately. I feel very averse to consuming AI media, but it's not super obvious to me why. In some sense, I agree with what you're saying, but in reality no pixel art of a city I've never been to would elicit that feeling in me. Maybe I would feel differently if it were art of the city I live in and had some pixels dedicated to specific things I think are cool about the city, but for this website in particular it could be the best pixel art of SF ever made and I don't think it would be all that meaningful to me.

The main conclusion I've come to is that it's less that I dislike AI art inherently, and rather that I value the human decisions in media that I personally care about, and AI media threatens both its creation and how much other people value such things.

0gs

8 hours ago

maybe you are MOSTLY judging what you perceive to be the artist's options and then decisions, and with most AI art, it's super easy to judge both of those quickly and accurately -- they had a billion options, and they chose a really lazy one.

or i don't know if you are but this is how i think i feel a lot of the time haha

johnfn

8 hours ago

I mean pixel art is kind of weird, in that I rarely just look at a single screen of pixel art and say, wow, I feel more connected now. It’s often taken in context of a larger whole, like a game or animation where the artist is usually trying to express something, and the specific art is some small part of the overall expression. It’s kind of like how no individual still image from Spirited Away will convey the meaning of the whole movie.

userbinator

8 hours ago

other than to feel connection to another human

With AI, instead you feel a connection to the sum of all humanity.

vor_

6 hours ago

That's not the same way at all.

safaelmali

7 hours ago

Yes, I use AI for the images and video loops. The music is synthesized live in your browser using the Web Audio API.

mft_

8 hours ago

Nice idea, but the rain sound (at least on my system) isn't rain - it's just white noise?

safaelmali

7 hours ago

Which browser and device are you using? Does the rain still sound like white noise with the music paused?

mft_

5 hours ago

Yes it does. Firefox 155, MacOS 15.6.1

safaelmali

5 hours ago

Got it. I’ll look into the rain sound on Firefox with the music paused.

losteric

8 hours ago

White noise is better than the repetitive and generic synthetic music I got

devindotcom

7 hours ago

strange to me that "lofi" has graduated from low fidelity to AI generated downtempo music, which I assume (like the art) is based on the work of real artists.

NDlurker

10 hours ago

This would be cool as a Roku channel

augment_me

6 hours ago

It's interesting, I vibecoded a very similar lofi/mood idle game, but in 2.5D with Codex, I would say that the reception was about 60% positive with a lot of people complaining about AI slop, then I removed the Codex fingerprints like the verbose titles "Neon Rain by Tokyo Tower", the button/field UI that looks like a ChatGPT wrapper startup from a year ago, changed font from the generated one, and then it had about 80% positive interaction.

I think its easier to sell it as actual art/non-slop when you take some time to remove what is generic across newer LLM sessions.

TomGarden

5 hours ago

I'd encourage chronicling the effort you put in and be transparent about the methods. If you want your AI art to reach proper recognition, the different type of effort needs to be shown

augment_me

5 hours ago

It's a fair point. I experimented with this, but I still don't think that the general public is there yet. Any mention of AI is already a negative sentiment for a large group of consumers, especially in artistic fields. While this is true, it does not make sense to disclose these things because then you can capture both the customers that care and those who don't if you are sufficiently careful.

Once the technology gets good enough and people can't tell it apart and start to get used to generated content like this, it will perhaps start to make sense to provide this kind of effort if it's still relevant.

TomGarden

5 hours ago

You're not the first to try to build something on the basis of lying by omission, but I will say, it's pretty bleak

augment_me

5 hours ago

Disclosure makes sense when the trust it buys is worth more than the sales it costs. Currently the trade-off is completely dogshit. You don't get good reputation by making any art with AI, nor good sales by disclosure.

When/if people start rewarding disclosure it will make sense to do this, otherwise you are asking me to pay for this abstract principle out of my own pocket.

safaelmali

5 hours ago

That’s useful feedback. I’ll take another look at the typography and controls. I want them to fit the scenes better.

marak830

3 hours ago

Not the biggest issue (and perhaps the smallest) it's not Sakura tree season here in Tokyo ;)

lolakutty

3 hours ago

When I open some of the submissions here, I have a voice in my head that screams "LLM"...

This is almost like a reflex, I am not sure why, because when I look, I don't see any pattern...

Anyone else have the same?

chacal

3 hours ago

Localização de alguem

khazhoux

7 hours ago

Is the music AI-generated? Because it's pretty hard to listen to. Weird dissonant chord progressions.

safaelmali

7 hours ago

The music is generated procedurally in your browser using the Web Audio API. Which city and music style were you listening to?

Daunk

3 hours ago

Unpopular opinion, but I think the "Lofi" sound or style ruins perfectly fine songs.

namirsab

9 hours ago

Love it! Really cool idea!

bitwize

8 hours ago

I love the FM synth in the music. Some of the patches from Sonic games can be heard.

Razengan

10 hours ago

Man, wish we had dynamic wallpapers like this, and we could have had it decades ago.

Why do companies like Apple & Microsoft sterilize themselves so?

richarme

8 hours ago

This was already a thing almost 3 decades ago. Active Desktop [0] was just a web page displayed instead of the wallpaper image.

[0] https://en.wikipedia.org/wiki/Active_Desktop

Razengan

6 hours ago

Yeah and there were other 3rd party "hacks" for it, but I mean Windows or macOS never made it an official API, so it never caught on, even though Apple's own "Dynamic Wallpapers" use some kind of motion (they're videos but only during screen-savers or time-based)

andelink

8 hours ago

Just tested and this works great on macOS with Plash [1] by Sindre Sorhus. I couldn't find too many URL parameters to control it, but the FAQ does mention an ?obs parameter to hide the interface by default and ?weather=... to choose the weather. This URL in Plash works as described:

    https://loficities.com/tokyo/?obs&weather=leaves
I was also able to omit ?obs and use the website interface controls to configure it via Plash browsing mode and then the interface went away after a moment of inactivity.

[1]: https://sindresorhus.com/plash

safaelmali

7 hours ago

Good to know it works with Plash! Thanks for sharing the setup.

andsoitis

9 hours ago

Wallpapers that move would make for poor usability.

ciberado

7 hours ago

When using my 32 inch screen sometimes I set the wallpaper to a random walk video in YouTube and it works fantastically. I know that it is counter intuitive, but the contrast between real and moving elements and static and almost flat Windows makes for a nice experience. And helps fighting text editing fatigue.

Of course, ymmv. But give it a try.

Razengan

8 hours ago

That's up to personal preference. Just like with static wallpapers, some people like single subtle colors, some people like noisy multicolored wallpapers.

There's already subtle parallax in iOS etc.

Animated wallpapers could be subtle, like raindrops, or animate only when interacted with, when you're bored or waiting for the AI to finish a run etc. :)

andsoitis

6 hours ago

> That's up to personal preference.

Stated preference perhaps, but unlikely revealed preference.

Depends on context, but for a computer on which you're doing work, moving wallpaper is usually a net negative for usability while you're actively working, though the magnitude depends heavily on the animation.

The problem is primarily peripheral attention. Motions is a strong pre-attentive visual signal: your visual system detects it without you deliberately deciding to look at it. One a laptop where you're close to the display and spending long periods concentrating on text, code, documents, etc., any visible animated region around or through windows can create low-level competition for attention.

A good compromise is wallpaper motion during transitions or stillness during work.

Broader UI principle: motion should explain change, not create change to be noticed.

Cockbrand

10 hours ago

I was having a very similar thought - finally a nice use case for HTML wallpapers like Windows used to have them. I bet that there's a trick to have this as a desktop background in Wayland, but I'm too lazy to find out right now.

Either way, really nicely made, I love it! Small change request: adjust the CSS to make the controls look less vibecode-y.