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

Sirens at Night

Lospec Dailies

#mask

No entries yet, submit yours!

Random Recent Art
100 Face Challange 10-18
pixel-art
User of the Day

edcheyjr

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
horror blue dark
Abandoned Blue
Bus Seat Patterns
Cryptozoology
Spoopixel 18
Birdguy's 2x2 Lite
Psychedelic Kittens
Picotron (0.2.0 / WIP V6)

Latest Art

More Latest Art
Eurasian Wigeon
pixel-art
Emotional Stability
pixel-art
A year of progress - A.B.A and Paracelsus
pixel-art
Living in space
pixel-art
2020 Septembit Challenge
pixel-art
Summer Memory
pixel-art
Nameless
pixel-art
Masked Bob
pixel-art
Small fox
pixel-art
Plantilla de personaje Animacion de caminar
pixel-art
Strawberry Potion
pixel-art
Limited time offer!
pixel-art
Excalibur Emblem
pixel-art
DJ raccoon doesn't know what's going on
pixel-art
mew
pixel-art
Simplified Hornet
pixel-art

Today's Top

More From Today
A year of progress - A.B.A and Paracelsus
pixel-art
2020 Septembit Challenge
pixel-art
Nameless
pixel-art
Eurasian Wigeon
pixel-art
Living in space
pixel-art
Summer Memory
pixel-art
Emotional Stability
pixel-art
Masked Bob
pixel-art

Top This Week

More From This Week
Space Hunter-Dungeon Mockup
pixel-art
Contra gender swap final version
pixel-art
Jade the Cat
pixel-art
Live Wires
pixel-art
Kirby
pixel-art
The Affliction
pixel-art
A year of progress - A.B.A and Paracelsus
pixel-art
Joker_Goth
pixel-art
Excalibur Emblem
pixel-art
A Family of Foxes
pixel-art
Signalis Menu
pixel-art
Shakra, the Golden Explorer
pixel-art
DJ raccoon doesn't know what's going on
pixel-art
Night sky
pixel-art
Moon Squid
pixel-art
100 Face Challange 10-18
pixel-art

Monthly Masterpieces

More Masterpieces
My Green Pokemon Team
pixel-art
Cyberpunk City
pixel-art
Succulent Sunset
pixel-art
brama
pixel-art
The heart of the ocean
pixel-art
*Treasure*
pixel-art
3 color sprites
pixel-art
Winter power pole
pixel-art
Night Shines
pixel-art
Hornet
pixel-art
DREDGEtober + #octobit. 2024.
pixel-art
Fume
pixel-art
GameBoy MockUp
pixel-art
Chief Duck
pixel-art
Cowboy
pixel-art
Lobster and Moray
pixel-art

Today's Daily [#mask]

More #mask
PixelJoint Class Photo 2025
pixel-art

Yesterday's Daily [#castle]

More #castle
Summer Memory
pixel-art

Recent Patron Pieces

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

Random Pieces

Ouryumon
pixel-art
Red cat
pixel-art
What are you going to buy?
pixel-art
Roronoa Zoro
pixel-art
Time
pixel-art
Clouds of Liberty
pixel-art
Tucano!
pixel-art
Poopie Muscle-Cow
pixel-art
Is he friendly?
pixel-art
Sith on Tatooine
pixel-art
Tool (Lospec Daily)
pixel-art
"Cool Mita is making fun of you"
pixel-art
Mindful Skeleton
pixel-art
sunrise
pixel-art
The Pout
pixel-art
DQ slime
pixel-art

Latest News

Palettes

Palette of the Day:

Newest Palette:

horror blue dark

2 1 66

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