LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Only Certified™ Players™ may post in here.
Forum rules
Only Certified™ Players™ may post in here.
If you are not able to post in here, you are not a Certified™ Player™. Play on a mainline /tg/ game server to gain posting powers in this forum. (certified gamers are only calculated once per day)
Locked
Shellton(Mario)
Joined: Mon Jul 26, 2021 5:43 pm
Byond Username: Sheltton

LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Shellton(Mario) » #705280

IF KNOW ANYTHING ON HOW TO GET ACCESS TO THE PROGRAM THAT TAKES A PICTURE AND PAINTS IT ON A CANVAS IN GAME PLEASE MESSAGE ME OR SAY SO HERE.
User avatar
kinnebian
Joined: Tue Jan 19, 2021 2:15 pm
Byond Username: Kinnebian
Location: answering irelands call

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by kinnebian » #705284

paint like a normal spaceman, bitch
respect (let him do his thing)
User avatar
Timonk
Joined: Thu Nov 15, 2018 6:27 pm
Byond Username: Timonk
Location: ur mum

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Timonk » #705286

Such a thing does not exist. We just have talented people.

However if you wanted to make such a thing you would have to get the average color of pixels in an area then paint the average color onto the canvas using a program that can interact with byond
joooks wrote:
Naloac wrote:
In short, this appeal is denied. Suck my nuts retard.
Quoting a legend, at least im not a faggot lol
See you in 12 months unless you blacklist me for this
Timberpoes wrote: I'm going to admin timonk [...]. Fuck it, he's also now my second host vote if goof rejects.
pikeyeskey13 wrote: ok don't forget to shove it up your ass lmao oops u can delete this one I just wanted to make sure it went through
Agux909 wrote:
Timonk wrote:This is why we make fun of Manuel
Woah bravo there sir, post of the month you saved the thread. I feel overwhelmed by the echo of unlimited wisdom and usefulness sprouting from you post. Every Manuel player now feels embarrased to exist because of your much NEEDED wise words, you sure teached'em all, you genius, IQ lord.


The hut has perished at my hands.
Image




The pink arrow is always right.
User avatar
mrmelbert
In-Game Game Master
Joined: Fri Apr 03, 2020 6:26 pm
Byond Username: Mr Melbert

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by mrmelbert » #705293

Such a thing does certainly exist but utilizing it is shameful.
Admin: December 2020 - Present
Code Maintainer: December 2021 - Present
Head Admin: Feburary 2022 - September 2022
Youtube Guy: sometimes


Image
User avatar
Capsandi
Joined: Sat Jan 26, 2019 10:59 pm
Byond Username: Capsandi

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Capsandi » #705294

Meet me behind the archived deleted subforum on the 26th @ 8pm EST. Come alone.
Timonk wrote:
Wesoda25 wrote:Genuinely think they should be blacklisted.
You have clearly never seen his dick
Lower your tone with me if your tracked play time doesn't look like this:
Image
Flatulent wrote:of course you can change religion doing it while islamic however makes you lose your head from happiness
User avatar
TheBibleMelts
In-Game Game Master
Joined: Fri Apr 18, 2014 10:58 pm
Byond Username: TheBibleMelts

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by TheBibleMelts » #705295

tool assisted paintings make me sad
Shellton(Mario)
Joined: Mon Jul 26, 2021 5:43 pm
Byond Username: Sheltton

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Shellton(Mario) » #705296

TheBibleMelts wrote: Sat Sep 23, 2023 2:40 am tool assisted paintings make me sad
Am going to use it make event posters on Manuel, Terry and Sybil. Turning hours of work duplicating the same painting from one server into may an hour or 2 of work. Am just looking copy paste a painting rather than use it to create a painting
User avatar
AwkwardStereo
Joined: Mon Aug 23, 2021 8:24 am
Byond Username: AwkwardStereo

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by AwkwardStereo » #705307

Scriptis has one from a while ago, I let him know about this thread.
User avatar
TheFinalPotato
Code Maintainer
Joined: Sun Oct 13, 2019 7:58 am
Byond Username: LemonInTheDark

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by TheFinalPotato » #705312

Fuck scriptis all my homies hate scriptis
My ancestors are smiling at me, Imperials. Can you say the same?
Image
Image
Image
Image
User avatar
Fikou
In-Game Game Master
Joined: Sun Jun 10, 2018 8:38 am
Byond Username: Fikou
Github Username: Fikou
Location: Dreamland

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Fikou » #705313

fuck of scriptis
User avatar
Thunder11
In-Game Admin
Joined: Fri Apr 18, 2014 12:55 pm
Byond Username: Thunder12345
Github Username: Thunder12345
Location: Scotland, UK

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Thunder11 » #705315

soulless
ImageImage
Spoiler:
IcePacks wrote:
MrFoster wrote:Back in my day, we didn't complain about lag! We used it to queue attacks!
That's thinking on your feet, soldier!
Quality Paprika from #coderbus wrote:[11:35.52] <paprika> holy crap so yeah i don't care about your opinion at all
oranges wrote:
Excuse me? Thats for sensible and calm rational debate, not for senseless whining.
Resident Catmin, please direct catposting to: https://tgstation13.org/phpBB/viewtopic.php?f=37&t=5578
User avatar
Critawakets
Joined: Thu Aug 23, 2018 9:57 pm
Byond Username: CRITAWAKETS
Location: somewhere on Sol III

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Critawakets » #705325

it's not that hard to transcribe a painting from a painting tool to ingame especially now that painting isn't pixel-per-pixel anymore
Image
Image
Image
Image
am gud enineering
scrungo
User avatar
kinnebian
Joined: Tue Jan 19, 2021 2:15 pm
Byond Username: Kinnebian
Location: answering irelands call

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by kinnebian » #705329

Shellton(Mario) wrote: Sat Sep 23, 2023 4:03 am
TheBibleMelts wrote: Sat Sep 23, 2023 2:40 am tool assisted paintings make me sad
Am going to use it make event posters on Manuel, Terry and Sybil. Turning hours of work duplicating the same painting from one server into may an hour or 2 of work. Am just looking copy paste a painting rather than use it to create a painting
oh then thats fine and fun
respect (let him do his thing)
User avatar
Scriptis
Joined: Tue Jul 20, 2021 12:05 am
Byond Username: Scriptis

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Scriptis » #705350

AwkwardStereo wrote: Sat Sep 23, 2023 6:17 am Scriptis has one from a while ago, I let him know about this thread.
TheFinalPotato wrote: Sat Sep 23, 2023 7:36 am Fuck scriptis all my homies hate scriptis
Fikou wrote: Sat Sep 23, 2023 7:59 am fuck of scriptis
gupta made me do it
Image
Spoiler:
Image

Image

Image
Shellton(Mario)
Joined: Mon Jul 26, 2021 5:43 pm
Byond Username: Sheltton

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Shellton(Mario) » #705370

Scriptis wrote: Sat Sep 23, 2023 6:05 pm
AwkwardStereo wrote: Sat Sep 23, 2023 6:17 am Scriptis has one from a while ago, I let him know about this thread.
TheFinalPotato wrote: Sat Sep 23, 2023 7:36 am Fuck scriptis all my homies hate scriptis
Fikou wrote: Sat Sep 23, 2023 7:59 am fuck of scriptis
gupta made me do it
Is it possible for you to give me access to the program so I can use it?
User avatar
Scriptis
Joined: Tue Jul 20, 2021 12:05 am
Byond Username: Scriptis

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Scriptis » #705376

Shellton(Mario) wrote: Sat Sep 23, 2023 7:45 pm Is it possible for you to give me access to the program so I can use it?
i stopped using it and deleted it shortly after the original art contest, which is where, when, and why i made it to begin with

gupta may still have it--if he doesn't it's lost forever
Image
Spoiler:
Image

Image

Image
User avatar
TheFinalPotato
Code Maintainer
Joined: Sun Oct 13, 2019 7:58 am
Byond Username: LemonInTheDark

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by TheFinalPotato » #705381

Scriptis wrote: Sat Sep 23, 2023 6:05 pm gupta made me do it
Most is forgiven

This is sorta anti dog fooding but worst case you could use keyholder perms to copy this stuff over, assuming you were careful
My ancestors are smiling at me, Imperials. Can you say the same?
Image
Image
Image
Image
User avatar
Capsandi
Joined: Sat Jan 26, 2019 10:59 pm
Byond Username: Capsandi

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Capsandi » #705403

the real art painting ui is resizing a desired image to whatever the bounding box for paintings is in game.

Edit: Like in mspaint
Timonk wrote:
Wesoda25 wrote:Genuinely think they should be blacklisted.
You have clearly never seen his dick
Lower your tone with me if your tracked play time doesn't look like this:
Image
Flatulent wrote:of course you can change religion doing it while islamic however makes you lose your head from happiness
BlueMemesauce
Joined: Fri Mar 01, 2019 2:05 pm
Byond Username: BlueMemesauce

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by BlueMemesauce » #705406

yea but how to do you transfer that to the game without painstakingly manually using the ingame ui
Shellton(Mario)
Joined: Mon Jul 26, 2021 5:43 pm
Byond Username: Sheltton

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Shellton(Mario) » #705780

Scriptis wrote: Sat Sep 23, 2023 8:58 pm
Shellton(Mario) wrote: Sat Sep 23, 2023 7:45 pm Is it possible for you to give me access to the program so I can use it?
i stopped using it and deleted it shortly after the original art contest, which is where, when, and why i made it to begin with

gupta may still have it--if he doesn't it's lost forever
Do you need anything special to run the script in vs? I tried a download nodejs and a couple of other things to get it compile and run but no luck
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by oranges » #705815

What kind of script is it? hard to help you if you dont post any info about it.
BlueMemesauce
Joined: Fri Mar 01, 2019 2:05 pm
Byond Username: BlueMemesauce

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by BlueMemesauce » #705817

ask the creator to upload it to github
Shellton(Mario)
Joined: Mon Jul 26, 2021 5:43 pm
Byond Username: Sheltton

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Shellton(Mario) » #705851

oranges wrote: Mon Sep 25, 2023 11:36 pm What kind of script is it? hard to help you if you dont post any info about it.

Its a java script, I am not smart enough to know what info you are looking for so I will just post it here.
NSFW:
/**
* I am a horrible person, and I cheated at Space Station 13 Paint Club.
* - Scriptis#8728
*
* This script automatically fills in a canvas on /tg/station, and was initially
* designed to quickly import silly stupid images. Use responsibly; don't fill
* the gallery with stupid awful garbage, Gupta!!
*
* Simply feed this script an image with a supported canvas size (23x23, 24x24,
* 45x27, etc.), configure the square size of a pixel on the canvas window, get
* a paint palette in your hand, run the script, and mouse over the center of
* the first pixel on the canvas.
*/

const {
getActiveWindow,
sleep,
mouse,
Point,
keyboard,
Key,
screen
} = require("@nut-tree/nut-js");
const {
loadImage,
createCanvas
} = require("canvas");

/**
* Converts RGB values in [0, 255] to a 6-character hex code.
* @param r The red channel.
* @param g The green channel.
* @param b The blue channel.
* @returns The hex code.
*/
function rgb(r, g, b) {
return r.toString(16).padStart(2, "0") +
g.toString(16).padStart(2, "0") +
b.toString(16).padStart(2, "0");
}

(async () => {
await sleep(4000)

// Size of an individual canvas block in pixels
// This varies per canvas; measure your canvas and compute this number
// accordingly
const pxs = 18;

// The image we're drawing.
// Fewer colors in the image results in a faster paint time. Use
// `Image => Reduce Colors` at https://www.photopea.com/ to quickly
// degenerate an image. 20-24 colors is the sweet spot for most images.
const img = await loadImage("teamfabulous.png");

const canvas = createCanvas(img.width, img.height);
const ctx = canvas.getContext("2d");

// Your mouse cursor should be in the center of the first pixel in the
// top-left corner of the canvas when the script starts executing.
const pos = await mouse.getPosition();
const x0 = pos.x;
const y0 = pos.y;

// TG doesn't care about what you're doing in a native Windows color
// picker, so these values were hand-tuned for "how fast can I interact
// with a Windows color picker before it catches on fire?"
keyboard.config.autoDelayMs = 25;
mouse.config.autoDelayMs = 25;

// Copy the image onto the virtual canvas. We use the canvas for sampling;
// if you want to do anything else stupid, hey, here's a canvas with your
// image on it.
ctx.drawImage(img, 0, 0);

// px: Map<string, Set<{x: number, y: number, [r, g, b]: number, code: string>>
// We populate this map with every color appearing in the image, and then
// every pixel with that color in the image. This minimizes palette swaps.
const px = new Map();

for (let y = 0; y < img.height; ++y) {
for (let x = 0; x < img.width; ++x) {
// For every pixel on the canvas, get the color at that pixel.
const data = ctx.getImageData(
x + 0.5,
y + 0.5,
1,
1
).data;

const [r, g, b] = data;

// Get the hex code for that color.
const code = rgb(r, g, b);

if (!px.has(code)) {
// This is the first time encountering this color. Add it to the
// color map.
px.set(code, new Set());
}

// Add the individual pixel to the color map.
px.get(code).add({x, y, r, g, b, code});
}
}

// Just here for some logging. You like progress reports, right?
let currentColor = 0;

// For every color appearing in the image...
for ([code, pixels] of px.entries()) {
currentColor += 1;

console.log(`Color ${currentColor} / ${px.size}: ${code} (${pixels.size}px)`);

// Whether we've configured the palette for this color.
// If we're resuming painting, we may waste a *lot* of time fiddling
// around with the palette doing duplicate work otherwise.
let paletteConfigured = false;

// Paint every pixel with this color.
for (const {x, y, r, g, b} of pixels) {
const point = new Point(x0 + x * pxs, y0 + y * pxs);
const {R, G, B} = await screen.colorAt(point);

if (R === r && G === g && B === b) {
// This pixel is already colored correctly.
continue;
}

if (!paletteConfigured) {
// The palette isn't configured, and we need to color this
// pixel. Configure the palette.
paletteConfigured = true;

console.log("Opening palette...");

// The palette is in our hands. Press the Z key to open the
// color picker.
await keyboard.pressKey(Key.Z);

// Wait for the color picker window to open.
let window;
let title = "";

while (!window || !title.match(/palette/ig)) {
window = await getActiveWindow();
title = await window.title;
}

// BYOND is garbage; the color picker, when it first opens,
// is both invisible (because of Windows fading the window in)
// AND in the wrong place. It's repositioned some time later
// by BYOND; 250ms tends to be just enough to let it reposition.
await sleep(250);

// Now that the color picker is probably in the right position,
// get that position.
window = await getActiveWindow();
title = await window.title;
const {left, top} = await window.region;

console.log("Inputting color...");

// Select the hex input.
await mouse.setPosition(new Point(left + 491, top + 197));
await mouse.leftClick();

// Delete the current value; six backspaces.
for (let j = 0; j < 6; ++j) {
await keyboard.pressKey(Key.Backspace);
}

// Input the new hex code.
await keyboard.type(code);

console.log("Accepting...");

// Click OK.
await mouse.setPosition(new Point(left + 159, top + 336));
await mouse.leftClick();

await sleep(100);
}

// The palette is configured, paint this pixel.
console.log(`Painting (${x}, ${y})`);

await mouse.setPosition(point);
await mouse.leftClick();

// YMMV here. If BYOND starts complaining about too many actions
// in a second, bump this value up. At 250ms, unless time dilation
// is at like 60%+, you won't run into any issues.
await sleep(150);
}

console.log("Done.");
}
})();

When I try running it with nodejs selected as the compiler nothing happens. Console does show anything. When I was testing it I was in game with a canvas and a palette in hand
BlueMemesauce
Joined: Fri Mar 01, 2019 2:05 pm
Byond Username: BlueMemesauce

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by BlueMemesauce » #705869

do you have @nut-tree/nut-js
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by oranges » #705897

you have to run that from the commandline after instlaling node-js and using npm to install https://www.npmjs.com/package/@nut-tree/nut-js
User avatar
Timonk
Joined: Thu Nov 15, 2018 6:27 pm
Byond Username: Timonk
Location: ur mum

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by Timonk » #705927

oranges wrote: Tue Sep 26, 2023 7:43 pm you have to run that from the commandline after instlaling node-js and using npm to install https://www.npmjs.com/package/@nut-tree/nut-js
delete
joooks wrote:
Naloac wrote:
In short, this appeal is denied. Suck my nuts retard.
Quoting a legend, at least im not a faggot lol
See you in 12 months unless you blacklist me for this
Timberpoes wrote: I'm going to admin timonk [...]. Fuck it, he's also now my second host vote if goof rejects.
pikeyeskey13 wrote: ok don't forget to shove it up your ass lmao oops u can delete this one I just wanted to make sure it went through
Agux909 wrote:
Timonk wrote:This is why we make fun of Manuel
Woah bravo there sir, post of the month you saved the thread. I feel overwhelmed by the echo of unlimited wisdom and usefulness sprouting from you post. Every Manuel player now feels embarrased to exist because of your much NEEDED wise words, you sure teached'em all, you genius, IQ lord.


The hut has perished at my hands.
Image




The pink arrow is always right.
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: LOOKING FOR INTEL ON CLASSIFLED ART PAINTING AI

Post by oranges » #706032

this script could be better to, it could listen to a hot key for setting the canvas position, or try to find the canvas window itself using the window titles.
Locked

Who is online

Users browsing this forum: No registered users