processing art coding1 [프로세싱] 랜덤하게 숫자 출력하기 + 폰트 지정 # createFont() 폰트 생성하기PFont 변수이름 --> PFont font ;font = createFont("폰트이름:, 폰트크기) --> font = creatFont("ArialTextG1", 160)int[] myNum= new int[5];PFont font;int x, y;int index;void setup() { size(720, 480); background(255); frameRate(5); //1초에 5번 void draw() 함수를 실행 (별도 지정없을 경우 1초에 60번 반복) myNum[0]=5; myNum[1]=10; myNum[2]=19; myNum[3]=27; myNum[4]=49; printArray(PFont.list()); // 사용 가능.. 2025. 2. 4. 이전 1 다음