How do you teach so well? You're style of teaching clicks so well with me, it's crazy! Wish you were my teacher, so grateful to have your channel available to me.
just want to say how grateful I am for you! I am an artist taking a coding/electro-art making class right now and your videos have been such a game changer for me! so appreciate you!!
Hello from South Korea! Thank you always!👍 Thanks to you, I can learn easily and get to know in detail. You solved my problem! My professor always talks about you and recommends your 'Learning Processing'book. I'll wait for more lectures on Processing :)
Just a side note, there's an extremely robust cli program called ffmpeg(if this helps, it's like image magick but for videos) and it can do the same thing. the advantage is it can convert to pretty much any video format your can think of and has done advanced options like overlays (in the same way learning gimp/Photoshop is useful, learning ffmpeg and image magick pays off a lot)
Huuuuge thanks. I searched for solution to save animation since yesterday and all I found was advice to render video right in program using ffmpeg(I make project in c++ on Linux). But this solution is super simple and fast to implement.❤❤❤❤❤
Awesome just implemented this to help me produce some better quality animation - love your videos it has helped me learn Processing and now i'm making some of my own videos using it :)
Sorry to be pedantic but PNG is technically compression, but it's just lossless compression which will compress the image file as much as it can without losing any detail from the image.
What?! Haha, anyway.. What I thought was to simply do this, instead of using `saveFrames()` 😁: ```processing // (using "Processing" here works in Discord markdown at least!) save("picture_" + frameCount + ".png"); ```
Thank you for this; However, I still experience a little bit of trouble on my side, I am trying to export a video from a code that is audio reactive (the export will be a music video), and when I run the code for 3.38min (length of the track), it works but the output is only 30 sec or so.. I understand that it "slows down" when the code is saving frame while running but since the visuals are linked to the sound in "real time" it is a problem for me... Any idea how to fix this? I would highly appreciate.
OK, I found one VERY twisted way to do so..: I play the music about 6 times slower, then I add the original track when using the movie maker option. Mean that I ran the code for 22min or so for a 3min track, and it looks all right, the tricky business was to find the ratio to slow down the music accordingly.
Yes, this is a very tricky problem! You need to do something where you get the sound data not in realtime but read it slowly with each Processing frame. I'll have to think about this more. maybe ask at forum.processing.org!
Haha, that was quick! (I know, you're post is 8 months old) I think I found the perfect solution for recording without any need of slowing down anything (provided your sketch already runs at the needed speed without saving frames within the sketch). I used Syphon before for sending my PDEs to a mapping software to project live visuals. And it turns out there's also a Syphon Recorder which can record in any reasonable formats like Animation or the like. Without any noticeable lag so far I could test it. Hope it works for you too! You can download the Syphon Recorder for free here: syphon.v002.info/recorder/ and obviously you need the Syphon processing library that you can find here: github.com/Syphon/Processing
> Want to add video output to my program(written in C) > Hmmm, PNGs sound like a very inefficient storage > Lets see, what lossless video codecs do we have > Oh, actually, MotionJPEG2000 sounds good > What libraries do we have? > openjpeg, seems good > Download it, try to write a simple sketch utilizing it > ... > Okay, wheres the documentation? > Any samples or whatever? > Guess I gotta use test programs > ... > Wait thats not _Motion_ JPEG > Uhh, okay, don't worry we have Doxygen > Wait what > What is this > What do I need to call > That doesn't work > WTF does this field store??? > It's discription is its name, very informative > WHAT IS THIS LIBRARY > I JUST WANT TO WRITE JPEGZ > WHYYYY > ... > fucc that
What if my Processing has an interaction like mousePressed. What file do I have to save so when people click and then they can see my art movement? Thank you :)
beautiful tutorial, but for some strange reason, when saving with #### it does not generate separate images, the image is overwritten, any ideas about what it could be?
Hello! I'm working with processing and wanted to know if there was any way to stitch together images into a video through the processing language itself. I basically want to be able to create videos through code, instead of through the external program they have available. Many thanks, -Matires.
Hi ! I just discovered your tutos, thank you so much, it's so well explain !! I recently find out about processing and augmented reality and I was wondering if you could make a tutorial about it, it could be amazing !
Hey! Really glad that I found this video, this is quite good material that is bugging my mind for some time! I wonder if this is similar technology that Facebook is using to create their birthday and new year videos? I mean, we can define placeholders for texts and number of likes and spots for images, create some animations by default and render? But the preview comes up so fast on Facebook that this is unbelievable! I know, they have cloud power of unlimited RAM and they can handle that thing, but is this how they do it, just smaller scale?
This is 3 years late haha. But the GOL class holds a simulation called “The Game of Life.” Dan just made it as an example to show that the recording system in processing does in fact work (he could’ve used anything else, really. I bet it was just an arbitrary decision). In other words, the absence of this file does not affect the recording in any way. Sorry for the 3-year-late response!
When I try to draw using say the Depths sketch from (www.openprocessing.org/sketch/117601) this technique of saving .pngs slows down my computer so much that I can't really get a good video capture. I mean I can't react with the sketch and still have it record in real time. Unless you have a super powerful computer, are there any other options other than screen capture which looks pretty bad.
I have the same problem, it slows down so much that it is no longer interactive. There is a similar problem with the homoid video_export as well and it is not even possible to record a proper video because of super lag. Sketch can run 30-50 fps without any recording.
Hello Daniel. This is great but I have two problems: 1.- I'm trying to render at 4k resolution (3840x2160) but when I run the sketch, the window is only as big as my screen, so the saveFrame() function doesn't actually save the full 3840x2160 pixels but just the part that fits my screen. 2.- I want to render with a transparent background, is this possible? I read somewhere in the documentation that I needed to use createGraphics(), but I don't really understand what that's supposed to mean. I hope you (or someone else in the comments) can help me. Thanks for the great videos!
createGraphics is your answer to both questions! For me, please ask at forum.processing.org? It's easier for me and others to help that way (you can share code there easily!).
Hi, Daniel Shiffman! First I'd like to congratulate and thank you for all the videos you upload in this youtube channel! you provided this online comunity a really good source for code learning! Now, I've being struggling with a problem in processing, and I wonder if you could give me a light on this problem: I got this pattern using perling Noise that I'd like to use as a background of an application I'm working on, but its very heavy processing to generate this pattern every frame, is there a way of storing this pattern like an imagem right at the begining of the application ( so that everytime I run it, the pattern will be slightly different), and ALSO rendering it larger than the actual canvas, since I'd like to zoom in and out this background without losing quality. Can I do something like that in processing 3? Some way os creating an image buffer in an arbitrary size, do all my drawing to it and then saving it as an image ( no need of an actual file, just keep in the application as an image so I can print it over everyframe like a stamp I can 2D transform without all the pattern processing all over again. Thanx for your attention! Marcelo
Hi! I'm having trouble with a sketch, try to save specific frames to pdf with mousePressed. the weird thing is when I open the pdf file, is just a big white square with nothing on it. The file is an animation from a perlin noise file made by Gábor Törőcsik-Nagy found in open processing. www.openprocessing.org/sketch/238882 Any thoughts or suggestions? thanks!
There's a software called Photoscape that can stitch the images into a gif and have precise control over which frame is displayed for what duration in the gif.(and of course do much more than that) That's what I use ..
Hi Daniel! First of all thank you so much for all your amazing work!! You are truly my hero. I have a question relating to P5 - Is there a way to export to a movie file from a sketch made in P5? I tried implementing Ccapture library but it doesn't work. I am using quickTime to capture the screen but that results in really poor quality videos:/ I was wondering if you could make a tutorial to help with that? It would be really great to be able to share on social networks work done with p5. Thank you so much!
In my export I am having sync issues between video and audio in my export because the sketch runs at a much lower frame rate while it records. Any clue on how to fix it?
is your sketch using saveFrame("img#########.tif"); or screnshot1.save("img"+frameCount+".png"); or something like that? How are you generating the sound?
Really nice video Bravo! Hey I have trouble getting matrix transformation (array multiplications) with Processing could you do a video about it? And again congratulations for your work :-) Regards from Switzerland
Hello, I am a beginner and I am trying to implement your code into the sketch you have in processing called "mirror2" for practice. However, when I type the code GOL gol; above the video setup, it tells me that "The class "GOL" does not exist." !!! Any help would be appreciate it. Thank you. =]
Never mind. I figured it out. However I am having trouble with the recored button. Even though I put the "ellipse" code line below "saveFrame" I am still seeing it show up on the screens that were captured!!!
Hey, I have been out of practice and this was a while ago, so I don't exactly remember what I did. But I found the code that I was messing around with. I will paste it for you down here to look at. /** * Mirror 2 * by Daniel Shiffman. * Edited by Saam-E * Each pixel from the video source is drawn as a rectangle with size based on brightness. */ import processing.video.*; Capture cam; // Size of each cell in the grid int cellSize = 18; // Number of columns and rows in our system int cols, rows; // Variable for capture device Capture video; boolean recording = false; void setup() { size(1280, 720); video = new Capture(this, 1280, 720, 30); video.start(); // Set up columns and rows cols = width / cellSize; rows = height / cellSize; colorMode(RGB, 225, 255, 225, 100); rectMode(CENTER); } void captureEvent(Capture video) { video.read(); if (key == 'r' || key == 'R') { recording = !recording; } } void draw() { video.read(); background(0); video.loadPixels(); background(#FF03EF); // Begin loop for columns for (int i = 0; i < cols;i++) { // Begin loop for rows for (int j = 0; j < rows;j++) { // Where are we, pixel-wise? int x = i * cellSize % 9000; int y = j * cellSize % 9000; int loc = (video.width - x - 1) + y*video.width; // Reversing x to mirror the image // Each rect is colored white with a size determined by brightness color c = video.pixels[loc]; float sz = (brightness(c) / 255.0) * cellSize; fill(#FFFFFF); noStroke(); rect(x + cellSize/2, y + cellSize/2, sz, sz); if (recording) { saveFrame("output/mirror3_####.png"); fill(225, 0, 0); } else { fill(0, 225, 0); } ellipse(width/2, height-50, 20, 20); } } }
Dmitry Voloshyn p5 uses canvas. the canvas API also lets you save frames to PNG. then you can use processing's movie maker. Apparently also Firefox has an experimental feature (disabled by default) that is called HTMLCanvasElement.captureStream() which you could use.
How do you teach so well? You're style of teaching clicks so well with me, it's crazy! Wish you were my teacher, so grateful to have your channel available to me.
Thank you for the nice feedback!
Indeed. Super good teaching. I had a lot of fun. I arrived here almost by mistake but stayed for the whole class.
BRO nice username ;)
just want to say how grateful I am for you! I am an artist taking a coding/electro-art making class right now and your videos have been such a game changer for me! so appreciate you!!
It's just so helpful! I'm so happy you are here. Thank you, thank you for everything!
If only everything was explained so directly....I'm watching these videos and making progress by the minute. Brilliant.
Hello from South Korea!
Thank you always!👍
Thanks to you, I can learn easily and get to know in detail.
You solved my problem!
My professor always talks about you and recommends your 'Learning Processing'book. I'll wait for more lectures on Processing :)
Just a side note, there's an extremely robust cli program called ffmpeg(if this helps, it's like image magick but for videos) and it can do the same thing. the advantage is it can convert to pretty much any video format your can think of and has done advanced options like overlays (in the same way learning gimp/Photoshop is useful, learning ffmpeg and image magick pays off a lot)
by same thing, I mean stitch images into video
thanks for the tip!
It really looks like programmers are real life wizards.
Amazing your videos! I’m just starting on and I founded your content super nice! Great teaching ✨✨
thanks man. I'm learning java in my IB class right now so i'm totally going to use your tutorials
+Rophi so glad to hear!
Huuuuge thanks. I searched for solution to save animation since yesterday and all I found was advice to render video right in program using ffmpeg(I make project in c++ on Linux). But this solution is super simple and fast to implement.❤❤❤❤❤
Awesome just implemented this to help me produce some better quality animation - love your videos it has helped me learn Processing and now i'm making some of my own videos using it :)
Sorry to be pedantic but PNG is technically compression, but it's just lossless compression which will compress the image file as much as it can without losing any detail from the image.
Yes, this is a very good point, thank for the clarification!
PNG can be saved without compression too.... but The Coding Train's too polite to tell you. =)
@@TheCodingTrain You are such a wonderful person who teaches passionately.
1000 hugs ... ;-) ! is there a Nobel prize for teaching ... ?
Very cool!! Super awesome!! Super thank you!!
How do i handle it when i want to record video and audio output from processing?
THANK you dan :D, i can now save without having to go back to the sketch and rename the 1, 2, 3, 4 etc. .... @ 3:08
What?! Haha, anyway.. What I thought was to simply do this, instead of using `saveFrames()` 😁:
```processing
// (using "Processing" here works in Discord markdown at least!)
save("picture_" + frameCount + ".png");
```
@@Brahvim is this work for animation only?
can i make 100 png at the same time?
Great feature!
Didn't know about it before!
Thanks! :)
it was really cool! thanks daniel
+Pao Tai Tai glad to hear, thank you!
Thank you so much!!
Nice video! I never knew about the save("blah.png"); lol. Please keep rolling out amazing videos! :D
+syruptree Thank you!
I LUV U was so helpful!!!!
Wonderful video as usual :)
Thank you for this; However, I still experience a little bit of trouble on my side, I am trying to export a video from a code that is audio reactive (the export will be a music video), and when I run the code for 3.38min (length of the track), it works but the output is only 30 sec or so.. I understand that it "slows down" when the code is saving frame while running but since the visuals are linked to the sound in "real time" it is a problem for me... Any idea how to fix this? I would highly appreciate.
OK, I found one VERY twisted way to do so..: I play the music about 6 times slower, then I add the original track when using the movie maker option. Mean that I ran the code for 22min or so for a 3min track, and it looks all right, the tricky business was to find the ratio to slow down the music accordingly.
Yes, this is a very tricky problem! You need to do something where you get the sound data not in realtime but read it slowly with each Processing frame. I'll have to think about this more. maybe ask at forum.processing.org!
I have this problem too. Also doing a music video. Would love to find some nice workarounds. Did you find any in the meantime?
Haha, that was quick! (I know, you're post is 8 months old) I think I found the perfect solution for recording without any need of slowing down anything (provided your sketch already runs at the needed speed without saving frames within the sketch). I used Syphon before for sending my PDEs to a mapping software to project live visuals. And it turns out there's also a Syphon Recorder which can record in any reasonable formats like Animation or the like. Without any noticeable lag so far I could test it. Hope it works for you too!
You can download the Syphon Recorder for free here: syphon.v002.info/recorder/
and obviously you need the Syphon processing library that you can find here: github.com/Syphon/Processing
nooo.... mac only .(
You are the best!!
> Want to add video output to my program(written in C)
> Hmmm, PNGs sound like a very inefficient storage
> Lets see, what lossless video codecs do we have
> Oh, actually, MotionJPEG2000 sounds good
> What libraries do we have?
> openjpeg, seems good
> Download it, try to write a simple sketch utilizing it
> ...
> Okay, wheres the documentation?
> Any samples or whatever?
> Guess I gotta use test programs
> ...
> Wait thats not _Motion_ JPEG
> Uhh, okay, don't worry we have Doxygen
> Wait what
> What is this
> What do I need to call
> That doesn't work
> WTF does this field store???
> It's discription is its name, very informative
> WHAT IS THIS LIBRARY
> I JUST WANT TO WRITE JPEGZ
> WHYYYY
> ...
> fucc that
cannot found example code link
What if my Processing has an interaction like mousePressed. What file do I have to save so when people click and then they can see my art movement? Thank you :)
Cool. I'll use that to make music videos.
@ 12:51 Love this bit
beautiful tutorial, but for some strange reason, when saving with #### it does not generate separate images, the image is overwritten, any ideas about what it could be?
very nice !!
Hello! I'm working with processing and wanted to know if there was any way to stitch together images into a video through the processing language itself.
I basically want to be able to create videos through code, instead of through the external program they have available.
Many thanks, -Matires.
I'm using processing 3.5.4 . There's no movie maker tool. Or have I been looking in the wrong place.?
Great Video, but still a bit ironic...
The video you render in the video ist higher resolution that the video you rendered for youtube(720p).
haha
and the video got blur whit so much data chunk to update each fream
Hi ! I just discovered your tutos, thank you so much, it's so well explain !! I recently find out about processing and augmented reality and I was wondering if you could make a tutorial about it, it could be amazing !
+cricolabus Have a long list of things to get to, but will definitely consider that!
thanks so much !
Hey! Really glad that I found this video, this is quite good material that is bugging my mind for some time!
I wonder if this is similar technology that Facebook is using to create their birthday and new year videos?
I mean, we can define placeholders for texts and number of likes and spots for images, create some animations by default and render? But the preview comes up so fast on Facebook that this is unbelievable! I know, they have cloud power of unlimited RAM and they can handle that thing, but is this how they do it, just smaller scale?
Hi Dan !
Is there a way to render the video programmatically ?
Btw very useful video !
Thanks Daniel very helpful! But I am having errors which says "The class GOL does not exist! What is the solution of that?
processing.org/examples/gameoflife.html
This is 3 years late haha. But the GOL class holds a simulation called “The Game of Life.” Dan just made it as an example to show that the recording system in processing does in fact work (he could’ve used anything else, really. I bet it was just an arbitrary decision). In other words, the absence of this file does not affect the recording in any way. Sorry for the 3-year-late response!
what i did:
int position = 0;
void setup() {
size(640, 360);
}
;
void draw() {
background(0,0,0);
noStroke();
ellipse(position,position,100,100);
position +=1;
if (keyPressed){
saveFrame("output/2/circle_####.png");
}
}
"Creating the QuickTime mov failed. len must be divisable by sampleCount len-989 sampleCount=3"
I got this error can someone help me?
Thanks for this. I coded a 3D gravitational simulation. It was so laggy.
Hello,
How can I get png in high resolution with this kind of multiple images example?
When I try to draw using say the Depths sketch from (www.openprocessing.org/sketch/117601) this technique of saving .pngs slows down my computer so much that I can't really get a good video capture. I mean I can't react with the sketch and still have it record in real time. Unless you have a super powerful computer, are there any other options other than screen capture which looks pretty bad.
Hi, I used this github.com/hamoid/video_export_processing and it worked really nice for me.
I have the same problem, it slows down so much that it is no longer interactive. There is a similar problem with the homoid video_export as well and it is not even possible to record a proper video because of super lag. Sketch can run 30-50 fps without any recording.
do you have how to export p5.js into a gif video?
I thought thumbnail looked like you playing piano.
Hello Daniel. This is great but I have two problems:
1.- I'm trying to render at 4k resolution (3840x2160) but when I run the sketch, the window is only as big as my screen, so the saveFrame() function doesn't actually save the full 3840x2160 pixels but just the part that fits my screen.
2.- I want to render with a transparent background, is this possible? I read somewhere in the documentation that I needed to use createGraphics(), but I don't really understand what that's supposed to mean.
I hope you (or someone else in the comments) can help me.
Thanks for the great videos!
createGraphics is your answer to both questions! For me, please ask at forum.processing.org? It's easier for me and others to help that way (you can share code there easily!).
Thanks!
Hi, Daniel Shiffman!
First I'd like to congratulate and thank you for all the videos you upload in this youtube channel! you provided this online comunity a really good source for code learning!
Now, I've being struggling with a problem in processing, and I wonder if you could give me a light on this problem:
I got this pattern using perling Noise that I'd like to use as a background of an application I'm working on, but its very heavy processing to generate this pattern every frame, is there a way of storing this pattern like an imagem right at the begining of the application ( so that everytime I run it, the pattern will be slightly different), and ALSO rendering it larger than the actual canvas, since I'd like to zoom in and out this background without losing quality. Can I do something like that in processing 3? Some way os creating an image buffer in an arbitrary size, do all my drawing to it and then saving it as an image ( no need of an actual file, just keep in the application as an image so I can print it over everyframe like a stamp I can 2D transform without all the pattern processing all over again.
Thanx for your attention!
Marcelo
maybe a bit late, but you can use PImage for that processing.org/reference/createImage_.html
Just an FYI: png is conpressed, but it's lossless.
i have designed a small game on processing and i wanna put it on my blog. is that something doable?
install the coffeescript mode
Mr. Rainbow, how to do this in p5js?
I thought about just recording it with OBS. Might be simpler to do.
Anyone know how to make this work on APDE? I get no errors, using save or saveFrame. No images are generated.
Most plugins don't work on APDE =(
Hi! I'm having trouble with a sketch, try to save specific frames to pdf with mousePressed. the weird thing is when I open the pdf file, is just a big white square with nothing on it. The file is an animation from a perlin noise file made by Gábor
Törőcsik-Nagy found in open processing. www.openprocessing.org/sketch/238882
Any thoughts or suggestions? thanks!
But how do you turn it into a gif? Now that would be useful for social media sharing.
This would be a great topic for a future video!
A p5js to gif or video tutorial would be amazing!
There's a software called Photoscape that can stitch the images into a gif and have precise control over which frame is displayed for what duration in the gif.(and of course do much more than that)
That's what I use ..
Hi Daniel! First of all thank you so much for all your amazing work!! You are truly my hero.
I have a question relating to P5 - Is there a way to export to a movie file from a sketch made in P5? I tried implementing Ccapture library but it doesn't work. I am using quickTime to capture the screen but that results in really poor quality videos:/
I was wondering if you could make a tutorial to help with that? It would be really great to be able to share on social networks work done with p5. Thank you so much!
Take a look at saveFrames() in p5.js
In my export I am having sync issues between video and audio in my export because the sketch runs at a much lower frame rate while it records. Any clue on how to fix it?
is your sketch using saveFrame("img#########.tif"); or screnshot1.save("img"+frameCount+".png"); or something like that? How are you generating the sound?
Example code page not found?
Fixed! github.com/CodingTrain/website/tree/master/Tutorials/Processing/sketch_movie_record
Where can i find your libraries and software? I need something what gonna work on windows or linux OS :/
Start at processing.org
Thanks
are you hungarian? justtaking a guess by the way your name looks
What is used in the background to convert image to movie file, is it FFMPEG?
i don't know but it is insanely fast and allows to add an audio file (pretty powerful for free software)
tried this.. unfortunately the quicktime video rendered is not compatible with quicktime... :(
jimajmus ha! I was having the same problem! Mac os X catalina huh? What you need to do is convert it to mp4 in iMovie, then it should be openable.
@@chasemarangu Thank you! I shall try this!
@@jimjajmus yout=r welcome! I'm sorry I replied so many months later, as I just found this out myself -today- _yesterday._
Really nice video Bravo!
Hey I have trouble getting matrix transformation (array multiplications) with Processing could you do a video about it?
And again congratulations for your work :-)
Regards from Switzerland
+noé bory I will consider it, yes! Do you have a specific application in mind? Something you are trying to do?
Hello,
I am a beginner and I am trying to implement your code into the sketch you have in processing called "mirror2" for practice.
However, when I type the code
GOL gol;
above the video setup, it tells me that "The class "GOL" does not exist." !!!
Any help would be appreciate it.
Thank you. =]
Never mind. I figured it out. However I am having trouble with the recored button. Even though I put the "ellipse" code line below "saveFrame" I am still seeing it show up on the screens that were captured!!!
oh, glad to hear!
How did you sort that, because I am having a same problem? cheers!
Hey,
I have been out of practice and this was a while ago, so I don't exactly remember what I did. But I found the code that I was messing around with. I will paste it for you down here to look at.
/**
* Mirror 2
* by Daniel Shiffman.
* Edited by Saam-E
* Each pixel from the video source is drawn as a rectangle with size based on brightness.
*/
import processing.video.*;
Capture cam;
// Size of each cell in the grid
int cellSize = 18;
// Number of columns and rows in our system
int cols, rows;
// Variable for capture device
Capture video;
boolean recording = false;
void setup() {
size(1280, 720);
video = new Capture(this, 1280, 720, 30);
video.start();
// Set up columns and rows
cols = width / cellSize;
rows = height / cellSize;
colorMode(RGB, 225, 255, 225, 100);
rectMode(CENTER);
}
void captureEvent(Capture video) {
video.read();
if (key == 'r' || key == 'R') {
recording = !recording;
}
}
void draw() {
video.read();
background(0);
video.loadPixels();
background(#FF03EF);
// Begin loop for columns
for (int i = 0; i < cols;i++) {
// Begin loop for rows
for (int j = 0; j < rows;j++) {
// Where are we, pixel-wise?
int x = i * cellSize % 9000;
int y = j * cellSize % 9000;
int loc = (video.width - x - 1) + y*video.width; // Reversing x to mirror the image
// Each rect is colored white with a size determined by brightness
color c = video.pixels[loc];
float sz = (brightness(c) / 255.0) * cellSize;
fill(#FFFFFF);
noStroke();
rect(x + cellSize/2, y + cellSize/2, sz, sz);
if (recording) {
saveFrame("output/mirror3_####.png");
fill(225, 0, 0);
}
else {
fill(0, 225, 0);
}
ellipse(width/2, height-50, 20, 20);
}
}
}
you are legend mate, very appreciated, thanks!
I've always loved everything you doing but can you program using java cos I don't really understand javascript
Processing uses java syntax
he is useing java... and java script is way easyier than java and spelling apparently
Is the recording save frame function changed in the last vision of processing? the green/red circle is also saved in the file🥲
Great video! Is there any chance to get the same tut for p5? btw you are awesome!
Dmitry Voloshyn p5 uses canvas. the canvas API also lets you save frames to PNG. then you can use processing's movie maker. Apparently also Firefox has an experimental feature (disabled by default) that is called HTMLCanvasElement.captureStream() which you could use.
I legit had a compsci teacher pronounce it "aw toe may tuh"
is this the same for p5?
It's a little tricky for p5 unfortunately b/c you have to deal with the web browser's file processing limitations.
@@TheCodingTrain Is there a solution today by any chance?
0:44 who noticed that face in the right bottom corner 🤔
Hehe I'm viewer number 87,000
screen record..
too many languages, Dan
0:23 Maybe you would get that right if you wouldn't rush yourself as much as you do.
3:53 and 12:36 and 12:58 ... Why??? *cringe*