{"author_link":"\/users\/loveapplegames","author_name":"loveapplegames","author_uid":1006791,"comments":[{"id":940186,"author_name":"jward","author_uid":"jward","epoch":1682988710,"text":"Interesting, the page is throwing for me (in Linux) with error: Error: invalid wire type 4 at offset 3\n\nI'll have to come back and try it in Windows.","format":"md","likes":1,"spam":"N"},{"id":941118,"author_name":"cheesepencil","author_uid":"cheesepencil","epoch":1682994003,"text":"Maybe I'm not doing it right but I don't see a moving image to click on :-(\n\nFireFox + Windows 11","format":"md","likes":1,"spam":"N"},{"id":943225,"author_name":"loveapplegames","author_uid":"loveapplegames","epoch":1683012592,"text":"Sorry guys! There is a problem with the files. My hosting service is malfunctioning so I can't fix it now. I have created a support ticket. Please be patient...","format":"md","likes":0,"spam":"N"},{"id":943762,"author_name":"loveapplegames","author_uid":"loveapplegames","epoch":1683017792,"text":"Fixed the problem! It should work now.","format":"md","likes":0,"spam":"N"},{"id":976841,"author_name":"Austin Sierra","author_uid":"austin-sierra","epoch":1683734331,"text":"Cool math but not really a game. I love AI projects though. Great work, and have a great ludum dare!","format":"md","likes":1,"spam":"N"},{"id":981913,"author_name":"milq","author_uid":"milq","epoch":1684407877,"text":"I can't vote for you but it's not a game, it's a tool. But if I could you would be the winner, what a tool! As a PhD in artificial visio, I congratulate you. Also, my games are 8 bit pixel art (like mine from this LD53, Frogivio) and 16 bits and I have to admit that the result is fantastic. What surprises me is that there is always a black border, can it be that there are results without that black border always? I say this to add more variety. The tool would be great for creating items too. And if you mix it with a prompt it would be spectacular. But come on, I can only sincerely congratulate you on the work, it's not easy. What's more, none of the professional AIs get pixel art animations that I can remember, and above with several animations to choose! I insist, my most sincere congratulations!","format":"md","likes":1,"spam":"N"}],"format":"md","images":["ld53\/wayback-placeholder.png"],"links":[{"url":"http:\/\/tmtg.nl\/ludumdare\/ld53\/","text":"Original entry"},{"url":"http:\/\/tmtg.nl\/ludumdare\/ld53-potionsdemo\/","text":"Postcompo potions gen"},{"url":"http:\/\/tmtg.nl\/ludumdare\/ld53-charactergen\/","text":"Postcompo character gen"}],"metadata":{"g_key":"88730","g_author":"1006791","g_event":"LD53","g_eventkey":"118","g_subevent":"JAM","g_urlkey":"425222","g_title":"I dream of pixel art: AI game","g_status":"WAYBACK","g_place":"99999","g_commentcount":"6","g_site2_node_id":"361269","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":{"n_key":"361269","n_urlkey":"425222","n_parent":"332127","n_path":"\/events\/ludum-dare\/53\/i-dream-of-pixel-art-ai-game","n_slug":"i-dream-of-pixel-art-ai-game","n_type":"item","n_subtype":"game","n_subsubtype":"jam","n_author":"6791","n_created":"1682764202","n_modified":"1779135115","n_version":"1146955","n_status":"WAYBACK"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD53","removed_author":false},"_superparent":9,"_trust":13,"author":6791,"body":"Sorry guys, my entry has nothing to do with the theme. This LD, I had the insane idea of creating an AI and putting it in a browser game.  And I had an insane weekend, being a total noob to Python, PyTorch, and deep learning.  \n\nMy entry includes a image-to-image generative AI, is made with the Pytorch library, which enables deep learning using a PC's GPU. It is a 5-layer convolution network trained as an autoencoder (originally as a GAN, but this did not work).  The weight data is converted to the ONNX format for loading in the browser. It uses WebGL to accelate execution.  The AI feeds back into itself, changing into different shapes.  This is also called \"dreaming\".\n\nThe original entry was trained on a set of 1800 8x8 RGBA images. The resulting shapes vagely resemble pixel art, which is the best I could do in the limited time.  This AI basically sucks. It adds noise so it keeps changing, but sometimes converges into a static pattern, just reload or copy back to try again.\n\nClick on the animating image to make a copy. The copy will be shown below the animation. Click on a copy to copy it back to the AI. Have fun creating \"pixel art\"!\n\nPOSTCOMPO UPDATE 1: POTION GENERATOR\n\nAfter a week of hard work, I managed to improve the AI a lot. I found there was a bug in the data exporter, also I cleaned up the dataset and optimized the network. Once it worked well, I fed it a new dataset of similar images (potion sprites), that allows the network to not just recall the data but also generalize from it.  At this point, the network converges reliably to valid images, and can be used as an in-game sprite generator. The network has been shrunk from 32Mb to about 350Kb. Check the postcompo demo to see the result!\n\n![potions-demo-screenshot-1.png](\/\/\/raw\/78a\/1\/z\/5baa9.png)\n\nPOSTCOMPO UPDATE 2: ANIMATED CHARACTER GENERATOR\n\nMy next step was to go from faithful reproduction to actual creative generation. For this, I created a dataset of 376 8x8 characters taken from freely available sources. Because pixel art is prone to overfitting, I removed oddballs to arrive at 166 humanoid characters, and shrunk the latent size to 3. The result is a quite useful animated game character generator. You can download a sprite sheet with just 2 clicks. \n\n![Screenshot 2023-05-18 at 11-28-31 Screenshot.png](\/\/\/raw\/78a\/1\/z\/5bd6c.png)\n\n","comments":6,"comments-timestamp":"2023-05-18T11:04:37Z","created":"2023-04-29T10:30:02Z","files":[],"files-timestamp":0,"grade":{"grade-01":7,"grade-02":7,"grade-03":7,"grade-04":7,"grade-05":7,"grade-07":7,"grade-08":7},"id":361269,"love":0,"magic":{"cool":41.319693527067,"feedback":0,"given":0.875,"grade":7,"grade-01-average":1.9,"grade-02-average":2,"grade-03-average":3.1,"grade-04-average":1.3,"grade-05-average":3.2,"grade-07-average":1.7,"grade-08-average":2,"smart":-62.203552699077},"meta":{"author":[6791],"cover":"\/\/\/content\/78a\/1\/z\/598f6.png","grade-06-out":"1","link-01":"http:\/\/tmtg.nl\/ludumdare\/ld53\/","link-01-name":"Original entry","link-01-tag":[42336],"link-02":"http:\/\/tmtg.nl\/ludumdare\/ld53-potionsdemo\/","link-02-name":"Postcompo potions gen","link-02-tag":[42336],"link-03":"http:\/\/tmtg.nl\/ludumdare\/ld53-charactergen\/","link-03-name":"Postcompo character gen","link-03-tag":[42336]},"meta-timestamp":"2026-05-18T20:11:55Z","modified":"2026-05-18T20:11:55Z","name":"I dream of pixel art: AI game","node-timestamp":"2023-05-18T09:36:10Z","parent":332127,"parents":[1,5,9,332127],"path":"\/events\/ludum-dare\/53\/i-dream-of-pixel-art-ai-game","published":"2023-05-01T23:31:13Z","scope":"public","slug":"i-dream-of-pixel-art-ai-game","subsubtype":"jam","subtype":"game","type":"item","version":1146955},"text":"Sorry guys, my entry has nothing to do with the theme. This LD, I had the insane idea of creating an AI and putting it in a browser game.  And I had an insane weekend, being a total noob to Python, PyTorch, and deep learning.  \n\nMy entry includes a image-to-image generative AI, is made with the Pytorch library, which enables deep learning using a PC's GPU. It is a 5-layer convolution network trained as an autoencoder (originally as a GAN, but this did not work).  The weight data is converted to the ONNX format for loading in the browser. It uses WebGL to accelate execution.  The AI feeds back into itself, changing into different shapes.  This is also called \"dreaming\".\n\nThe original entry was trained on a set of 1800 8x8 RGBA images. The resulting shapes vagely resemble pixel art, which is the best I could do in the limited time.  This AI basically sucks. It adds noise so it keeps changing, but sometimes converges into a static pattern, just reload or copy back to try again.\n\nClick on the animating image to make a copy. The copy will be shown below the animation. Click on a copy to copy it back to the AI. Have fun creating \"pixel art\"!\n\nPOSTCOMPO UPDATE 1: POTION GENERATOR\n\nAfter a week of hard work, I managed to improve the AI a lot. I found there was a bug in the data exporter, also I cleaned up the dataset and optimized the network. Once it worked well, I fed it a new dataset of similar images (potion sprites), that allows the network to not just recall the data but also generalize from it.  At this point, the network converges reliably to valid images, and can be used as an in-game sprite generator. The network has been shrunk from 32Mb to about 350Kb. Check the postcompo demo to see the result!\n\n![potions-demo-screenshot-1.png](\/\/\/raw\/78a\/1\/z\/5baa9.png)\n\nPOSTCOMPO UPDATE 2: ANIMATED CHARACTER GENERATOR\n\nMy next step was to go from faithful reproduction to actual creative generation. For this, I created a dataset of 376 8x8 characters taken from freely available sources. Because pixel art is prone to overfitting, I removed oddballs to arrive at 166 humanoid characters, and shrunk the latent size to 3. The result is a quite useful animated game character generator. You can download a sprite sheet with just 2 clicks. \n\n![Screenshot 2023-05-18 at 11-28-31 Screenshot.png](\/\/\/raw\/78a\/1\/z\/5bd6c.png)\n\n","title":"I dream of pixel art: AI game","wayback_recovered":true,"wayback_source":{"capture":{"original":"https:\/\/api-jam.ludumdare.com\/vx\/node2\/get\/371001+371002+371003+371004+371005+371006+371007+371008+371009+371010+371011+371012+371013+371014+371015+371016+371017+371018+371019+371020+371021+371022+371023+371024+371025+371026+371027+371028+371029+371030+371031+371032+371033+371034+371035+371036+371037+371038+371039+371040+371041+371042+371043+371044+371045+371046+371047+371048+371049+371050+371051+371052+371053+371054+371055+371056+371057+371058+371059+371060+371061+371062+371063+371064+371065+371066+371067+371068+371069+371070+371071+371072+371073+371074+371075+371076+371077+371078+371079+371080+371081+371082+371083+371084+371085+371086+371087+371088+371089+371090+371091+371092+371093+371094+371095+371096+371097+371098+371099+371100+371101+371102+371103+371104+371105+371106+371107+371108+371109+371110+371111+371112+371113+371114+371115+371116+371117+371118+371119+371120+371121+371122+371123+371124+371125+371126+371127+371128+371129+371130+371131+371132+371133+371134+371135+371136+371137+371138+371139+371140+371141+371142+371143+371144+371145+371146+371147+371148+371149+371150+371151+371152+371153+371154+371155+371156+371157+371158+371159+371160+371161+371162+371163+371164+371165+371166+371167+371168+371169+371170+371171+371172+371173+371174+371175+371176+371177+371178+371179+371180+371181+371182+371183+371184+371185+371186+371187+371188+371189+371190+371191+371192+371193+371194+371195+371196+371197+371198+371199+371200+371201+371202+371203+371204+371205+371206+371207+371208+371209+371210+371211+371212+371213+371214+371215+371216+371217+371218+371219+371220+371221+371222+371223+371224+371225+371226+371227+371228+371229+371230+371231+371232+371233+371234+371235+371236+371237+371238+371239+371240+371241+371242+371243+371244+371245+371246+371247+371248+371249+371250+371251+371252+371253+371254+371255+371256+371257+371258+371259+371260+371261+371262+371263+371264+371265+371266+371267+371268+371269+371270+371271+371272+371273+371274+371275+371276+371277+371278+371279+371280+371281+371282+371283+371284+371285+371286+371287+371288+371289+371290+371291+371292+371293+371294+371295+371296+371297+371298+371299+371300+371301+371302+371303+371304+371305+371306+371307+371308+371309+371310+371311+371312+371313+371314+371315+371316+371317+371318+371319+371320+371321+371322+371323+371324+371325+371326+371327+371328+371329+371330+371331+371332+371333+371334+371335+371336+371337+371338+371339+371340+371341+371342+371343+371344+371345+371346+371347+371348+371349+371350+371351+371352+371353+371354+371355+371356+371357+371358+371359+371360+371361+371362+371363+371364+371365+371366+371367+371368+371369+371370+371371+371372+371373+371374+371375+371376+371377+371378+371379+371380+371381+371382+371383+371384+371385+371386+371387+371388+371389+371390+371391+371392+371393+371394+371395+371396+371397+371398+371399+371400+371401+371402+371403+371404+371405+371406+371407+371408+371409+371410+371411+371412+371413+371414+371415+371416+371417+371418+371419+371420+371421+371422+371423+371424+371425+371426+371427+371428+371429+371430+371431+371432+371433+371434+371435+371436+371437+371438+371439+371440+371441+371442+371443+371444+371445+371446+371447+371448+371449+371450+371451+371452+371453+371454+371455+371456+371457+371458+371459+371460+371461+371462+371463+371464+371465+371466+371467+371468+371469+371470+371471+371472+371473+371474+371475+371476+371477+371478+371479+371480+371481+371482+371483+371484+371485+371486+371487+371488+371489+371490+371491+371492+371493+371494+371495+371496+371497+371498+371499+371500?authors&parents&superparent"},"object":"objects\/sha256\/01\/01f9efbeebd1f9f741c7956546131b39496e443453ecce247b7b514fc634c744","record":"shard-2\/json-live-urgent-v3\/records\/f2f7bdd09ebe170a431098c61312e4721f270a3766e50e14f4a5245e2497fd06.json","sha256":"01f9efbeebd1f9f741c7956546131b39496e443453ecce247b7b514fc634c744","source":"https","stored_at":1784022475}}