Gifs in Processing?

1 Antwort

Vom Fragesteller als hilfreich ausgezeichnet

probier mal ob es sowas bei dir gibt


https://forum.processing.org/two/discussion/12736/animated-gif-support-in-p5


es soll wohl mit createImage gehen , wie und wo du das anzeigst, da hab ich jetzt keine ahnung von processing


var  bird_createimg;
 
   function preload(){

    bird_createimg = createImg("assets/bird_2.gif");
   }
 
   function setup() {
  createCanvas(710, 400);
  background('yellow');

   }
 
   function draw() {

  bird_createimg.position(50,100); //loads GIF correctly
  }




Daavin 
Fragesteller
 23.03.2017, 18:59

Dann schau ich mal, danke für deine Mühe und Zeit:D

0