1. Nature of Code
- Astro Lee

- Feb 2, 2024
- 2 min read
I realized I may run out of time before class (Currently it is 9:37, around 2 and a half hours before class.) so I wanted to leave a blog & a sketch before I rush things for class. While I was reviewing last semester's blogs & documentation, I realized why documentation is so important (especially at ITP) and I also had a lot of fun reviewing the process I went through, and it was amazing to see how much I've grown as an ITP-er and also skill-wise as well!
And now, moving on to the real blogging stuff!!
I had happy / mixed feelings when I realized that I got the random walk assignment for this week. More so excited haha cuz that's all I've really been doing for ICM last semester! (I also realized that -although I was aware- that Nature of Code really does align with what I used to do before ITP, which was Simulation for CGI-film pipeline. I used a lot of solvers -physics engines-, particles, vectors & forces -- This was enlightening & very exciting for me to find out as well, and I was very happy with my decision in choosing this course. Because that realm is where I wish to return partially once I graduate ITP). So, with excitement and a little bit of worry (I'm still no expert in p5 nor text based coding although I'm working on it), I pulled out my p5 sketch again, (which has been sitting on my p5 sketch library over the winter break hehe.) and I started to play around with the 3D random walker I did for last semester's final project.
--> So here's what I initially started to do.
I wanted to add more controls for moving in the WEB GL space, and also bring in the mouse wheel to alter Z value in space. But that's more of a camera thing, I realized.
Also another fun discovery (OpenGL is something that sounded very familiar to me. OpenCL is a GPU rendering option for Houdini)
So I had mouseX and mouseY alter the rotation of the random walk.
But I understand that this is a more destructive way of solving this navigating-in-space task.
So right now (9:52) I'm watching the Coding Train video on Cameras in WebGL!
Hopefully before class I'll be able to update a little more on the blog & the sketch.
(Also plan to revisit the Class video, as that's become a little hazy for me as well)
Here's the p5 sketch I'm working on:



Comments