I'm looking for a script that generates random images using the PIL Image module by assigning random RGB values to each pixel on a blank canvas. Does anyone have one of those lying around? (I want to write my own just for practice, but if it's already been done by a pro I'd also like to study the pro's version.)
EdJones 0 Newbie Poster
Recommended Answers
Jump to PostGUI toolkits like Tkinter can be used to draw strange three dimensional objects. Just play with it ...
''' tk_canvas_multi_circles101.py draw a series of circles to form 3D objects ''' try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk def draw_circle(x, …
Jump to PostAlso take a look at Moire patterns ...
https://www.daniweb.com/software-development/python/code/489876/moire-patterns-using-circles-tkinter-python
All 6 Replies
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
EdJones 0 Newbie Poster
Gribouillis 1,391 Programming Explorer Team Colleague
sneekula 969 Nearly a Posting Maven
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.