Background Artworks
LoFi Engine includes 10 curated background images designed to complement your focus sessions:Built-in Backgrounds
10 pre-selected artworks with LoFi aesthetics
Custom Uploads
Add unlimited personal images
Quick Navigation
Switch backgrounds with arrow keys
Persistent Storage
Custom images saved locally in browser
Changing Backgrounds
- Keyboard Shortcuts
- Settings Panel
The fastest way to cycle through backgrounds:
- Right Arrow (→): Next background
- Left Arrow (←): Previous background
Built-in Backgrounds
The app includes 10 carefully selected backgrounds:Background Gallery
Background Gallery
All backgrounds are stored in
assets/background/:- bg1.jpg - Background 1
- bg2.jpg - Background 2
- bg3.jpg - Background 3
- bg4.jpg - Background 4
- bg5.jpg - Background 5
- bg6.jpg - Background 6
- bg7.jpg - Background 7
- bg8.jpg - Background 8
- bg9.jpg - Background 9
- bg10.jpg - Background 10
Backgrounds are optimized for performance with appropriate resolution and file size.
Custom Backgrounds
Upload your own images to create a personalized experience:Adding Custom Images
Supported Formats
Upload any standard image format:- JPEG/JPG - Best for photographs
- PNG - Supports transparency
- WebP - Modern, efficient format
- GIF - Static images only (no animation)
Images are converted to data URLs and stored locally in your browser. No images are uploaded to any server.
Multiple Uploads
Upload multiple images at once:- Select multiple files in the file picker
- All images process simultaneously
- Each gets a unique ID for identification
- All are added to your background collection
Managing Custom Backgrounds
Deleting Backgrounds
Remove custom backgrounds you no longer want:Storage Details
How Custom Backgrounds Are Stored
How Custom Backgrounds Are Stored
- Location: Browser localStorage (IndexedDB via localDB)
- Format: JSON with base64 encoded images
- Limit: Browser-dependent (typically 5-10MB)
- Persistence: Survives app restarts
- Privacy: All data stays local, never uploaded
Background Cycling
Backgrounds cycle through both built-in and custom images:- Start with built-in backgrounds (bg1 - bg10)
- Continue to custom uploaded images
- Loop back to beginning
Visual Feedback
Settings Preview
The settings panel shows:- Current background - Full preview image
- Navigation arrows - Left and right buttons
- Delete button - Only for custom backgrounds (appears on hover)
- Upload indicator - Shows when processing images
Active State
Know which background is active:- Preview in settings matches main background
- Background changes instantly when navigating
- No lag or loading screens
Technical Implementation
Background Application
Backgrounds are applied via CSS:Storage Strategy
Built-in Backgrounds
Stored as static files in
assets/background/Custom Backgrounds
Stored as data URLs in browser localStorage
Event System
Background changes trigger custom events:Best Practices
Image Size
Image Size
For best performance:
- Use images appropriate for your screen resolution
- 1920x1080 or 2560x1440 are good targets
- Avoid extremely large files (>5MB)
Image Content
Image Content
Choose images that:
- Don’t distract from work
- Have appropriate contrast for UI elements
- Match your mood or task
- Are aesthetically pleasing but subtle
Organization
Organization
Manage your collection:
- Delete backgrounds you rarely use
- Keep collection under 20-30 images
- Name files descriptively before uploading
Keyboard Shortcuts
Full background control via keyboard:| Shortcut | Action |
|---|---|
| → | Next background |
| ← | Previous background |
| J | Open settings (for upload/delete) |
Arrow keys work from anywhere in the app, even when settings are closed.
Responsive Design
Backgrounds adapt to all screen sizes:- Desktop: Full background coverage
- Mobile: Optimized cropping and scaling
- Tablet: Balanced display
- CSS:
background-size: coverandbackground-position: center
Related Features
- Keyboard Shortcuts - Complete shortcut reference
- Auto DJ - Automatic audio environment control