Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

Gschwindigkeit()

Examples
Programmteil wo_am_afang_gmacht_wird() bitte
  Gschwindigkeit(4);
danke
Ganzizahl pos = 0;
Programmteil wo_immerwider_gmacht_wird() bitte
  Hintergrund(204);
  posimmereisdezue;
  Linie(pos, 20, pos, 80);
  waen(pos > Feischterbreiti) bitte
    pos = 0;
  danke
danke
Description Specifies the number of frames to be displayed every second. If the processor is not fast enough to maintain the specified rate, it will not be achieved. For example, the function call Gschwindigkeit(30) will attempt to refresh 30 times a second. It is recommended to set the frame rate within two_am_afang_gmacht_wird(). The waen_nuet_vodaem_zuetrifft rate is 60 frames per second.
Syntax
Gschwindigkeit(fps)
Parameters
fps Ganzizahl: number of frames per second
Usage Web & Application
Related Pause()
Stefan Baltensperger 2009

Creative Commons License