# Just a bit lost

**URL:** <https://discourse.processing.org/t/just-a-bit-lost/34179>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [December 18, 2021, 9:30am UTC](https://discourse.processing.org/t/just-a-bit-lost/34179 "2021-12-18T09:30:20Z")\
**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:** [December 18, 2021, 10:41am UTC](https://discourse.processing.org/t/just-a-bit-lost/34179/2 "2021-12-18T10:41:10Z")

</div>

@Jamii,

When you submit this homework and post in this forum be sure to reference the sources of code.

You used some of this code in your homework assignment:

> [@Little stuck on a concept](https://discourse.processing.org/t/little-stuck-on-a-concept/34173/3):
>
> example but still a long way to go hit any key to redraw // ----------------------------------------------------- void setup() { size (1400, 800); background(0); } void draw() { // clear & prepare canvas background(0); stroke(255); myLine( 13 ); myLine( 83 ); myLine( 223 ); myLine( 293 ); myLine( 323 ); noLoop(); } void keyPressed() { redraw(); } void myLine(float angle) { // float angle=50; float angle2=radians(angle); float xCenter=cos(angle2) \* ra…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/just-a-bit-lost/34179)._
