This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void actionPerformed (ActionEvent arg0) { | |
// Jahreszahl wird eingelesen und umgewandelt | |
eingabe = jahr.getText(); | |
try { | |
jahreszahl = Integer.parseInt(eingabe); | |
// Methode istSchaltjahr wird aufgerufen | |
schaltjahr = istSchaltjahr(jahreszahl); | |
// Entscheidung, ob ein Schaltjahr vorliegt | |
if (schaltjahr){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.ProgressEvent; | |
import flash.utils.Timer; | |
import flash.events.TimerEvent; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
// This is a basic example to demonstrate how the Speech-To-Text Library | |
// can be used. See www.getflourish.com/sst/ for more information on | |
// available settings. | |
// | |
// Florian Schulz 2011, www.getflourish.com | |
*/ | |
import com.getflourish.stt.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
// This is a basic example to demonstrate how the Speech-To-Text Library | |
// can be used. See http://stt.getflourish.com for more information on | |
// available settings. | |
// | |
// Florian Schulz 2014, www.getflourish.com | |
*/ | |
import com.getflourish.stt.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import import geomerative.*; | |
public static class FontUtil { | |
public static RFont font = new RFont("lucon.ttf", 32, RFont.CENTER); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import import geomerative.*; | |
public static class FontUtil { | |
public static RFont font = new RFont("lucon.ttf", 32, RFont.CENTER); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PFrame extends Frame | |
{ | |
public PFrame(PApplet p) | |
{ | |
p.setBounds(100, 100, 200, 600); | |
controlWindow = new ControlWindow(p); | |
p.add(controlWindow); | |
controlWindow.init(); | |
p.show(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ControlWindow extends PApplet | |
{ | |
PApplet p; | |
ControlWindow(PApplet p) | |
{ | |
this.p = p; | |
} | |
public void setup() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PFrame controlFrame; | |
public void setup() | |
{ | |
size(800, 600); | |
// Zweites Fenster | |
controlFrame = new PFrame(this); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import codeanticode.glgraphics.*; | |
import processing.opengl.*; | |
import javax.media.opengl.*; | |
import java.nio.IntBuffer; | |
import java.nio.ByteBuffer; | |
GL gl; | |
GLSLShader shader; | |
PGraphicsOpenGL pgl; | |
ByteBuffer byteBuffer; |
OlderNewer