10.7: Painting with Pixels - Processing Tutorial

  Рет қаралды 121,666

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 106
@tu8833
@tu8833 6 жыл бұрын
I'm Japanese student. This video make me feel infinite possibilities of processing. I'll study the great language!!
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Thank you!
@gaborm5673
@gaborm5673 6 жыл бұрын
*makes an entire OS with processing
@KasanovOFFICIAL
@KasanovOFFICIAL 5 жыл бұрын
Lol
@danny_racho
@danny_racho 3 жыл бұрын
And we never heard from him again Lol
@kevnar
@kevnar 6 жыл бұрын
Virtual Van Gogh algorithm: 1. pick a random point on the canvas that has not already been painted. 2. set the circle's color to the color of that point on the frog image, + or - some slight mutation factor 3. set the circle in motion with a vector that has random acceleration added over time, so that it glides and wiggles around in a random walk. 4. As the circle moves, check its color against the color of the frog image at the new location. If it changes too much, stop it. 5. Repeat from step 1 until all areas of the canvas have been filled with color.
@engineeringwithmehran
@engineeringwithmehran 5 жыл бұрын
Processing is a great framework for learning and visualization and you are the best teacher, who helped us grasp our mind over programming and understand some of the basics of some complicated algorithms.
@kg13
@kg13 6 жыл бұрын
My jaw dropped in awe when I saw 3000 particles, loved it!
@abhijeetkushwaha424
@abhijeetkushwaha424 4 жыл бұрын
We love him 3000 xD
@joaquimjesus6134
@joaquimjesus6134 2 жыл бұрын
honestly i love your videos... these playlist videos, about pixels, can used\learned for all languages. the only thing you miss was more about drawing with stretch\alphablend and more about using math with pixels. please add more videos about pixels.. please
@amirulidzham3686
@amirulidzham3686 6 жыл бұрын
Seriously, I need people like you teach people like me as a startup. Sometimes, I having difficulties understanding the code by lab demonstrator.
@AntandraMusic
@AntandraMusic 4 жыл бұрын
These videos are so awesome. Been improving my programming skills a lot. Thanks!
@jaugretler9140
@jaugretler9140 4 жыл бұрын
you are a gift to civilization
@peterhayman1789
@peterhayman1789 8 жыл бұрын
man this idea of pushing pixels into a 3d space! im just so excited to start dooin it!! :-D
@philmageo
@philmageo 4 жыл бұрын
I love you when you make short videos !!! This one is great.
@williamwherewhatwho6177
@williamwherewhatwho6177 7 жыл бұрын
I've been so busy watching your tutorials I've been forgetting to click like. But be not mistaken, I love your videos! Keep them coming!
@mdtanveeralamgir8924
@mdtanveeralamgir8924 7 жыл бұрын
I Just love your work and admire your passion for coding.
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Thank you so much!
@ajnovember
@ajnovember 4 жыл бұрын
You have many excellent videos but this may be your best!
@kocaksaid
@kocaksaid 8 жыл бұрын
okay wow, i think this lesson was quite impressive for me. really amazing... thanks again !
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+said koçak thanks, I'm so glad to hear!
@JavierOrtiz-gg2em
@JavierOrtiz-gg2em 7 жыл бұрын
Un trabajo increible, Gracias por tu aportacion, personas como tu hacen un mundo mejor. ( It is a incredible work, thank you very much for your contribution, people like you make a better world ). Un cordial saludo (best regards).
@mgpyae
@mgpyae 4 жыл бұрын
2:40 you gotta take some minutes here and enjoy the small wonderful little things in life .. :)
@arvikirjonen6219
@arvikirjonen6219 8 жыл бұрын
Code examples link needs updating. And thank you for all the tutorials! Once im done with these i will move start following your coding challenges. Great fun ! :)
@sweethomes674
@sweethomes674 Жыл бұрын
Outstanding information teaching and examples 😊
@Nammedit
@Nammedit 4 жыл бұрын
The last one is so awesome!!
@wiedwijanarto2859
@wiedwijanarto2859 8 жыл бұрын
you just done what everybody needs in graphics ! great job !
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+wied wijanarto thanks for the nice feedback!
@MrSmalix
@MrSmalix 8 жыл бұрын
Great videos, enjoyed wactching'em, witch is quite rare for coding tutorials, thanks !
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Alix Turcq thank you!
@cagr2725
@cagr2725 2 жыл бұрын
Thank you for enjoyable tutorial
@MattRyanBurrows
@MattRyanBurrows 8 жыл бұрын
this is the first video i found that lead me to successfully uploading a image to processing. thank you.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Matt B Drawings so glad to hear!
@flameofphoenix5998
@flameofphoenix5998 4 жыл бұрын
The joy of rendering
@coffeecatrailway
@coffeecatrailway 7 жыл бұрын
if you do this code "ellipse(x, y, i-(i/2), i-(i/2));" it looks really cool!
@cjw6659
@cjw6659 2 жыл бұрын
Processing is awesome.
@hascheidl
@hascheidl 8 жыл бұрын
Link to code example is broken.
@ramoun7633
@ramoun7633 7 жыл бұрын
one of the best out there
@furrane
@furrane 9 жыл бұрын
I going through all your tutorial video of processing, and after each videos I'm like " I got god power at my finger tips " xD I got into processing for an arduino project but I got so mindfucked about the possibilities I just can't stop learning this language. Thanks for the vids man, deeply !
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Furrane Thanks for the nice feedback, good luck!
@miksuko
@miksuko 7 жыл бұрын
Furrane why do people put spaces where they don't belong
@ohaRega
@ohaRega 6 жыл бұрын
Might be the same reason why some people don't put dots where they do belong.
@Vinni-2K
@Vinni-2K 5 жыл бұрын
same for the first sentence :D
@celiacasimiro465
@celiacasimiro465 4 жыл бұрын
10:19 Very Interesting Perception of 2000
@systemdeveloper5266
@systemdeveloper5266 3 жыл бұрын
Thank you for the video! I love watching them and leanring alot :D
@johndoerqaaa
@johndoerqaaa 8 жыл бұрын
You are truly magnificant. love your videos! keep it up
@Tokyo_Pessi
@Tokyo_Pessi 7 жыл бұрын
373 likes, 0 dislikes!! Great job
@corrompido7680
@corrompido7680 7 жыл бұрын
why aren't you a painter, you are really good
@abhijeetkushwaha424
@abhijeetkushwaha424 4 жыл бұрын
@10:22 Dan, I love you 3000
@prabhanshuwakodikar2082
@prabhanshuwakodikar2082 6 жыл бұрын
Thank you sir, i have drawn the image using phyllotaxis algorithm
@navidshad
@navidshad 8 жыл бұрын
Hi Daniel, thank for your great tutorial videos. they've helped me a lot . it has been a question for me that how you earn money? where you are working for yourself or not ?
@Mr_cl0wn
@Mr_cl0wn 7 жыл бұрын
best video ever!!!!!!!!!!!!!!!!!!!!!!!!
@lokeshisrani8827
@lokeshisrani8827 4 жыл бұрын
Further reduce the diameter of circle and you'll see nearly exact replica when exact pixel color is picked and stored.
@tarteur
@tarteur 4 жыл бұрын
Oh hello, Thank you a lot for all your videos. I have a question for you sempai, how can you draw (with the same pict) in a bigger windows, the same pict but resize ? (it's not very clear, sorry i'm french...) I want to do this with a video ! Thanks and have a good day.
@ritikkhatri
@ritikkhatri 6 жыл бұрын
Superb!!!!!!!!!!!!
@laurencegoldman4639
@laurencegoldman4639 4 жыл бұрын
Studio Artist software is doing this kind of thing. Problem is on the fine art aesthetic spectrum, the image output sucks. It doesn’t hold to great art. The system needs to do what Brian Eno’s loops do: endless generation of non-repetitive variation. The accidents need to be something I can never think of myself. The stuff that’s done particle generation from human movement is more interesting. If you take a video of a crowd walking, say. And make moving mats so you get two tone flat shapes moving. And do the same thing with another video and then layer them, you get an organic never repeating set of shapes where each frame is unique forever (if you loop the two out of sync). How do you code that? For example?
@clemmmk
@clemmmk Жыл бұрын
What if you are dealing with arrays? For example an array of string text that you want to pixelate. How will you go about it especially at the for loop?
@riveraluciano
@riveraluciano 2 жыл бұрын
Hi! I just got into Processing and I'm so rusty from programming (haven't done so in years, last time I actually did so was back with Assembly and a little with C). Would you mind uploading the code for the particle systems in 10:20? I'm trying to implement something like that for a project.
@RedsBoneStuff
@RedsBoneStuff 7 жыл бұрын
Cool stuff!
@katem2941
@katem2941 5 жыл бұрын
Does anyone know how to alter the code so that the user “paints” the pixels in themselves. Like if the user moves the cursor around on the screen, then the pixels will show up? I’m new to programming and would appreciate any and all guidance. Thank-you!
@barco10001
@barco10001 4 жыл бұрын
Use the mouseX and mouseY functions for the position of the ellipse, and put the background function in setup.
@bahadrsivasl114
@bahadrsivasl114 8 жыл бұрын
you are the best..
@aurelianobuendia24
@aurelianobuendia24 7 жыл бұрын
I know you can resize the image using as arguments the image like image(img,0,0,width,height); But how do I apply that scaling of a in image to the color array to accoplish the effect that is in the video?
@aurelianobuendia24
@aurelianobuendia24 7 жыл бұрын
Yeah ! im going to publish it there also, but i figure it out : pix = img.get(int(map(pos.x, 0, width, 0, img.width)), int(map(pos.y, 0, height, 0, img.height))); You´ve only have to use map, jeje pretty easy
@michalbotor
@michalbotor 6 жыл бұрын
really cool!
@albertdjikeng729
@albertdjikeng729 7 жыл бұрын
how would you do clustering? separating pixels according to their values and grouping them together
@Anton-wc7lb
@Anton-wc7lb 4 жыл бұрын
Thanks for the video! When I change the get() funktion to a nested loop and then put the ellipse() funktion at the bottom of the loop, the program will attempt to draw a helluvalot of circles? My frog is 750*500 pixels, that seems like too many circles to draw, because my screen remains black :( Any ideas?
@rsvn29
@rsvn29 7 жыл бұрын
which software i can use to try out the algorithm you have shown? Can you suggest any link to download?
@johnniegilkerson4724
@johnniegilkerson4724 5 жыл бұрын
Where is the code for Particle? I looked at all of the links. @ 9:20 in video you skipped past the whole code for Particles?
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Is this the right code? github.com/CodingTrain/website/tree/master/Tutorials/Processing/11_video/sketch_16_1_particles_capture
@AslanTO
@AslanTO 4 жыл бұрын
Im late to this video and dont mind me to ask: is "DipFak" running the similar concept with this image painting?
@ThisToxic
@ThisToxic 7 жыл бұрын
Where can i look at the Explode source code?
@sleep3017
@sleep3017 4 жыл бұрын
well the main sketch is the same like the bubbles he is just calling functions and you can just go to 9:19 and just pause when he scrolls through the whole class and get the basic idea. P.S: There is some sin cos tan stuff in there.
@tagaiismailov4235
@tagaiismailov4235 4 жыл бұрын
Where can I get your chapters with exercises?
@zeichenkunstlerin2644
@zeichenkunstlerin2644 2 жыл бұрын
Hi is there a possibility to get the code of the sunflower :D
@zahidahmed586
@zahidahmed586 6 жыл бұрын
This can be A video intro!
@syamahmad1229
@syamahmad1229 7 жыл бұрын
can we do real time image processing in this platform...form arduino camera...????
@joaquimjesus6134
@joaquimjesus6134 2 жыл бұрын
how do the alphablend and stretch using math?
@CharIie83
@CharIie83 6 жыл бұрын
genius
@marijnmeijers
@marijnmeijers 6 жыл бұрын
Hello! Please help me! I want to fill a png image. I only want to fill a silhouette. Is this possible ? Please help it's a school project.
@sarmenalmond3622
@sarmenalmond3622 4 жыл бұрын
How to resize the image within this array? and What's the last line after particles[i].new ; ah!!
@olfmombach260
@olfmombach260 7 жыл бұрын
Where the heck do you get all of your ideas? My process (no pun intended) of learning a programming language always stagnates because I don't have any new ideas what to do...
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
I would suggest finding a community to learn / collaborate with!
@olfmombach260
@olfmombach260 7 жыл бұрын
Do you know any good ones? I am completely new to this field, sorry for my incapability ;)
@ellenchu1850
@ellenchu1850 8 жыл бұрын
Is there way to code pixels into shapes eg: rect and the ellipse code and apply it onto an image?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Ellen Chu I would take a look at the texture() function. You can process pixels in a PImage object and then "texture" it onto a shape.
@CamilaHernandez-um6on
@CamilaHernandez-um6on 8 жыл бұрын
version 3.2.1 does not receive get ( int ( x ) , int ( y)) :( I don't know what to do.
@nirajgautam403
@nirajgautam403 2 жыл бұрын
Which programming language
@Anonimousxz
@Anonimousxz 4 жыл бұрын
Many cool!!! omg o/
@danny_mg9535
@danny_mg9535 7 жыл бұрын
Hey there, I notice that each ellipse is entirely the same color can each pixel rather, have a different color? regardless of whether or not it's in the same ellipse
@danny_mg9535
@danny_mg9535 7 жыл бұрын
and minus the shortcut of having really small ellipses
@danny_mg9535
@danny_mg9535 7 жыл бұрын
Hey, got it. I used PGGraphics coupled with a mask image
@leandroaraujo4201
@leandroaraujo4201 6 жыл бұрын
XD, use notes instead of replying yourself, nah, do what you want :D
@RichardCorral
@RichardCorral 9 жыл бұрын
ah so fun
@TheCodingTrain
@TheCodingTrain 9 жыл бұрын
+RichardCorral Thank you!
@fairydragonbreath9192
@fairydragonbreath9192 6 жыл бұрын
The link for the examples on the github says 404. Can you show us how to do this in p5?
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Oops! github.com/CodingTrain/Rainbow-Code/tree/master/Tutorials/Processing For p5: kzbin.info/www/bejne/ZoeWpox3Zs2UnM0
@giovannygalindo4726
@giovannygalindo4726 6 жыл бұрын
the Link is broken, I want to see it!!! :(
@laurencegoldman4639
@laurencegoldman4639 4 жыл бұрын
After seeing those dance images with Kinect, the difference is this. It’s a whole other thing if the streaking is a HUMAN GESTURE, as opposed to what is outputted here. I.e a spontaneous path that’s never the same twice. What’s happening here is computer rendering of something already done , fixed. Art creation is fluid, dynamic, endlessly interactive, subtle. It stops and considers. Makes constant changes. Code needs to codify this.
@YLprime
@YLprime 4 жыл бұрын
Why do we need to vx and vy instead of speed
@tvojtatko123
@tvojtatko123 8 жыл бұрын
your github link is broken
@iampetah5409
@iampetah5409 7 жыл бұрын
Hey, can anyone here help me with this: github.com/processing/processing/issues/5025 ? For some reason there is a arrayindexoutofboundsexception, but it actually isnt.. What the hell is happening here?
@pronobroy8389
@pronobroy8389 7 жыл бұрын
Why you do unnecessary smile always?
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1 МЛН
10.4: Pixels! (The Pixels Array) - Processing Tutorial
21:25
The Coding Train
Рет қаралды 121 М.
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 38 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 44 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 70 МЛН
REAL MAN 🤣💪🏻
00:35
Kan Andrey
Рет қаралды 25 МЛН
Recreating Vintage Computer Art with Processing
16:44
Alexander Miller
Рет қаралды 351 М.
Coding Challenge #90: Floyd-Steinberg Dithering
28:51
The Coding Train
Рет қаралды 438 М.
Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing
22:44
One CPU To Rule Them All - Ryzen 7 9800X3D Review
12:47
Linus Tech Tips
Рет қаралды 1,1 МЛН
4.1: Variables - Processing Tutorial
19:02
The Coding Train
Рет қаралды 197 М.
1.1: Drawing with Pixels - Processing Tutorial
13:51
The Coding Train
Рет қаралды 319 М.
6 Research Levels Every Academic Must Master - You're Stuck at Level 2
13:15
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 38 МЛН