# Random word generator

**URL:** <https://discourse.processing.org/t/random-word-generator/37667>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [June 21, 2022, 11:10am UTC](https://discourse.processing.org/t/random-word-generator/37667 "2022-06-21T11:10:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 21, 2022, 11:26am UTC](https://discourse.processing.org/t/random-word-generator/37667/2 "2022-06-21T11:26:18Z")

</div>

Hello,

There are many examples of timers in this forum.

This is just _one_ of them:

> [@Need assistance with timing! \[millis()\]](https://discourse.processing.org/t/need-assistance-with-timing-millis/18854/4):
>
> I provided a simple example: int whattimeisitnow; int whattimeisitatstartofstopwatch; int timepassedtoresetstopwatch = 1000; //setup runs once void setup() { whattimeisitatstartofstopwatch = millis(); } //draw loops 60 frames per sec void draw() { whattimeisitnow = millis(); if (whattimeisitnow \> whattimeisitatstartofstopwatch + timepassedtoresetstopwatch) { println("1000 ms have passed!"); whattimeisitatstartofstopwatch = millis(); //reset st…

This is the reference for delay():

> **[delay() / Reference](https://processing.org/reference/delay_.html)**
>
> The delay() function causes the program to halt for a specified time. Delay times are specified in thousandths of a second. For example, running delay(3000) will stop the program for thr…

I suggest you read it before you consider using it.

Consider working on a simple timer first and then integrating it with your code once you understand it.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/random-word-generator/37667)._
