# Proce55ing graphics don't last longer than a blink

**URL:** https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857
**Category:** Processing.py
**Created:** [March 20, 2022, 11:25am UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857 "2022-03-20T11:25:30Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Nomamesse](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@Nomamesse](https://discourse.processing.org/u/Nomamesse)
#### Post date: [March 20, 2022, 11:25am UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/1 "2022-03-20T11:25:30Z")

</div>

Hi everyone, here’s a small code that I’ve tried on Python with Processing vizualisation.

```auto
#coding:utf-8

from turtle import *
forward(100)
shape('turtle')

```

My problem is that vizualisation lasts shorter than a blink of an eye and so my question is how can I make it last as long as I wish ?  
Thanks by advance for your help.

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [March 20, 2022, 9:52pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/2 "2022-03-20T21:52:53Z")

</div>

You want to achieve that the turtle draws the line more slowly?

So that the drawing process is visible as an animation?

---

<div class="post-metadata">

### Author: ![Nomamesse](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@Nomamesse](https://discourse.processing.org/u/Nomamesse)
#### Post date: [March 20, 2022, 10:10pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/3 "2022-03-20T22:10:28Z")

</div>

hmm  
my concern is rather that I’d like the processing window to remain opened after the drawing is achieved.

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [March 20, 2022, 11:20pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/4 "2022-03-20T23:20:19Z")

</div>

I think that you need the Standard structure of a Sketch with setup and draw for that

---

<div class="post-metadata">

### Author: ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)
#### Post date: [March 20, 2022, 11:34pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/5 "2022-03-20T23:34:14Z")

</div>

I’m a bit confused here. The `turtle` module isn’t a Processing module, but a standard Python one? `turtle` uses Tkinter to render a window, not a Processing display window. In short, `turtle` isn’t designed to work with Processing, but as a standalone module.

Maybe this is some Processing-specific turtle module? If so, could you provide a link to where you downloaded it?

---

<div class="post-metadata">

### Author: ![Nomamesse](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@Nomamesse](https://discourse.processing.org/u/Nomamesse)
#### Post date: [March 22, 2022, 9:25pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/6 "2022-03-22T21:25:03Z")

</div>

Hello,  
I’m confused too.  
Using Processing with python’s turtle module is not on my initiative; I’m reading a book that teaches python and how to use it for maths.  
I’m just doing what the book tells me too. I didn’t know Proce55ing before and barely about programming.

---

<div class="post-metadata">

### Author: ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)
#### Post date: [March 22, 2022, 9:29pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/7 "2022-03-22T21:29:51Z")

</div>

To use Python’s turtle module:

1. install Python for your platform: [https://www.python.org/downloads/](https://www.python.org/downloads/);
2. open your terminal (_Command Prompt_ on Windows, or _Terminal_ on Mac);
3. type `python` into the terminal, then `from turtle import *`
4. now enter your turtle command (i.e., `forward(100)`) and a turtle window should open.

Keep typing commands with the turtle window open to watch it respond.

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [March 22, 2022, 10:10pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/8 "2022-03-22T22:10:46Z")

</div>

I was able to copy & paste your code on Trinket: 🐢

> **[Put Turtle Graphics Anywhere on the Web](https://Trinket.io/turtle)**
>
> Python in the browser. No installation required.

---

<div class="post-metadata">

### Author: ![Nomamesse](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@Nomamesse](https://discourse.processing.org/u/Nomamesse)
#### Post date: [March 23, 2022, 9:58pm UTC](https://discourse.processing.org/t/proce55ing-graphics-dont-last-longer-than-a-blink/35857/9 "2022-03-23T21:58:20Z")

</div>

Thanks all for your help.
