How to Make a Target with Python: Any Tips or Step-by-Step Guides?

16 Replies, 1956 Views

I’d recommend checking out Processing.py if you want something visual and creative. It’s not as mainstream as matplotlib or turtle, but it’s great for graphics. Here’s a quick example:

```python
def setup():
size(400, 400)
background(255)
colors = [color(255, 0, 0), color(255)]

for i in range(5):
fill(colors[i % 2])
ellipse(200, 200, 200 - i*40, 200 - i*40)
```

It’s a bit different, but it’s worth exploring if you’re into creative coding!

Messages In This Thread



Users browsing this thread: 1 Guest(s)