Numworks: Python Graphics
|
06-28-2020, 04:10 PM
(This post was last modified: 06-28-2020 04:12 PM by Eddie W. Shore.)
Post: #1
|
|||
|
|||
Numworks: Python Graphics
Numworks Python Scripts: Basic Graphics
Script: atari.py Draws the basic-eight color palette of the classic 1977 Atari 2600. Code: from math import * Script: firstdigit.py The tenths digit from n random numbers is extracted and a bar chart is generated based on the results. I recommend a sample size of at least 20. Code: from math import * Script: colorfulrings.py The script cycles through a set of nine colors, four times. The Kandinsky module is used to generate the flowery circles as well as cycle through the colors. This module works with integer pixels. Code: from math import * Script: modulusplot.py Generate a pixel plot of the equation (x^n + y^n) mod m Code: from math import * Blog link: http://edspi31415.blogspot.com/2020/06/n...phics.html |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Numworks: Python Graphics - Eddie W. Shore - 06-28-2020 04:10 PM
RE: Numworks: Python Graphics - compsystems - 07-02-2020, 03:22 AM
|
User(s) browsing this thread: 1 Guest(s)