Hi, I try this code on windows 11 with intellij idea, only got the grey output.
Is this a difference between the OS I use?
Is it colorful on mac?
Here is the code & pom.xml
import processing.core.PApplet;
public class VerifyConfig extends PApplet {
@Override
public void settings() {
super.settings();
size(1000, 1000,FX2D);
}
@Override
public void setup() {
textFont(createFont("Segoe UI Emoji", 22));
text("hello, world☺", 50, 150);
textFont(createFont("Wingdings", 44));
int init = 0x1F600;
for (int i = 0; i < 80; i++) {
String s = new String(Character.toChars(init+i));
text(s, 60 + 60*(i%10), 100 + 60*(i/10));
}
}
public static void main(String[] args) {
PApplet.runSketch(new String[]{"test"}, new VerifyConfig());
}
}
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.micycle1</groupId>
<artifactId>processing-core-4</artifactId>
<version>4.3.3</version>
</dependency>
</dependencies>