# Simple mode

<figure><img src="/files/QQqMPx02QsrzsxZxrhxY" alt=""><figcaption></figcaption></figure>

## Example

![](/files/6iyRr1XOrzeyu7RLlCmr)

```python
background(frameCount%255)
drawTickAxes()
circle(400,bounce(0,height,10),20)
```

## Description

Allows the user to use p5 in the draw function only. This eliminates a lot of the confusion to do with setting up the canvas, or scope of variables.

Of course, this has its downsides - the inability to create tailored dynamic variables or change the size of the canvas are two that come to mind.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learnpython.strivemath.com/p5-python-web/simple-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
