# How to draw a simple brain sketch in processing?

**URL:** <https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580>\
**Category:** Coding Questions\
**Created:** [May 25, 2019, 5:19am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580 "2019-05-25T05:19:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lili1](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@Lili1](https://discourse.processing.org/u/Lili1)\
**Post date:** [May 25, 2019, 5:19am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580/1 "2019-05-25T05:19:35Z")

</div>

Can someone help me in drawing a brain sketch in processing?

- If I want to put 7 brain sketches on the same page, how can I do that?

Thanks

---

<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:** [May 25, 2019, 7:31am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580/2 "2019-05-25T07:31:01Z")

</div>

You can load an image of a brain and display it

What do you mean?

---

<div class="post-metadata">

**Author:** ![Lili1](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@Lili1](https://discourse.processing.org/u/Lili1)\
**Post date:** [May 25, 2019, 7:47am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580/3 "2019-05-25T07:47:00Z")

</div>

![56%20pm](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/f3b2738acf7191cc687a655444ad1f4837b33508.png)

I meant how to sketch something like this in processing…

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [May 25, 2019, 8:27am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580/4 "2019-05-25T08:27:36Z")

</div>

Well if you want to only draw 7 brains on Processing, you just import the drawing of a brain and you display it seven times with `image()`.

Then if your goal is to generate random shape of brains each time, you can take a look at :

- [https://processing.org/reference/bezierVertex\_.html](https://processing.org/reference/bezierVertex_.html)
- [https://processing.org/reference/curveVertex\_.html](https://processing.org/reference/curveVertex_.html)

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [May 28, 2019, 5:45am UTC](https://discourse.processing.org/t/how-to-draw-a-simple-brain-sketch-in-processing/11580/5 "2019-05-28T05:45:40Z")

</div>

To load and display an image, use `loadImage()` and then display with `image()`

[https://processing.org/reference/loadImage\_.html](https://processing.org/reference/loadImage_.html)

To display it seven times you can do many things. Two easy ways:

1. call image seven times with different x,y arguments for different places on the screen.

2. or use a for loop, and loop over the same image call seven times, each with a different computed x (width) placement.
