468
u/covabishop self.loathing() Dec 16 '19
If you named it anything other than pycasso I swear to Moses I'll come over and ctrl-r it myself
157
115
u/CBSmitty2010 Dec 16 '19
I feel like pyollock makes more sense here.
42
28
u/covabishop self.loathing() Dec 16 '19
I thought about that too but pycasso just rolls off the tongue better I feel
2
-27
u/MainRotorGearbox Dec 16 '19
I’m pretty sure that is a racial slur
11
u/CBSmitty2010 Dec 16 '19
What? Do you not know who Jackson Pollock is?
8
4
2
49
u/ned334 Dec 16 '19
$120.000 modern art piece
21
18
Dec 16 '19
Code please? Is it open source?
24
u/AirHamyes Dec 16 '19
Here ya go. If you wanna add more colors, just add em to the built in dictionary
4
u/AirHamyes Dec 16 '19
Anyone get it to work? DM me some images!
2
u/ram_n Dec 17 '19
Yes, it is working for me. I had to learn some of the quirks, but it works now. My gen-art doesn't look anywhere near as cool, but I'm mainly reverse-engineering the parts of your code to understand how it all works. Haven't used pyautogui before. Very cool.
6
u/AirHamyes Dec 16 '19
yea, gimme a sec. I'm gonna add a function to remove some hardcoded numbers.
0
Dec 16 '19
[deleted]
1
u/RemindMeBot Dec 16 '19 edited Dec 16 '19
I will be messaging you in 8 minutes on 2019-12-16 20:55:06 UTC to remind you of this link
7 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback -2
u/Justinian_is_taken Dec 16 '19
Could you post the link here so we all can see it plz? Very original program, btw
0
-2
Dec 16 '19
!remindme 2 hours
1
u/RemindMeBot Dec 16 '19 edited Dec 16 '19
I will be messaging you in 1 hour on 2019-12-16 23:34:38 UTC to remind you of this link
1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
4
279
u/kpook11 Dec 16 '19
So this is how they make the 90s designs for bus seats
11
11
6
u/ddensa Dec 16 '19
Would be interesting to mix this idea to some kind of DL or ML technic to evolve the painting, like keep doing the strokes but start using patterns, shadows... Etc
6
u/vriemeister Dec 16 '19
2
2
u/ddensa Dec 17 '19
That's interesting, but from the gallery I see that it's only trying to replicate a source image. What I think would be interesting would be to try to copy the style, and create something new using that style (or mixing styles), but I'm just spitting out ideas... I'm not an AI expert
1
u/vriemeister Dec 18 '19
They could hook it up to eigenfaces in some way to gradually evolve an image that is somewhat face-like.
7
u/JustSoManyCups420 Dec 16 '19
Name it the ‘Jackson pollock bot’
2
u/Old_Winterton Dec 16 '19
I was thinkin if it got turned into a robot, that’s some stuff that could be sold at a coffee shop, or somethin.
2
2
2
u/DazedWithCoffee Dec 17 '19
Yeah... but does it duct tape a banana to the canvas? Didn’t think so. /s
1
2
2
2
2
2
2
1
u/911OpenUp Dec 17 '19
Hey! Amazing one. Could you also add a program to select an Eraser at regular intervals of time and give it a stroke of eraser so the what is in between will also have a stroke of erased sheet and plain white (for just one stroke) and the there will be strokes of those colors again. Would be more interesting and satisfying to watch 😅. Great work dude...
1
u/icbint Dec 17 '19
OP posted the source, so you could do that yourself
1
u/911OpenUp Dec 17 '19
I wish i could if i knew how to ¯_(ツ)_/¯
2
u/AirHamyes Dec 17 '19
Copy the run program, call it erase. In the dragTo function inside of it, have it say "right button". Copy the random number generator that gives you the color change function. Have it call erase 1 time. Should work.
1
3
u/Chicken-of-Wisdom Beginner Python Programmer Dec 16 '19
That's so cool! Imagine the unlimited amount of wallpapers you can generate
2
2
u/scottyrogers10 Dec 17 '19
This passes as a "doodle" ?
2
u/PrimaCora Dec 17 '19
Not really. It doesn't refer to anything imaginable, so it's more a splatter art generator.
2
1
1
1
1
1
1
1
1
1
u/Pumpkin_Dumplin Dec 17 '19
You could try implementing genetic algorithm with this to create some art!
1
1
1
1
1
1
u/Wimachtendink Dec 17 '19
It would be cool to see progressively smaller brush size and stroke length
1
u/Free-_-Yourself Dec 17 '19
How do you make Python to Inter at with the programs installed in your computer?
1
1
1
u/cetpanig Dec 17 '19
Useful video you have shared here. How the concept comes in your mind to write program in paint. That good I also learn python online: https://www.cetpainfotech.com/en-ng/python-training-in-nigeria
1
u/Jonisas0407 Dec 17 '19
There is a possibility that it would paint every known painting in the world.
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
u/KomaKurt Dec 16 '19
Looks a bit like the upholstery pattern in busses and trams. Are you sure you want to share the source code? This is your path to never ending wealth
0
-2
-1
0
0
48
u/AirHamyes Dec 16 '19
Here's the sauce code
https://pastebin.com/98EWgWyq