All Collections
Learn More
Example Programs
Graphic Programs in Java and Python 3
Graphic Programs in Java and Python 3

Writing graphics based programs on CodeHS

Claire Sindlinger avatar
Written by Claire Sindlinger
Updated over a week ago

CodeHS supports graphics programs in Java and Python. You can write and run code that displays graphics directly from your browser — it even works on a Chromebook!

Explore the tutorials below for some example graphics programs.

Java Graphics

Check out our Java Swing tutorials here!


Check out our Python graphics playlist here!

If you would want to add Python graphics to a website, you can check out our tutorial here!

We also have assignment starter kits for more of the College Board AP CSA Labs like PictureLab, Elevens, MagPie, and GridWorld in addition to other materials for writing graphics-based programs with libraries like Swing for Java or Pygame for Python.

Still have questions? Contact our team at to learn more!

Did this answer your question?