Website marketing using high authority backlinks from popular website's, find out more at webcentreplus.com or email colin@webcentreplus.com
Click Here!

daniel shiffman

Coding Challenge #9: Solar System in Processing – Part 3 (3D textures)



In part 3 of this coding challenge, using Processing, I add texture to the 3D objects created in part 2. The PShape class and createShape() functions are covered.

๐Ÿ”—http://thecodingtrain.com/CodingChallenges/009-solarsystemgenerator3d-texture

๐Ÿ”—Nature of Code on Kadenze: https://www.kadenze.com/courses/the-nature-of-code/info
๐Ÿ”—PeasyCam: http://mrfeinberg.com/peasycam/
๐Ÿ”—Planet texture maps:… Continue reading

Guest Tutorial #3: Spring Animations and p5.js with Val Head



In this guest tutorial, Val Head uses the p5.js library to create a simple spring animation (without the use of a separate physics engine!)

This video has some audio problems towards the end. Sorry about that and I hope that… Continue reading

1.5: Errors & Console – p5.js Tutorial



In this video, I take a look at the p5.js console and error messages.

๐ŸŽฅ Next video: https://youtu.be/xJcrPJuem5Q
๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

๐Ÿ”— https://p5js.org/
๐Ÿ”— p5.js Web Editor: https://editor.p5js.org/

๐Ÿš‚ Website: http://thecodingtrain.com/
๐Ÿ’– Patreon: https://patreon.com/codingtrain
๐Ÿ›’ Store: https://www.designbyhumans.com/shop/codingtrain/
๐Ÿ“š Books:… Continue reading

Coding Challenge #83: Chrome Extension with p5.js Sketch



In this coding challenge, I attempt to make a chrome extension that overlays a drawing canvas (using the p5.js library) on all webpages.

Coding Challenge on Chrome Extensions: https://youtu.be/8zMMOdI5SOk
Chrome Extensions playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bL9VOMT65ahNEri9uqLWfS

Support this channel on Patreon: https://patreon.com/codingtrain
To… Continue reading

Coding Challenge #26: 3D Supershapes



In this Coding Challenge, I use the “superformula” to make a 3D “supershape” in Processing. This is part 4 of a multi-part series on superformulas, superellipses and supershapes

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your questions and coding… Continue reading

Coding Challenge #25: Spherical Geometry



In this Coding Challenge, I create a sphere in Processing using spherical coordinates and triangle strips. This is the 3rd part of a multi-part series on superformulas, superellipses and supershapes.

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your questions… Continue reading

Coding Challenge #136.1: Polar Perlin Noise Loops



In this challenge, I follow the path of a circle in 2D Perlin noise space in order to use noise values that loop. #PerlinNoiseLoop

๐Ÿ’ปhttps://thecodingtrain.com/CodingChallenges/136-polar-perlin-noise-loops.html

๐Ÿ”— ร‰tienne Jacob’s tweet: https://twitter.com/i/status/1096403588069425152
๐Ÿ”— ร‰tienne Jacob’s Blog Post: https://necessarydisorder.wordpress.com/2017/11/15/drawing-from-noise-and-then-making-animated-loopy-gifs-from-there/

๐ŸŽฅ Heart Curve: https://youtu.be/oUBAi9xQ2X4… Continue reading

Coding Challenge #96: Visualizing the Digits of Pi



In this second Pi Day coding challenge, I attempt to “visualize” the digits of Pi. #PiTrain

๐Ÿ”— Washington Post Article: https://www.washingtonpost.com/news/wonk/wp/2015/03/14/10-stunning-images-show-the-beauty-hidden-in-pi/?utm_term=.e232a2caa3ed
๐Ÿ”— Pi artwork: http://mkweb.bcgsc.ca/pi/art/
๐Ÿ”— 1 Billion Digits of Pi: https://stuff.mit.edu/afs/sipb/contrib/pi/
๐Ÿ”— Million Pi Digits: http://www.piday.org/million/
๐Ÿ”— Pi Day… Continue reading

3.2: Linear Regression with Ordinary Least Squares Part 1 – Intelligence and Learning



In this video, part of my series on “Machine Learning”, I explain how to perform Linear Regression for a 2D dataset using the Ordinary Least Squares method. In Part 2, I demonstrate how to code the algorithm in JavaScript, using… Continue reading

Coding Challenge #42.1: Markov Chains – Part 1



In Part 1 of this Coding Challenge, I discuss the concepts of “N-grams” and “Markov Chains” as they relate to text. I use Markova chains to generate text automatically based on a source text.

Programming from A to Z –… Continue reading

Archives