# Wanting advise on how I could randomize my work more

**URL:** <https://discourse.processing.org/t/wanting-advise-on-how-i-could-randomize-my-work-more/9267>\
**Category:** Electronics (Arduino, etc.)\
**Tags:** homework\
**Created:** [March 13, 2019, 2:26pm UTC](https://discourse.processing.org/t/wanting-advise-on-how-i-could-randomize-my-work-more/9267 "2019-03-13T14:26:21Z")\
**Posts on this page:** 1\
**Showing post:** 21

<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:** [March 27, 2019, 3:47pm UTC](https://discourse.processing.org/t/wanting-advise-on-how-i-could-randomize-my-work-more/9267/21 "2019-03-27T15:47:52Z")

</div>

as you can see from TFGuy44 Code, peasyCam is not the only way to have 3D rotation.

He wrote his own rotation based on mouse.

> [@Help with Extrusion from 2D to 3D](https://discourse.processing.org/t/help-with-extrusion-from-2d-to-3d/9656/4):
>
> Right, well, the parameters to the box() function are the size of each box. Set x and y to 1, and vary the z size based on the brightness. You also want to adjust the position because boxes are drawn from their centers: PImage img; boolean mono = false; void setup() { size(600, 400, P3D); img = loadImage("http://www.tfguy44.com/MyIcon1.PNG"); img.loadPixels(); noStroke(); } void draw() { background(mono?127:0); lights(); translate(width/2, height/2); rotateX(-map(mouseY,0,heig…

---

_[View the full topic](https://discourse.processing.org/t/wanting-advise-on-how-i-could-randomize-my-work-more/9267)._
