Ludum Dare 36 — August 26th-29th, 2016 — Theme: Ancient Technology

Back to Browse Entries

Leonardo's Painting Machine

by Frozen Fractal - Competition Entry

Leonardo's Painting Machine is one of Leonardo da Vinci's lesser known inventions. In fact, before this game was released, nobody had ever heard about it!

You program the machine using punch cards, in order to reproduce a particular painting. The holes in the punch cards control brush motion, colour, numerical registers and control flow. These are introduced gradually, so don't feel disappointed if the first few levels seem simple ;)

This game draws inspiration from Zachtronics games (TIS-100, SpaceChem, Infinifactory) and esoteric programming languages. Be warned: if this sounds like your kind of game, you may not go to bed on time tonight.

You can save and share your creations by clicking the Link button, which will give you a copyable URL in your browser's address bar. This, plus the in-game stats, might allow for a little competition: who creates a particular painting in the least number of cycles? Who needs the fewest holes in their punch cards to do it?

An HTML5 game made with HaxeFlixel. No audio. Tested on Chrome and Firefox.

- Added the browser scrollbar for those who need it.
- Added keyboard controls to make up for small click targets; press F1 for help. If you want to experience the true compo version, just ignore them ;)

Downloads and Links


Patrick says ...
Aug 28, 2016 @ 8:58pm

I really like this one!

mat1er says ...
Aug 28, 2016 @ 9:04pm

That's great! Really I could spend hours doing this!

smerino says ...
Aug 29, 2016 @ 12:52am

LOTS of fun!,%7B%22cards%22%3A%5B%5B1096%2C520%2C520%2C520%2C520%2C552%2C0%2C0%2C1026%2C192%5D%2C%5B0%2C1088%2C0%2C1058%2C0%2C0%2C0%2C0%2C0%2C320%5D%2C%5B328%2C208%2C520%2C520%2C520%2C520%2C520%2C520%2C808%2C576%5D%5D%2C%22colorIndices%22%3A%5B0%2C1%2C2%5D%2C%22wheelStarts%22%3A%5B0%5D%7D

Aug 29, 2016 @ 6:20am

wow! cool puzzle game. It seems that the screen is cut off for later levels because there's no scroll bar. It'd also be great to have a little intro to explain where you're eventually headed. Even just a hint saying "there's more operations that you see here".

Flatgub says ...
Aug 29, 2016 @ 8:30am

Really great game! Interesting mechanic and difficult puzzles. Shame I'm terrible at them ><. Really nicely polished though! Well done~!

Aug 29, 2016 @ 9:11am

@smerino: Interesting solution, I hadn't thought about that approach!

@NoTrueSpaceman: Made a post-compo fix for the scrollbar, thanks. I had noticed, just didn't think anyone else would ;)

Traf d-Lo says ...
Aug 29, 2016 @ 10:22am

Yep, a really nice little game.

binaryferret says ...
Aug 29, 2016 @ 10:36am

Wow such a brilliant idea that works so well as a game. Well done.

Wevel says ...
Aug 29, 2016 @ 11:26am

Really cool programming puzzle game, and well made

g_o says ...
Aug 29, 2016 @ 11:26am

best entry of this LD so far!

studdert249 says ...
Aug 29, 2016 @ 11:37am

Such a well implemented and polished mechanic, though part of me wishes that there was an erase all button for the placed holes for the many times I reset my progress on the puzzles

g_o says ...
Aug 29, 2016 @ 11:38am

P.S the share button is brilliant!

Terrabalt says ...
Aug 29, 2016 @ 11:42am

Oh boy, a polished, well-made Zachtronics-esque game? I could spend hours in this!

Aug 29, 2016 @ 11:42am

@studdert249: Yeah, sorry about the lack of a clear button. The thought occurred to me, but I prioritised other features. You can drag across with the right mouse button (or with left, when starting on a hole) to erase somewhat quickly.

rudinskiz says ...
Aug 29, 2016 @ 11:49am

Great game! I love it

spacewarp says ...
Aug 29, 2016 @ 11:56am

This is my kind of game :) Only complaint is that editing the cards can be quite tedious.

aschab says ...
Aug 29, 2016 @ 4:06pm

Amazing concept. +1

sorceress says ...
Aug 29, 2016 @ 4:35pm

Nicely made. I completed the first 5 levels, but I felt it became a bit tedious once the counters appeared.

Rudenko says ...
Aug 29, 2016 @ 10:30pm

Awesome!!! ahahaha, love this game, really.

Lonely Vertex says ...
Aug 30, 2016 @ 8:37am

Great game to pass time and train your focus, the UI is very intuitive.

NuSan says ...
Aug 30, 2016 @ 4:31pm

Very great. I love Zachtronics style game, so I realy enjoy this. It become hard very fast, but it's prety fun.

keln says ...
Aug 30, 2016 @ 5:27pm

Incredible and smart game :o. One of the best entries so far.

Aug 31, 2016 @ 11:57am

Cool, ancient pixelart!

Tijn says ...
Aug 31, 2016 @ 2:01pm

This game is mindblowingly good. I can't believe this is a compo entry, good job!

Aug 31, 2016 @ 2:16pm

Quite interesting! I included it in my compilation video series of Ludum Dare 36 games, if you’d like to take a look :)

Danae123 says ...
Aug 31, 2016 @ 9:04pm

Loved it! great idea.

StMatn says ...
Sep 1, 2016 @ 12:10pm

This game is so awesome!
I loved everything about it. The idea is great and nicely coupled with the backstory (the fact about how many punchcards were used to paint the mona lisa was funny ;).
The graphics are great and it controlls really good.

bigalphillips says ...
Sep 3, 2016 @ 5:30am

I am really enjoying this so far. Only critique is that the first couple puzzles were confusing from the tool tip "Move the brush right if possible, or start reading from the right" -- kind of implies that if you cannot move further right, you will start reading instructions to the right. Later becomes clear that there's a special command to alter direction. Minor rewording may help there. Thanks!

tenpn says ...
Sep 5, 2016 @ 12:52pm

This was brilliant. Right-clicking on the wheel's initial value only brought up the standard image context menu for me, on chrome osx.

David Cookie says ...
Sep 5, 2016 @ 1:36pm

Ok.. That's a fantastic concept and a very polished puzzle game! Graphics are good and the reflexion get quite hard aha It only lacks some sounds and music to complete the experience, and it could easily become a retail game imo!
Very well done :D

Sep 6, 2016 @ 6:33am

@bigalphillips: Yes, I should have made the wording context-dependent (depending on whether jump is available yet or not).

@tenpn: Thank, fixed the right-click thing.

@David Cookie: No time for any of that, I'm afraid!

Sep 8, 2016 @ 8:19pm

What a great game again, @Frozen Fractal! I really enjoyed playing it. :) So far I got half way. :D In the first level I got confused, because I thought that I also had to paint the middle with white paint, since there is an option to change color.
Very polished entry, especially for a compo game. -A

charlesbaby says ...
Sep 19, 2016 @ 2:25am

Great job! This is actually really fun to play, and your warning is entirely accurate - bookmarking this for a not-almost-bedtime playthrough.

JonathanG says ...
Sep 19, 2016 @ 4:33pm

This is a lot of fun, and well-made too!

dollarone says ...
Sep 19, 2016 @ 11:52pm

Very polished game! Nice animations and love that you can speed it up! Will come back and finish this :)

Steven Miller says ...
Sep 21, 2016 @ 2:05am

This is spectacular! I love Zachtronics games (I made a SpaceChem/Infinifactory style game for miniLD 69), and this is really well made! I am currently on level 8 (the one after the sandbox) and will definitely continue playing. I'd love to see a downloadable version with audio.

Steven Miller says ...
Sep 21, 2016 @ 2:15am

Also, @smerino this is my solution for that level, it uses 44 holes and only takes 218 cycles.,%7B%22cards%22%3A%5B%5B1088,514,514,514,512,1056,320,0,0,0%5D,%5B0,0,0,0,0,0,1088,1056,876,576%5D,%5B320,514,514,514,514,514,514,802,1024,0%5D%5D,%22colorIndices%22%3A%5B0,1,2%5D,%22wheelStarts%22%3A%5B7%5D%7D

skell says ...
Dec 9, 2016 @ 3:06am,%7B%22cards%22%3A%5B%5B0,512,1058,337,336,515,512,512,512,512,512,512,512,512,512,512,256,0,0,1058,1058,866,0,0,0%5D,%5B1216,0,0,5,1058,832,0,0,0,512,0,42,370,288,0,0,0,1216,712,1058,1024,0,0,0,0%5D,%5B0,1088,1360,0,1058,1058,4,260,224,1216,32,512,576,0,0,0,0,0,0,0,0,0,0,0,0%5D%5D,%22colorIndices%22%3A%5B0,1,0%5D,%22wheelStarts%22%3A%5B0,0%5D%7D

You must sign in to comment.

Mini Submission FAQ

TEAMS: Teams entering the Jam should pick a single representative to submit your game, or create a team specific account you can share. We currently do not support Team Voting, but sharing an account and together playing and rating games is acceptable.

CAN I ENTER BOTH EVENTS?: You should pick 1 event, whichever you think it’ll do better in. If the idea is strong, and everything plays well enough, you can go Compo. If you’re a perfectionist, and would prefer people to play a more polished game, do the Jam. Many solo participants enter the Jam.

If you made 2 games, unfortunately, the website doesn’t support multiple submissions per user. To submit your 2nd game, you will have to make a 2nd account. Only do this if you made 2 games. Alternatively, if one game is better than the other, then consider just entering the better game.

CAN I KEEP WORKING UNTIL THE DEADLINE?: Yes! Immediately after the 48 or 72 hours, we do something called Submission Hour. As the name suggests, it’s an extra hour for you to package, upload, and submit your games. If there were catastrophic issues trying submitting your game, or you misunderstood how submissions work, that’s okay. It happens. We’re flexible. If you need advice, check with the folks on IRC. If you need an admin, get in touch.

CAN I KEEP WORKING ON MY GAME?: Oh definitely! You should! But for the sake of judging, keep the Compo or Jam version around. You can include a link to the Post-Compo/Post-Jam version of your game on your games page, but sure your main links are the original version.

PORTS: Ports to other platforms can be done after the deadline. That said, the sooner you finish your port, the sooner people can play your game, improving your chances of placing in the final results. For best results, provide a Web version of your game, or a Windows version with no dependencies. Also be sure to rate at least 20 games to improve your visibility (Coolness).

MY GAME CRASHES, IS UNBEATABLE, OR I MADE A TYPO: We allow you to fix crashes, win condition, or tiny bugs after the deadline. In a sense, this is like “porting” to support more players. We leave this open to interpretation, but generally speaking your game should be identical to the game you submitted. No new features, just fixing mistakes you should have caught had you been better rested.

MY GAME DOESN’T SHOW UP: If you can’t find your game, it’s usually because the URL to your downloads are missing ‘http://‘. Fix your URLs ( and you will show up. Alternatively, if you just posted it, wait a minute. The cache may not have refreshed yet.

NOT LOGGED IN?: If you get a message about not being logged in, even though you are, it’s because your web browser cached the non-logged in page. You can fix this by either refreshing your cache or clearing your cache. CTRL+F5 in many browsers. Chrome is a bit more work. Press F12 to enable Developer Mode, then you can right click on the refresh button and select “Empty Cache and Hard Reload”. This option is unavailable if you are not in Developer Mode.

[cache: storing page]