Warning: a modern web browser is required to use this website.

We detected that you may have an out of date or unsupported web browser. This tool, like many others on this site and across the web uses features only available in new web browsers. We reccommend updating your current browser or downloading Firefox or Chrome.

TEXT LINK TEXT

Welcome to Lospec, a home for digitally restrictive art. We create online tools for people creating pixel art and other restrictive digital art.
Learn More

Palette of the Day

G.B.G: TEXTURE/SPRITE EDITOR

Lospec Dailies

#mountain

No entries yet, submit yours!

User of the Day

Cactus Celery

Random Recent Art
Starry Night
pixel-art
Lospec News

The Lospec Server Slowness Has Been Resolved

If you're a daily Lospec user you might have noticed some slowness issues with requests lately. The site has always had some occasional slowdowns where a request might take a few seconds, but last week it got to a point where at some peak times they were taking minutes, if they ever got returned at all.

Fortunately I think we've implemented some optimizations that seem to have greatly improved things, and the site is now far snappier and is working more like it used to.

This problem was a bit hard for me to diagnose, as Lospec previously didn't really have any performance monitoring aside from the basic hardware usage charts and error logs.

The first step to solving this was implementing a performance monitoring service called newrelic, which not only gave more detailed hardware monitoring, but also easily hooked into my code to report response times, and even track custom events. It was super easy to set up and I was able to do enough under their free tier to solve this issue. I'm not affiliated, just love the product.

At first it seemed the issue was trying to read the homepage from the harddrive for each request. Perhaps this was part of it, but after changing the code to keep the homepage in memory, the problem persisted.

It soon became pretty clear that the problem was actually not on the Lospec server, but with requests to the database. At first it looked like all requests were slowing down and maybe the database was just not powerful enough. But the database is already by far the most expensive part of hosting Lospec, so I was hoping to avoid having to increase its resources. That would most likely only be a temporary fix anyway. I then started gathering metrics on individual database queries to see which ones were the slowest.

I sat down with the lovely Dannflor, one of our biggest Patrons and now a close friend, and he helped me start to dig through some of the code and analyse some of the database queries. After a few hours we had made some minor improvements to the queries and configuration of the database, but the slowness issues persisted. He did however teach me one very important skill which was to get a printout of exactly what the database was doing for a specific request, and analyse that to see which steps were taking the most time.

After some more iterations (and a whole day), I finally had found what I believed to be the smoking gun: for every request to one of our filterable search forms, the database was first grabbing every single document, then looking up the user who submitted it. This isn't a problem when doing very specific searches, like for a certain tag, or viewing a submission queue, but when viewing without filters, it became a huge problem. 

The biggest cause was with requests to the gallery, which has grown to over 10,000 accepted pieces of art (which is awesome by the way). But this meant for every single request, even fetching additional pages, the database was loading 10,000 documents and then matching a user to each one. This didn't always take too long, sometimes just a few seconds, but when a lot of people were browsing at once, the database server would get overloaded and the CPU usage would reach 100%, and then every database request on the site would slow down (which is almost every page).

I spent a few hours shuffling some things around and rewriting some code so that the user documents wouldn't be needed for sorting. After pushing out that fix, there was a huge drop in the average time spent on each database request, and the site started responding like a normal website again. I think it's safe to say the problem is now resolved, which is a huge relief.

Thanks again to Dannflor who helped out a ton with solving this issue, and to everyone's patience with us we worked out this issue. Long live Lospec.


Read More
Latest Collab
Collabers check out the next collab, over in our new bulletin-board channel!

# https://discord.com/channels/506164002003484673/1359143258017501265


all future collabs will take place there, and you can now more easily host your own!

you can also receive pixels for starting collabs here: 20P+ Host a Collab

this channel will soon be archived.

Collab discussion takes place on our discord, join the server to participate!

Discord Thread
Article

The Final Nail In X's Coffin - Rise of the Bluesky

I'm sure by now you've heard of the downfall of twitter, one of the already most controversial websites. In April 2022, the 2nd generation Apartheid billionaire Elmo Musk bought the website for $44 billion dollars.

Since then, Leon has made a series of changes to the site, which made it clear his mission was never to improve the website, but instead mold it into his own personal playground, that reflected his world views and prioritized protecting "free speech" (hate speech) and

With each change he made, the site got more toxic as more good people left, and now it has become far more toxic than it ever was before (and it already had a reputation for being a horrible place).

Yesterday Twitter announced some changes to their Terms of Service which removed the ability for users to opt out of allowing their content to be used to train twitters AI product, Grock.

In response, Lospec has decided to remove it's social media links to these platforms. So if you look at the footer of Lospec now, you'll see Bluesky and Mastodon have replaced the Twitter and Reddit links. We've also changed the hashtag links on palette pages to prioritize other social media websites - and will remove X in a few months when the last few stragglers finally admit that it's dead.

In the meantime, we highly reccomend moving your social media presense to Bluesky - which has had a huge bump in users over the past day due to these changes - or Mastodon another great well-established option.

For similar reasons (forced AI training, shutting down of APIs, toxic user behavior) we've also shut down the /r/Lospec feed on Reddit, disassociated from /r/PixelArt and will no longer cater to that website.

If you log into Lospec via Twitter or Reddit, I highly reccomend you switch to using another platform such as Discord or Reddit, just to be safe.

Hopefully this is not the end of good social media, but rather the beginning.

Read More

Latest Palettes

More New Palettes
Psychedelic Kittens
Picotron (0.2.0 / WIP V6)
Sodium
Grotesquely Cute
riso 13
CMYKcord
Raz Sandwich
Poppy27

Latest Art

More Latest Art
Elphelt Valentine
pixel-art
Starry Night
pixel-art
Album covers
pixel-art
NEW NIGHT GREEK
pixel-art
REDBLUEMIMIKYU
pixel-art
Hot Streets
pixel-art
3000BC
pixel-art
alien astronaut
pixel-art
Pixel Art Freebie for user TheMatingCall on Gaiaonline
pixel-art
Lobster and Moray
pixel-art
Roxy
pixel-art
Moonlight scenery
pixel-art
Southern Town
pixel-art
Fishing
pixel-art
I wasnt made for college
pixel-art
Hornet 32x32
pixel-art

Today's Top

More From Today

Top This Week

More From This Week
brama
pixel-art
Fume
pixel-art
Emerald Hand
low-poly
Chief Duck
pixel-art
DREDGEtober + #octobit. 2024.
pixel-art
Dedenne
pixel-art
Lobster and Moray
pixel-art
Sea!
pixel-art
eternal bliss
pixel-art
Isometric Bathroom
pixel-art
Street sign
pixel-art
pinkystar
pixel-art
First day of school
pixel-art
Thai Bee Lemon Tea Candy
pixel-art
REDBLUEMIMIKYU
pixel-art
alien astronaut
pixel-art

Monthly Masterpieces

More Masterpieces
The Moth
pixel-art
My Green Pokemon Team
pixel-art
Cyberpunk City
pixel-art
#tundra daily
pixel-art
The heart of the ocean
pixel-art
Arbitrary Art April/August 2025
pixel-art
*Treasure*
pixel-art
Sam Version 3.1 Reference Sheet
pixel-art
Succulent Sunset
pixel-art
Night Shines
pixel-art
3 color sprites
pixel-art
Password
pixel-art
brama
pixel-art
Winter power pole
pixel-art
Tanglera
pixel-art
Hornet
pixel-art

Today's Daily [#mountain]

More #mountain
No entries yet. Participate in Lospec Dailies by submitting yours!

Yesterday's Daily [#alien]

More #alien
alien astronaut
pixel-art

Recent Patron Pieces

Peach Princess
pixel-art
Super Amaro Bros.
pixel-art
Casual Albertyne
pixel-art
Ocarina of Thyme
pixel-art
The Last Dance
pixel-art
Space Pirate
pixel-art
Holmgang field
pixel-art
Thai Bee Lemon Tea Candy
pixel-art
Captain Little
pixel-art
L o n g i n g
pixel-art
Braqito sings
pixel-art
Braq Rito
pixel-art
Hot Streets
pixel-art

Random Pieces

VI. In the free verse country (В стране верлибров)
pixel-art
planet sparkles
pixel-art
Four Faces
pixel-art
1 bit skull
pixel-art
Bella
pixel-art
gecko
pixel-art
French Cafe
pixel-art
World Within a Spacesuit
pixel-art
Green Joker
pixel-art
Fred
pixel-art
WILD FOX
pixel-art
2023-11-05 Merchant/Evening14 | The Magician's Table
pixel-art
Mimic
pixel-art
forest
pixel-art
Medieval game mockup
pixel-art
Fishbowl City
pixel-art

Latest News

Palettes

Palette of the Day:

Newest Palette:

Psychedelic Kittens

5 0 40

What is Lospec?

Lospec is an independent website, created in in 2017 by a bird named skeddles. It was founded on the idea that the internet needs a more modern place to share pixel art, and other similar but less represented art forms. When we launched we only had the palette list and the Lospec Pixel Editor, but over the years we've added many more tools and features. In January of 2020 we launched our first kickstarter, to help fund the Lospec Gallery. After 2 years the gallery was finally released in January of 2023, and continues to be updated with new features and improvements. Our mission to continue to improve the site and add new tools and features that help people create and share art. We are funded mainly by donations, so if you believe in what we're doing please considering becoming a member of our patreon (which will let you browse the site ad-free). (Learn Even More)

Check out all the other tools and resources we have!

Pixel Art Tutorials

Over 500 tutorials!

The biggest collection of pixel art tutorials on the net! Search by topic, author or medium to find the perfect article, video, image or book for you.

Browse Tutorials

Palette List

Over 4000 palettes!

A searchable collection of palettes for pixel art. Every palette can be downloaded in 6 different formats, and imported into nearly any software used to create pixel art.

Browse Palettes

Pixel Art: Where to Start

An introduction to pixel art for complete beginners, it guides you through the basic steps to begin creating pixel art and improving from there.

Start Learning Pixel Art

Pixel Art Software List

A list of popular pixel art creation software to help you compare and choose the right one for you.

Compare Pixel Art Software

PNG Crusher

Compresses PNG files to get the smallest filesize and optimized display in all browsers.

Crush PNGs

Lospec Blender Toolkit

A collection of tools for creating art in blender, such as pixel art filters, materials, generators and more.

Grab the Toolkit

Discord Community

An active community of all kinds of low-spec artists. Get feedback, share progress, join our daily art streams, play games, argue about the definition of pixel art, and much more!

Join our community!

And there's even more on our Resources page!

Check out our Patreon   to learn more about what keeps Lospec running.

AD| join Patreon to remove ads!

SESSIONSUSERSPAGEVIEWS

UNDO