![]() If you get stuck, post an MCVE (note: not your whole sketch, just a small example that shows the problem you're stuck on) and a specific question, and we'll go from there. Instead, ask yourself: what's the smallest, simplest, easiest thing I know I have to do next? ![]() Don't try to tackle your whole goal at one time. No matter what I try, the -delay flag doesnt change the frame rate of the gif animation. Also, I have several issues with this: I cant tell what the progress is. I tried the convert command from the ImageMagick suite, but this doesnt always succeed. Please try something out, and break your problem down into smaller steps. Is there a tool to create a gif animation from a set of png files. There are a bunch of ways to do this, but those steps are the general outline. Customize image order, animation speed, and GIF width to create the best animation from your JPG images. You could also generate every single frame ahead of time. Then pass the update image back into your function, and repeat that process as many times as you want. Then pass that image into the function you created in step 3, and display the result of that for X frames. A comment by Luke gives a simple solution: convert -delay 200 -loop 0. Step 4: Start with your initial image, and display that for X frames. at 22:02 hhc - all the categorization is just a link to an answer with 5 links only one of them seems related, but is just a link to the above question. There are plenty of useful functions in the reference for manipulating the pixels in an image. Step 3: Create a function that takes a PImage or a PGraphics and does the image manipulation for a single iteration of your algorithm. You need to break your problem down into smaller steps. Step 2: Create a simple sketch that displays a single image, without any effects or animation. I can't tell whether that was on purpose, but it doesn't matter since Processing happens to be perfect for this task. You've tagged this with the processing tag, which is for questions about the Processing language. That being said, I'll try to answer in a general sense: Stack Overflow is designed more for specific "I tried X, expected Y, but got Z instead" type questions. This is a very broad question, and it's hard to answer general "how do I do this" type questions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |