What is Lofi Cities?
A free website that shows animated pixel-art city nights (Paris, Tokyo, New York, London, Rio de Janeiro, Istanbul, Hong Kong, Sydney, San Francisco, Hamburg and Amsterdam) with endless lofi music composed live in your browser, plus each city's ambient sounds.
Is Lofi Cities free?
Yes. It runs entirely in your browser, with no download, no account and no pop-ups.
Where does the music come from?
It is generated in your browser while you listen. Chords, drums, bass and melody are synthesized with the Web Audio API, without samples or recordings, so every track is new and the music never runs out. The Vibe button (or V) makes it chill or upbeat, with the full band, no drums, or keys only.
Why doesn't the music start right away?
Browsers block sound until you interact with a page. Click, tap or press any key and the music starts; the play button pauses and resumes it.
Can I use it as a background for studying or working?
That is what it is made for. Press F for fullscreen and H to hide the interface, or P for the mini player: a picture-in-picture window that keeps the scene floating over your other apps (on a computer, in browsers that support it). The controls also fade out on their own when you stop moving the mouse.
Can it switch cities by itself?
Yes. The Tour chip after the cities (or the C key) moves on to the next city every 5, 10, 15 or 30 minutes, or follows the night: it shows whichever city is closest to 1 am local time, moving west from Sydney to San Francisco as the hours pass. Cities on the same clock, like Paris, Hamburg and Amsterdam, take turns.
Is there a Pomodoro or sleep timer?
Yes. Press T or the clock button. The focus timer runs 25 minutes of focus and 5 of break (or 50 and 10) on repeat, with a soft chime at each break and a bell to call you back. The sleep timer fades the music and city sounds out after 15 to 90 minutes, then pauses.
Can I use Lofi Cities as a stream background in OBS?
Yes. Add a Browser source set to 1920×1080 with a city page's address followed by ?obs, for example https://loficities.com/tokyo/?obs. The interface stays hidden and the music starts on its own; tick Control audio via OBS to bring it into your mix. Interact with the source to switch city with the arrow keys or skip a track with N.
Does it work on phones and tablets?
Yes. In portrait orientation the view crops around each city's landmark, all controls work with touch, and you can swipe the scene sideways to switch city.
Does it work offline?
Yes. Open it once while online and it keeps working without a connection, every city and the music included, since both are generated in your browser. You can also install it as an app with your browser's Install or Add to Home Screen option (on iPhone and iPad: Share, then Add to Home Screen).
Can I save a scene as a wallpaper?
Yes. The save button in the player (the down arrow) saves the current frame as a 1080p PNG, and S does the same with a keyboard.
Can my business appear in Lofi Cities?
Yes. Every city has a billboard for rent, where your café, shop, studio or brand can be drawn in pixel art. Click the billboard in any city, or fill in the short form at tally.so/r/rj7bY5, to get in touch.
Who made Lofi Cities?
Lofi Cities is made by Safa Elmali. You can support it on Buy Me a Coffee (the coffee link at the top right).
Does Lofi Cities use cookies?
No. There is no sign-in and no cookies. Anonymous usage statistics, such as which cities are viewed, are collected without cookies, and browsers that send Do Not Track are respected.