CodeHS now 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 playlists below for some example graphics programs.

We’ll be releasing assignment starter kits for more of the College Board AP CS A 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.

To learn more read our latest Summer 2019 Platform Updates blog or email us at

Did this answer your question?