# MinaCoding2024_Rest

# **LinedWorkingImagery2**

For the 7th day of #**MinaCoding2024 : "Create"** , **LinedWorkingImagery** is coded in ***P5JS*** shows numerous lines layered in a 3D perspective while they are working. Then later remixed with **Glitchlab** to create something else.

During the **MinaCodingCoding Day 19 Rest Day**, I will be remixing the artwork as an Idea came to mind through software and not code.

## Poetry

```ocaml
Intersection of Lines
Their Transformation intertwines
Translating
Rotating
Elevating
Spectating
```

## Image

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1718766133077/d10f6041-6d20-4b24-9298-24b4532cfb52.jpeg align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1718765716933/4d73e3ab-a499-4ab9-af2d-a09529b0b9ff.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1718765832524/71ab0257-51ab-44ba-9853-9673865759f2.jpeg align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1718765768080/3a978cfc-ba13-4b57-a627-81212629c2e4.jpeg align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1718765876590/f55fd623-e993-4771-a244-0cffd3678596.jpeg align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1718766196180/cf107289-7811-4f4e-a8be-cb1571d7770c.jpeg align="center")

## Original Code in P5js

```javascript
function setup() {
  createCanvas(800, 800);
}

function draw() {

//Line Color Scheme with StrokeWeight
  frameRate(45)
  background((second() % 20) * 12);
  for (i = 0; i < 800; i++) {
    if(i % 5 == 0)
{
  stroke("purple")
  strokeWeight(second() % 6 + 1)
}    
    else if (i % 3 == 0) {
      stroke("blue");
      strokeWeight(Math.cbrt(second()/ i))
    } else if (i % 2 == 0) {
      stroke("teal");
    } else {
      stroke("gold");
    }
//Lines
    line(i, i / 2 + second() % 12, (i * second()  %12), i / 3);
    line(i / 2, Math.cbrt(i * second() % 30) * 12, i / 3, i);

    line(i / 2, i / 3, i, Math.hypot(i, (second() % 30)/8));
    line(i + random(-2,2), i, i / 3, i / 2 * (random(-3,3)));
  }
}
```
