text 糟糕的滚动writing.pde

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 糟糕的滚动writing.pde相关的知识,希望对你有一定的参考价值。

/*
* Demonstrates the use of the GifAnimation library.
 * Exports a GIF-File to the sketch folder if space
 * bar is pressed. Wow, feels like 90's! ;)
 */

import gifAnimation.*;
import processing.opengl.*;

GifMaker gifExport;
PImage img;
int length1 = 1000;

public void setup() {
  size(1000, 420, OPENGL);
  frameRate(100);

  img = loadImage("text2.png");
  println("gifAnimation " + Gif.version());
  gifExport = new GifMaker(this, "export.gif");
  gifExport.setRepeat(0); // make it an "endless" animation
  gifExport.setTransparent(1,0,0); // make black the transparent color. every black pixel in the animation will be transparent
  // GIF doesn't know have alpha values like processing. a pixel can only be totally transparent or totally opaque.
  // set the processing background and the transparent gif color to the same value as the gifs destination background color 
  // (e.g. the website bg-color). Like this you can have the antialiasing from processing in the gif.
  gifExport.setDelay(1000/1000);
}

void draw() {
  background(1, 0, 0);

//  translate(width/2, height/2);
  image(img, length1,height/4);
  gifExport.setDelay(1);
  gifExport.addFrame();
  length1 = length1-1;
}

void keyPressed() {
  gifExport.finish();
  println("gif saved");
}

以上是关于text 糟糕的滚动writing.pde的主要内容,如果未能解决你的问题,请参考以下文章

text 糟糕的翻译

将 UIScrollView 添加到表格单元格似乎会影响表格滚动性能

text Divi按钮通常与文本一起缩放,看起来很糟糕。使用此CSS设置最小宽度 - 按钮将根据文本co放大

糟糕的名单表现

text Git很难:搞砸很容易,弄清楚如何解决你的错误是不可能的。所以这里有一些糟糕的情况我已经说过了

ListView + EditText => 糟糕的键盘行为