# I want to know how this is expressed. 02

**URL:** <https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429>\
**Category:** Project Guidance\
**Created:** [November 11, 2018, 7:35am UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429 "2018-11-11T07:35:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alk5603](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@alk5603](https://discourse.processing.org/u/alk5603)\
**Post date:** [November 11, 2018, 7:35am UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429/1 "2018-11-11T07:35:42Z")

</div>

[![](https://img.youtube.com/vi/yvaAZ7-Qi-M/hqdefault.jpg "mov3") ](https://www.youtube.com/watch?v=yvaAZ7-Qi-M&t=2)

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [November 11, 2018, 8:08am UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429/2 "2018-11-11T08:08:45Z")

</div>

What have you tried? You MUST try to write the code yourself.

You will need a setup() and draw() function. In setup(), you must call size(). Start with that!

Can you draw an ellipse? How about three? Their position needs to change over time. Can you map the amount of time that has ellapsed (`millis()`) to a position using math and conditional statements?

[https://processing.org/examples/sinecosine.html](https://processing.org/examples/sinecosine.html)

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [November 12, 2018, 10:04pm UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429/3 "2018-11-12T22:04:29Z")

</div>

Please read through this guide:

> [@Guidelines—Asking Questions](https://discourse.processing.org/t/guidelines-tips-on-asking-questions/2147):
>
> Summary (TL;DR) Ask complete questions to get better answers! Be specific. For example: I want to load an image. I tried using createImg() , and I expected the image to be on canvas, but what happened instead was the image showing up below the canvas. Isolate your problem and work in small steps. Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want. Can we run your code to …

It’s really hard to help with general “how do I do this” type questions. Please try to [break your problem down into smaller steps](https://happycoding.io/tutorials/how-to/program) and take those steps on one at a time.

I’m closing this thread, as it’s pretty much a duplicate of this one:

> [@I want to know how this is expressed. 03](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-03/5430):
>
> [[mov2] ](https://www.youtube.com/watch?v=Lh3nbtvdkAM&t=2)

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [November 12, 2018, 10:04pm UTC](https://discourse.processing.org/t/i-want-to-know-how-this-is-expressed-02/5429/4 "2018-11-12T22:04:34Z")

</div>


