[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1750781096358063.gif (2.7 MB, 350x350)
2.7 MB
2.7 MB GIF
Is there a way to get coherent sprites using AI?
>>
File: 1734821105216486.png (14 KB, 503x407)
14 KB
14 KB PNG
>>106793650
you can use SVG. chatGPT is quite good at making them, and all LLMs can work with them generally since they are html code and can contain things like comments to describe things in the design.
for example i use it to make a detailed base, then add flair layers that will provide the 'animation'.

otherwise you might be able to get it to create them with javascript grids/arrays
const W = 1; // Wall
const F = 0; // Floor
const G = 2; // Grass
const C = 4; // Flowers (C for cute)

const grid: number[][] = [
[W, W, W, W, W, W, W, W, W, W, W, W],
[W, G, G, G, G, C, C, G, G, G, G, W],
[W, G, G, C, C, C, C, C, C, G, G, W],
[W, G, C, C, C, G, G, C, C, C, G, W],
[W, G, G, C, G, G, G, G, C, G, G, W],
[F, G, G, G, G, G, G, G, G, G, G, W],
[W, G, G, C, G, G, G, G, C, G, G, W],
[W, G, C, C, C, G, G, C, C, C, G, W],
[W, G, G, C, C, C, C, C, C, G, G, W],
[W, G, G, G, G, C, C, G, G, G, G, W],
[W, W, W, W, W, W, W, W, W, W, W, W]
];

then youd convert that grid code into an image with canvas or something.
>>
>>106793719
>otherwise you might be able to get it to create them with javascript grids/arrays
if you can find a tool to convert a sprite into a javascript array based on pixels, then you could use that as a frame of reference for the LLM and it could make significant changes perhaps
>>
>>106793650
b



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.