CodingTrain/thecodingtrain.com

WebGL tutorials

Closed this issue · 5 comments

Is this playlist (from 2017) still relevant enough that it would be useful to add as a side track on the website?

https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bPhi8sS1hHJ77n3zRO9FR_

I could imagine redoing these and then we could replace them.

I just wrote a couple paragraphs about WEBGL for the Nature of Code book so wondering if I should reference them as an additional resource.

I think they are a nice basic intro and I can add. Where did you add the discussion on WEBGL-- I would be interested in reading.

Note that I have updated some of the code examples to reflect changes to the library. I have put the sketches in a collection called WEBGL if you want to take a look. The one topic you might want to add to the playlist is how to add a custom geometry using p5.Geometry -- at least I don't think you have done that? One suggestion is maybe time-travel and add a short addition to the last video on custom shapes to show how to create a custom shape (25 or 26) since it makes it much simpler. (FYI, I have created a custom shape using p5.Geometry and plan to add b/c it shows how to create stripes based on the normals so there will be code showing how to do it.)

I think they are a nice basic intro and I can add. Where did you add the discussion on WEBGL-- I would be interested in reading.

It's in the section on additive blending! https://nature-of-code-2nd-edition.netlify.app/particles/#example-49-additive-blending

I have everything done, but I wan't sure whether we were still adding the video numbers. Are they still important? The other thing to note is that the sketch loading the obj model gets a loadStrings warning and I was not able to figure out why.

I don't think the numbers are necessary, no! Closing this now as it's covered by #1121! I'll look at the obj model sketch to see if I can figure that out.