Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circles

Screenshot

Just a simple shape-drawing demo written in GW-BASIC, and rewritten in Python 3 and PyGame. It simply draws circles of a radius of 50 pixels, in 10-degree increments, 50px from the center of the screen, choosing a random color from the CGA 16-color palette. In the PyGame version, I've tried to annotate it as much as possbible, without making it unreadable.

The GW-BASIC version can be run in DOSBox in GW-BASIC, or in PC-BASIC, a fantastic interpreter written in Python 3. The Python version requires PyGame.

The bulk of the Python code comes from https://blubberquark.tumblr.com/post/185013752945/using-moderngl-for-post-processing-shaders-with

About

Just a simple 80s-grade-school type demo of drawing a pattern, in Tandy 1000 GW-BASIC and PyGame.

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages