怎樣compile?- void setup()
- {
- size(940,540,P3D);
- xcols = int(width / scl);
- yrows = int(height / scl);
- colorMode(HSB,255);
- background(0);
- for (int i = 0; i < parts.length; i++)
- {
- parts[i] = new Particle();
- }
- flowField = PVector[xcols * yrows];
- System.out.print("xcols=" + xcols);
- System.out.print("yrows=" + yrows);
- background(255);
- }
複製代碼 |