1. Home
  2. /
  3. Processing-java
  4. /
  5. Mouse Follow Circle

Mouse Follow Circle - Processing-java Typing CST Test

Loading…

Mouse Follow Circle — Processing-java Code

A circle that follows the mouse cursor.

void setup() {
	size(400, 200);
}
void draw() {
	background(255);
	fill(0, 100, 255);
	ellipse(mouseX, mouseY, 50, 50);
}

Processing-java Language Guide

Processing (Java mode) is a flexible software sketchbook and language for learning how to code within the context of visual arts. It is built on Java and provides a simplified syntax to create graphics, animations, and interactive applications.

Primary Use Cases

  • ▸Creating 2D and 3D interactive graphics
  • ▸Prototyping generative art or animation projects
  • ▸Teaching programming concepts with visual feedback
  • ▸Building interactive installations and exhibits
  • ▸Rapidly testing visual or computational ideas before scaling

Notable Features

  • ▸Simple and beginner-friendly syntax on top of Java
  • ▸Immediate visual feedback via built-in drawing canvas
  • ▸Cross-platform: works on Windows, Mac, Linux
  • ▸Extensive libraries for 3D, audio, video, networking, and hardware
  • ▸Active community with many tutorials, examples, and creative coding resources

Origin & Creator

Processing was created by Casey Reas and Ben Fry in 2001 at MIT Media Lab to teach programming to artists and designers.

Industrial Note

Processing is widely used in creative coding, interactive installations, generative art, data visualization, and rapid prototyping in both educational and professional contexts.

More Processing-java Typing Exercises

Hello World in Processing (Java)Moving CircleBouncing BallColorful RectanglesRandom StarsGrowing CircleRotating LineRandom WalkInteractive Rectangle

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher