π The Coding Train: Coding Challenge #139: Calculating Digits of Pi with Collisions
π The Coding Train: Autonomous Stream: 12 hours approximating 10 digits of Pi with the Mandelbrot Set
YouTube
Autonomous Stream: 12 hours approximating 10 digits of Pi with the Mandelbrot Set
Pi and the Mandelbrot Set from NumberPhile: https://youtu.be/d0vY0CKYhPY Code: https://gist.github.com/shiffman/13e4cdb72bdad5f4f3344552afa44645 To run: http...
π The Coding Train: Coding Challenge #140: Pi Approximation with Leibniz Series
π The Coding Train: Coding Challenge #141: Calculating Digits of Pi with Mandelbrot Set
YouTube
Coding Challenge #141: Calculating Digits of Pi with Mandelbrot Set
Happy belated Pi Day once more! Here I attempt to approximate Pi using a special location in the Mandelbrot set. The programming environment is Processing (Java).
π» Code: https://thecodingtrain.com/CodingChallenges/141-mandelbrot-pi
Links discussed in thisβ¦
π» Code: https://thecodingtrain.com/CodingChallenges/141-mandelbrot-pi
Links discussed in thisβ¦
π The Coding Train: Coding Challenge #143: Quicksort Visualization
YouTube
Coding Challenge #143: Quicksort Visualization
Let's try implementing a famously faster sorting algorithm: the Quicksort! And visualize the process with p5.js! Code: https://thecodingtrain.com/challenges/143-quicksort
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/vic6Qzo-jβ¦
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/vic6Qzo-jβ¦
π The Coding Train: Rubik's Cube (this time with matrix transformations!)
YouTube
Live Stream #175: Rubik's Cube (this time with matrix transformations!)
To learn more about Brilliant, go to https://brilliant.org/CodingTrain and sign up for free. The first 200 people that go to that link will get 20% off the a...
π The Coding Train: Code! Programming with p5.js for Beginners Trailer
YouTube
Code! Programming with p5.js for Beginners Trailer
Welcome aboard! This is the introductory video to start programming JavaScript with p5.js for total beginners. Code: https://thecodingtrain.com/tracks/code-programming-with-p5-js/code/0-trailer/trailer
π₯ Next video: https://youtu.be/yPWkPOfnGsw?list=PLRqwXβ¦
π₯ Next video: https://youtu.be/yPWkPOfnGsw?list=PLRqwXβ¦
π The Coding Train: Coding Challenge #142.2: Rubik's Cube Part 2
YouTube
Coding Challenge #142: Rubik's Cube Part 2
Can I build an interactive 3D Rubik's cube in Processing? Yes! Someday I hope to return to this project and add an AI solver! Code: https://thecodingtrain.com/challenges/142-rubiks-cube
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Jguvβ¦
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Jguvβ¦
π The Coding Train: Simple 2D Black Hole Simulation and NeuroEvolution with TensorFlow.js
YouTube
Simple 2D Black Hole Simulation and NeuroEvolution with TensorFlow.js
To try the Brilliant stacks and queues quiz, go to https://brilliant.org/TheCodingTrainStack/ and sign up for free. The first 200 people that go to that link...
π The Coding Train: Coding Challenge #142.3: Rubik's Cube Part 3
YouTube
Coding Challenge #142: Rubik's Cube Part 3
Can I build an interactive 3D Rubik's cube in Processing? Yes! Someday I hope to return to this project and add an AI solver! Code: https://thecodingtrain.com/challenges/142-rubiks-cube
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Jguvβ¦
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Jguvβ¦
π The Coding Train: 11.3 Neuroevolution Flappy Bird with TensorFlow.js
YouTube
11.3 Neuroevolution Flappy Bird with TensorFlow.js
In this video, I take another pass at the Neuroevolution Flappy Bird coding challenge and replace my JavaScript vanilla neural network library with the TensorFlow.js Layers API.
π»https://github.com/CodingTrain/website/tree/master/Courses/natureofcode/11β¦
π»https://github.com/CodingTrain/website/tree/master/Courses/natureofcode/11β¦
π The Coding Train: Coding Challenge #144: 2D Black Hole Visualization
YouTube
Coding Challenge #144: 2D Black Hole Visualization
Inspired by the recent image of the Powehi m87 black hole from the Event Horizon Telescope, I visualize the behavior or light (photons) following the path of spacetime around the black hole in p5.js. Code: https://thecodingtrain.com/challenges/144-2d-blackβ¦
π The Coding Train: 2D Ray Casting and Ray Marching
YouTube
Live Stream #177: 2D Ray Casting and Ray Marching
Today we will explore 2D Ray Casting and Ray Marching
π» https://thecodingtrain.com/CodingChallenges/
π» https://editor.p5js.org/codingtrain/sketches/
π Website: http://thecodingtrain.com/
π Patreon: https://patreon.com/codingtrain
π Store: https://www.dβ¦
π» https://thecodingtrain.com/CodingChallenges/
π» https://editor.p5js.org/codingtrain/sketches/
π Website: http://thecodingtrain.com/
π Patreon: https://patreon.com/codingtrain
π Store: https://www.dβ¦
π The Coding Train: Coding Challenge #145: 2D Raycasting
YouTube
Coding Challenge 145: 2D Raycasting
In this video, I implement a basic ray casting engine with line segment βsurfacesβ and vector βrays.β The result simulates a light source casting shadows in a 2D canvas. https://thecodingtrain.com/challenges/145-ray-casting-2d
πΉοΈ p5.js Web Editor Sketch:β¦
πΉοΈ p5.js Web Editor Sketch:β¦
π The Coding Train: Coding Challenge #146: Rendering Raycasting
YouTube
Coding Challenge #146: Rendering Raycasting
Building off of the previous coding challenge (2D Ray Casting) I attempt to make my own version the original Wolfenstein 3D Raycasting engine and visualize the "field of view" of the moving particle. Code: https://thecodingtrain.com/challenges/146-renderingβ¦