Sebastian Lague
Sebastian LagueVideo
- Format:
- YouTube channel
- New videos:
- Irregular
- Typical length:
- about 35 minutes
- Latest video:
About this show
Exploring how to create stuff out of code
Covers: programming, computer science, game development, fluid simulation, ray tracing, audio synthesis, digital logic, rubik's cube, pen plotter, computer graphics
Videos come from the channel's public YouTube feed. The artwork is the newest video thumbnail. Last updated . Names, artwork and text belong to their publishers.
Recently on this show
Summary of recent videos, drawn from the publisher's feed.
Sebastian Lague's channel explores building things with code, from graphics to audio and simulations. Recent videos cover a pen plotter drawing Moon maps, an improved Rubik's Cube solver, additive synthesis, audio analysis and smoke simulation.
Cosmos
Similar in subject
- Web Dev Cody
Both cover: programming, game development
Similar shows
Videos
Coding Adventure: Making a Better Chess Bot
· 1 hr 1 min
Trying to improve an old chess bot by experimenting with various interesting techniques. This is a sequel to: https://youtu.be/U4ogK0MIzqk Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code: * GitHub: https://github.com/SebLague/Chess-Coding-Adventure Credits and references * A really fun video about various algorithms for playing chess by @tom7: https://www.youtube.com/watch?v=DpXy041BIlA * Music and images: https://github.com/SebLague/Misc-Project-Info/blob/main/Coding-Adventures/Chess-2.txt Chapters: 00:00 Intro 00:38 Battle of the Bots 03:18 Maybe Don’t Throw Away the Best Move? 07:13 Transposition Troubles 10:55 Search Extensions 14:01 Refactoring and Recapping 15:51 Tweaking Kings and Pawns 19:35 Bitboards! 23:54 Passed Pawns (and more) 28:32 Magic Bitboards (minus the magic) 34:40 The Magical Part of Magic Bitboards 39:00 Testing and Optimizing Move Generation 41:50 Killers, Reductions, and Repetitions 45:56 Creating a Lichess Bot 49:30 Let’s Play! 54:54 Existential Crisis 55:02 The Bot’s First Game Online 56:12 Can Our Bot Beat Stockfish? (No) 56:59 Rating Speculation 59:28 Outro
Not rated yetAnswering Your Questions
· 29 min
Let's talk about some stuff! My process for creating videos, unfinished projects, thoughts on Godot, and more. Support on Patreon: https://www.patreon.com/SebastianLague My (very crude) video tools: https://github.com/SebLague/VidTools Godot Marching Cubes Experiment: https://github.com/SebLague/Godot-Marching-Cubes Shapes by Freya: https://www.youtube.com/@Acegikmo https://acegikmo.com/shapes/ Music credits: https://github.com/SebLague/Misc-Project-Info/blob/main/Other%20Videos/Q%26A%20Credits.txt Chapters: 0:00 Intro 0:13 Video Creation Process 3:53 Creating Visualizations 11:50 Unfinished Projects 15:12 Learning Godot 18:35 Compute Shaders in Godot 23:48 Favourite Number 24:02 First Game Engine 26:55 Four Quick Questions 28:38 Outro
Not rated yetCoding Adventure: Ray Tracing
· 37 min
I tried creating a custom ray/path tracing renderer. Featuring: maths, shaders, and cats! This project was written in C# and HLSL, and uses the Unity game engine. Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source Code: * GitHub: https://github.com/SebLague/Ray-Tracing/tree/Episode01 Credits and References: * https://raytracing.github.io * https://blog.demofox.org/2020/05/25/casual-shadertoy-path-tracing-1-basic-camera-diffuse-emissive/ * Music: https://github.com/SebLague/Misc-Project-Info/blob/main/Coding-Adventures/Ray-Tracing.txt Chapters: 0:00 Intro 1:08 Cameras and Rays 3:30 The Pixel Shader 5:02 Drawing a Sphere 6:59 Multiple Spheres, and Colour! 8:21 Two Types of Reflections 9:04 Experimenting with Randomness 11:14 Random Hemisphere Directions 14:11 The Trace Function 16:35 Testing Lights 17:55 Chair Thief 18:23 Progressive Rendering 19:54 A Simple Sky 20:49 Lambert’s Cosine Law 22:47 Cosine Weighted Rays 22:36 Triangles 24:52 Some Tests 27:14 Specular Reflections 29:59 Tomatoes and Glossiness 31:57 Blur and Anti-Aliasing 34:42 Depth of Field 37:14 The End
Not rated yetExperimenting with Buses and Three-State Logic
· 18 min
Let's figure out how to move data around inside our simulated computer. Featuring multiplexers, buses, and three-state logic. Series playlist: https://www.youtube.com/playlist?list=PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq Simulation tool (work in progress): https://sebastian.itch.io/digital-logic-sim Source code: https://github.com/SebLague/Digital-Logic-Sim Support the channel: https://www.patreon.com/SebastianLague Resources and Inspiration: https://www.youtube.com/watch?v=QzWW-CBugZo https://en.wikipedia.org/wiki/Three-state_logic https://en.wikipedia.org/wiki/Bus_(computing) The Art of Electronics (3rd edition) Music Credits: https://github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/Bus%20Video%20Credits Chapters 0:00 Intro 1:33 Multiplexers 3:47 Making a Mess 4:45 Public Transport to the Rescue 6:09 Push-Pull Outputs 9:17 Bus Contention 10:00 Three-State Outputs 12:23 Bus Buffer 14:56 Testing the Bus 18:08 Outro
Not rated yetVisualizing Data with 7-Segment Displays
· 34 min
Displaying numbers is trickier than I expected! In this video we explore how to visualize the data inside of our simulated 4-bit registers, with the help of the double dabble algorithm and some seven segment displays. Series playlist: https://www.youtube.com/playlist?list=PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq Simulation tool (work in progress): https://sebastian.itch.io/digital-logic-sim Source code: https://github.com/SebLague/Digital-Logic-Sim Support the channel: https://www.patreon.com/SebastianLague Correction for a mistake in my boolean algebra explanation: https://www.youtube.com/watch?v=A-vLRThfJ4Q Resources and Inspiration: https://en.wikipedia.org/wiki/Double_dabble https://electronics.stackexchange.com/questions/499884/3-digit-of-7-segment-on-logisim/499916#499916 https://pdf1.alldatasheet.com/datasheet-pdf/view/5697/MOTOROLA/SN54/74LS248.html Music: https://github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/7Seg%20Music%20Credits.txt Chapters 0:00 Intro 0:49 Two’s Complement Refresher 1:34 Seven-Segment Display + Truth Table 2:58 Boolean Algebra Basics 5:43 Simplifying the Equation 6:48 Converting Algebra to Logic Gates 8:33 Computer-Assisted Design 11:25 Testing the Digit Display Design 12:36 A Real-World Version (the 74LS248) 14:20 Visualizing the Data in a 4-bit Register 15:14 All Ten Digits 17:22 Binary Coded Decimal 19:49 The Double Dabble Algorithm 22:58 Dabbling with Logic Gates 24:05 Implementing Double Dabble 26:39 Displaying an 8-bit Number 27:18 Ripple Blanking 29:32 Displaying Negative Numbers 32:34 Testing the Final Design 33:50 Outro
Not rated yetI Tried Coding a Neural Network to Identify Doodles
· 54 min
Exploring how neural networks learn by programming one from scratch in C#, and then attempting to teach it to recognize various doodles and images. Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code and Demo: * GitHub: https://github.com/SebLague/Neural-Network-Experiments * Demo: https://sebastian.itch.io/neural-network-experiment Training Data: * Digits: http://yann.lecun.com/exdb/mnist/ * Fashion: https://github.com/zalandoresearch/fashion-mnist * Doodles: https://github.com/googlecreativelab/quickdraw-dataset * Cifar10: https://www.cs.toronto.edu/~kriz/cifar.html Chapters 0:00 Introduction 2:39 The decision boundary 3:49 Weights 5:42 Biases 6:45 Hidden layers 7:45 Programming the network 9:57 Activation functions 12:42 Cost 15:07 Gradient descent example 18:22 The cost landscape 19:55 Programming gradient descent 21:10 It's learning! (slowly) 23:21 Calculus example 27:34 The chain rule 29:50 Some partial derivatives 33:14 Backpropagation 39:25 Digit recognition 43:56 Drawing our own digits 47:37 Fashion 48:25 Doodles 52:00 The final challenge Music: Cosmic Waves - Michael FK Amber - The Stolen Orchestra Beyond the Horizon - Sounds Like Sander Air - Assaf Ayalon Purest Form - Sounds Like Sander Hear Wide Open - Sounds Like Sander Universal Wonder - Moments Roman P - Moments All In Good Time - Shimmer It Will Come Back - The Stolen Orchestra Frontier - Shimmer New Moon - Cloud Wave Sunflower - Cody Martin Inner Peace - Moments Enchanted - Cody Martin Just Around The Corner - Shimmer
Not rated yetPolishing and Releasing My Tiny Geography Game
· 26 min
I've been making some small tweaks and additions to my little geography game based on the great feedback I've received from all of you (thank you!). Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code and game download: * GitHub: https://github.com/SebLague/Geographical-Adventures * Play: https://sebastian.itch.io/geographical-adventures Credits: * Music: https://github.com/SebLague/Misc-Project-Info/blob/main/Other%20Videos/GeographicalAdventures.txt Chapters 0:00 Intro 0:17 Creating a Compass 3:58 Making a Map 10:47 Tweaking the Terrain 13:13 Better city lights 15:40 Star Colour 16:27 Nighttime Visibility 17:26 Hot Air Balloons 19:52 Speed Control 21:34 Skywriting Experiment 24:18 The Final Result
Not rated yetTrying to Improve My Geography Game with More Real-World Data
· 36 min
Continuing the geographical game journey with some performance improvements, bug fixes, graphical upgrades, and a variety of experiments. Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code and game download: * GitHub: https://github.com/SebLague/Geographical-Adventures * Play: https://sebastian.itch.io/geographical-adventures Credits and References:: * Newton's method video (by 3Blue1Brown): https://youtu.be/-RdOwhmqP5s * Music: https://github.com/SebLague/Misc-Project-Info/blob/main/Other%20Videos/GeographicalAdventures.txt Chapters: 0:00 Hello Everyone 0:20 Please Don't Crash 1:50 Enhance! 8:45 City Lights 12:21 Terrain Mesh Optimization 17:17 Wind Experiment 21:12 Kepler and the Moon 27:32 The Motion of the Sun 28:43 Stars 29:56 Atmospheric Improvements 32:48 Seeing the Sights
Not rated yetI Tried Creating a Game Using Real-World Geographic Data
· 31 min
A little experimental game I've been working on recently, where you fly around a tiny version of the world and deliver packages to various cities. Would love to hear any ideas you might have about how this could be taken further! Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code and game download: * GitHub: https://github.com/SebLague/Geographical-Adventures * Play: https://sebastian.itch.io/geographical-adventures Credits: * https://www.naturalearthdata.com/ * https://www.gebco.net/data_and_products/gridded_bathymetry_data/ * https://visibleearth.nasa.gov/collection/1484/blue-marble?page=2 * Music: https://github.com/SebLague/Misc-Project-Info/blob/main/Other%20Videos/GeographicalAdventures.txt Chapters: 0:00 Intro (feat. Ori) 0:36 In Which a Cube Becomes a Sphere 2:06 Topography and Bathymetry 2:38 Latitude and Longitude Conversions 3:24 A Vertically Exaggerated World 6:10 Flying About the Planet 7:35 Frustum Culling Optimization 8:20 Generating a Normal Map 10:09 A Splash of Colour 10:39 Countries and Cities 12:06 Drawing Borders 13:07 Country Highlights 15:37 Drawing the Oceans 18:01 Some Gigantic Boats 20:05 Cloud Experiments 24:08 Custom Shadow Casting 25:39 Atmosphere Test 26:44 Parachuting Packages 28:00 Let's Play! 31:27 Outro (feat. Ori and Beemo)
Not rated yetI Spent a Week Making a Game about Vacuuming
· 17 min
I've recently been on a streak of unfinished projects, so I thought I ought to focus one week on actually completing something! I figured it would be fun to make a small game, and decided to ask a new-fangled AI for suggestions... Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source Code: * Game: https://github.com/SebLague/Super-Chore-Man * Cloth and IK test: https://github.com/SebLague/Cloth-and-IK-Test Music: Super Chore Man Theme by Ario Bintang. You can find his YouTube and Fiverr page below: https://www.youtube.com/channel/UCEVQPEZcTq58f4vdiAxuu-Q https://www.fiverr.com/ariobintangn Full song: https://youtu.be/kJgrOZ285bc?si=q8AtVRLsi-H1m7VP The Art of Loneliness by Anbr Into the Deep by Daniele Musto Toony by Liberty Bursting Splendor by Cody Martin Newborn by Roie Shpigler Falling Through the Hourglass by Sid Acharya Flight of the Inner Bird by Sivan Talmor Chapters: 0:00 Long-winded Introduction 1:33 Generating an Idea 2:45 Inverse Kinematics for Vacuuming 4:38 Rope Simulation 7:33 Cloth Simulation 8:59 Dust! (with GPU Instancing) 11:22 Procedurally Generated Floorboards 11:56 Props and Ghosts 13:13 Suction Lines and More 14:28 Playing the Game 15:50 Super Chore Man Goes Shopping 16:58 Outro
Not rated yetCoding Adventure: Terraforming
· 22 min
I got a bit tired of my simple heightmap-based planets and decided to experiment with generating them using the Marching Cubes algorithm instead, so that I could add a 'terraforming' ability for shaping the world with caves and tunnels and so on. I hope you enjoy! Project files are available here: https://github.com/SebLague/Terraforming If you’d like to support me in creating more videos, I have a Patreon page over here: https://www.patreon.com/SebastianLague Have a look at these videos if you're interested in learning about how the atmosphere and clouds were created: Atmosphere: https://youtu.be/DxfEbulyFcY Clouds: https://youtu.be/4QOcCGI6xOU Chapters: 0:00 Intro 1:05 Marching Cubes Algorithm Refresher 2:32 Looking at the Code 3:42 Making a Sphere! 4:53 Floating Rocks 7:20 Chunk Woes 9:48 The Mistake 11:31 Terraforming is Easy! 12:26 A Simple Water Shader 16:28 Adding Atmosphere 17:30 Some Fluffy Clouds 18:54 Terrain Colouring, and Sticky Lights! 20:23 The Expedition 21:23 Outro Music: Heart Calligraphy by Cody Martin Wonderland by Shimmer Autumn Wind by Yehezkel Raz Hall of the Mountain King by Kevin MacLeod (composed by Edvard Grieg) It Will Come Back by The Stolen Orchestra Amber by the Stolen Orchestra Nightingale by Emorie Into the Light by Emorie Animated Adventure by Andy Eliison
Not rated yetComplex Behaviour from Simple Rules: 3 Simulations
· 10 min
A small display of some of the surprisingly intricate patterns and behaviours that can arise from relatively simple rules. More information about each of the simulations below. These simulations were made in Unity, and coded with C# and HLSL. You can find the project files at the links below. Reaction-Diffusion: https://github.com/SebLague/Reaction-Diffusion Cellular Automata: https://github.com/SebLague/MN-Cellular-Automata Slime mould: https://github.com/SebLague/Slime-Simulation If you'd like to support my work, you can do so on Patreon: https://www.patreon.com/SebastianLague ---- 1. Reaction-Diffusion ---- This is a simulation of two chemicals (A and B). Both diffuse over time (A faster than B). The simulation space is initially filled with A, and just a small region has some of chemical B. Over time, more A is gradually added (controlled by a parameter called feedRate), while B is gradually removed (controlled by the parameter removeRate). Finally, there's a reaction that takes place: when one particle of chemical A is in the presence of two particles of chemical B, it will be converted into B. One could simulate the individual particles of both chemicals, but more common (and the approach I went with as well) is to just store a value for the concentrations of both chemicals at each pixel. The probability of an A particle coming into contact with two B particles can be determined by the equation: probablityOfReaction = concentrationA * concentrationB * concentrationB. Here is the tutorial I followed when creating my implementation: https://www.karlsims.com/rd.html The colours in the simulation are mainly based on the concentrations of the two chemicals, but to spice things up I also added some colouring based on how fast the concentrations are changing at each point. ---- 2. Multiple Neighbourhood Cellular Automata ---- This is a technique developed by someone who goes by Slackermanz online (you can find many awesome examples under that name on Twitter). In this simulation, the state of each pixel (called a cell) is initially randomized between 0 and 1. On every frame, the state of each cell is updated based on the states of all the cells inside various "neighbourhoods" around it. These neighboughhoods are ring-shaped, with each ring defined by a min and max radius, along with two min/max values called 'alive' and 'dead'. Once all the states inside a ring have been added up, the sum is compared to the ring's alive and dead ranges, and depending on which range the sum falls into, the cell's state increases or decreases by some small amount (if the sum is inside neither range, the state remains the same). This already gives interesting results, but there are some more nuances that can be added. For example, instead of the rings directly affecting the cell's state, they can contribute to several 'potential' states, and whichever of these is most different from the cell's current state becomes the new state. My implementation is based on Slackermanz code, which you can find here: https://github.com/Slackermanz/VulkanAutomata Slackermanz also has a YouTube channel here: https://www.youtube.com/channel/UCmoNsNuM0M9VsIXfm2cHPiA ---- 3. Slime Mould Simulation ---- In this simulation we have a lot lot of particles, each of which leaves a trail behind itself as it moves. These trails diffuse and evaporate over time. Each particle also has three circular sensors arranged in an arc in front it. These are used to detect the intensity of the trail, and the particle turns towards whichever detects the highest intensity. Some randomness is added to the turning as well. The idea for this comes from this paper: https://uwe-repository.worktribe.com/output/980579 I also have a video exploring it in some more depth: https://youtu.be/X-iSQQgOd1A Music: Beneath the Stars by Joshua Spacht Nowhere I Can Go by The Stolen Orchestra The Art of Loneliness by Anbr Selfless by Eleven Tales Life by Anbr Chapters: 00:00 Reaction-Diffusion…
Not rated yetCoding Adventure: Ant and Slime Simulations
· 17 min
A small exploration of an algorithm inspired by ants, and some little experiments into simulating some of the behaviour of ants and slime moulds. I hope you enjoy! Source code (slime): https://github.com/SebLague/Slime-Simulation Source code (ants): https://github.com/SebLague/Ant-Simulation If you'd like to get support the channel, and get early access to future projects, you can do so here: https://www.patreon.com/SebastianLague Links to some learning resources and cool videos / projects: Slime pattern paper https://uwe-repository.worktribe.com/output/980579 Slime write-up and cool examples https://sagejenson.com/physarum Ant simulation video by Pezzza https://youtu.be/81GQNPJip2Y Slime video by Deep Look https://www.youtube.com/watch?v=Nx3Uu1hfl6Q Physarum project by Michael Fogleman https://github.com/fogleman/physarum Chapters: 0:00 Intro 0:17 Traveling Salesperson Problem 1:36 Ant Colony Optimization 4:37 Creating a Visual Ant Simulation 9:15 Unleashing the Ants! 10:16 Side-tracked by Slime 14:07 Single Slime Experiment 16:02 Multiple Slime Species Music: Forest Overture by Yehezkel Raz Honey Bee Waltz by Kadir Demir Newborn by Roie Shpigler Joking by Kadir Demir Joyfulness by Kadir Demir Wakeup Call by Ran Raiten Anthill by Kadir Demir Synesthesia by Michael FK A New Horizon by Cloud Wave Selfless by Eleven Tales Reel by Anbr
Not rated yetCoding Adventure: Chess
· 29 min
My attempt at creating a little chess playing program! Think you can beat it? Give it a go over here: https://sebastian.itch.io/chess-ai Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source Code: * GitHub: https://github.com/SebLague/Chess-Coding-Adventure/tree/Chess-V1-Unity Learning Resources: * https://www.chessprogramming.org/Main_Page * https://web.archive.org/web/20071026090003/http://www.brucemo.com/compchess/programming/index.htm * https://github.com/MartinMSPedersen/Crafty-Chess Chapters: 00:00 The Board and Pieces 03:20 Generating Moves 06:54 A Random Adversary 07:52 Optimization and Testing 12:11 Search and Evaluation 17:43 Easy Endgames 20:00 The Transposition Table 23:03 Openings 25:09 Game One 26:06 Game Two 27:01 Game Three 28:05 Game Four Music: Devoted Mind by Wild Colors Intuition by Lincoln Davis Wonderland by Shimmer Selfless by Eleven Tales Floating Point by Roie Shpigler Nobility by Wicked Cinema A Quiet Place by Jordan White Air by Assaf Ayalon Heart Wide Open by Sounds Like Sander Thoughts by Anbr Deep Blue Sea by Sivan Talmor Flight of the Inner Bird by Sivan Talmor Kings and Queens by Wicked Cinema
Not rated yetHow Do Computers Remember?
· 19 min
Exploring some of the basics of computer memory: latches, flip flops, and registers! Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code and Simulator download: * Simulation tool (work in progress): https://sebastian.itch.io/digital-logic-sim * Source code: https://github.com/SebLague/Digital-Logic-Sim Resources and Inspiration: * https://www.youtube.com/c/BenEater * https://www.coursera.org/learn/build-a-computer * https://en.wikipedia.org/wiki/Flip-flop_(electronics)#SR_NOR_latch * https://en.wikipedia.org/wiki/Sequential_logic * https://electronics.stackexchange.com/questions/65463/why-edge-triggering-is-preferred-over-level-triggering * https://tams.informatik.uni-hamburg.de/applets/hades/webdemos/16-flipflops/20-dlatch/dff-enable.html * Music credits: https://github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/HowComputersRemember.txt Chapters: 00:00 Intro 00:33 Set-Reset Latch 04:33 Data Latch 05:56 Race Condition! 07:32 Breadboard Data Latch 09:36 Asynchronous Register 11:41 The Clock 13:03 Edge Triggered Flip Flop 14:18 Synchronous Register 16:48 Testing 4-bit Registers 18:25 Outro
Not rated yetExploring How Computers Work
· 18 min
A little exploration of some of the fundamentals of how computers work. Logic gates, binary, two's complement; all that good stuff! Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source code and Simulator download: * Simulation tool (work in progress): https://sebastian.itch.io/digital-logic-sim * GitHub: https://github.com/SebLague/Digital-Logic-Sim Resources and Inspiration: * https://www.youtube.com/c/BenEater * https://www.coursera.org/learn/build-a-computer * https://en.wikipedia.org/wiki/Two%27s_complement Chapters: 00:00 Intro 00:50 Logic Gates 03:09 The Simulation 05:06 Binary Numeral System 06:16 Binary Addition Theory 07:24 Building an Adder 12:11 Negative Numbers Theory 15:08 Building the ALU 17:43 Outro Music: "A Quiet Place" by Jordan White "A New Perspective" by Ryan Smart "Beyond the Horizon" by Sounds Like Sander "Crystal Bursts" by Cody Martin "Air" by Assaf Ayalon "Elastic Vibe" by Ziv Moran "Gotcha!" by Avocado Junkie Images: https://en.wikipedia.org/wiki/Vacuum_tube#/media/File:8863-Project-Whirlwind-CRMI.JPG
Not rated yetCoding Adventure: Atmosphere
· 22 min
The planets in my solar system project are looking a bit hostile and uninviting, so in this video I'll be attempting to add some cozy atmospheres around them. Watch the previous solar system video: here: https://youtu.be/lctXaT9pxA0 Some notes: • I made a little build where you can play with the atmosphere settings yourself, which you can find over here if you're interested: https://sebastian.itch.io/atmosphere-experiment • A number of knowledgeable people have pointed out in the comments that reality is not nearly as simple as my little diagram around the 4 and a half minute mark, and that light does not literally wiggle up and down like a wave, so please note that the diagram is incorrect! • This project was inspired by the game Outer Wilds, which I highly recommend playing! Project Files: The project is available over here: https://github.com/SebLague/Solar-System If you'd like to get early access to future project files (and support the channel!) you can find my Patreon page here: https://www.patreon.com/SebastianLague Resources: https://developer.nvidia.com/gpugems/gpugems2/part-ii-shading-lighting-and-shadows/chapter-16-accurate-atmospheric-scattering https://web.archive.org/web/20240828183804/http://nishitalab.org/user/nis/cdrom/sig93_nis.pdf https://physics.stackexchange.com/questions/28895/why-is-the-sky-not-purple https://en.wikipedia.org/wiki/Scattering Music: "Brief Respite" by Antti Luode "When Rain Comes" by Tide Electric "Door to Door Disco" by Bright Seed "Reflections of Space and Time" by AEROPLANES "In the Atmosphere" by Bad Snacks "Reflections" by MK2 "Nidra in the Sky with Ayla" by Jesse Gallagher "Far Away" by Antti Luode "Frontier" by Shimmer Sections: 00:00 Intro 00:32 Setup 02:46 Resources 03:25 Light Scattering 06:15 Coding the Shader 11:55 Initial Results 13:10 Adding Colour 15:20 Colourful Results 16:40 Optimisation 17:39 Stars 18:50 Exploration
Not rated yetCoding Adventure: Procedural Moons and Planets
· 22 min
Trying to generate some simple little moons and planets to fly about and explore. Inspired by the (incredible!) game Outer Wilds. Watch the next solar system video: https://youtu.be/DxfEbulyFcY Previous solar system video: https://youtu.be/7axImc1sxa0 Project Files: The Unity project is available on github here: https://github.com/SebLague/Solar-System/tree/Episode_02 If you'd like to support my work and get early access to new projects, you can do so here on Patreon: https://www.patreon.com/SebastianLague Resources: https://www.redblobgames.com/x/1842-delaunay-voronoi-sphere/ https://www.iquilezles.org/www/articles/smin/smin.htm https://www.medium.com/@bgolus/normal-mapping-for-a-triplanar-shader-10bf39dca05a https://www.medium.com/game-dev-daily/four-ways-to-create-a-mesh-for-a-sphere-d7956b825db4 https://www.github.com/keijiro/KinoBloom https://www.textures.com Music: "Brief Respite" by Antti Luode "In the Clouds" by Falls "When Rain Comes" by Tide Electric "Reflections of Space and Time" by AEROPLANES "Liminal" by Chelsea McGough "Frontier" by Shimmer "Sun and the Moon" by Moments Sections: 0:00 Intro 0:25 Spheres 3:09 Craters 8:10 Noise 10:40 Triplanar Mapping 14:21 Planet Shape 15:28 Ocean 17:30 Planet Shading 20:06 Solar System
Not rated yetCoding Adventure: Solar System
· 12 min
Experimenting with gravity and attempting to make a miniature, explorable solar system. Watch the next solar system video here: https://youtu.be/lctXaT9pxA0 Project Files: The Unity project is available on github here: https://github.com/SebLague/Solar-System/tree/Episode_01 If you'd like to support my work and get early access to new projects, you can do so here on Patreon: https://www.patreon.com/SebastianLague Learning Resources: https://en.wikipedia.org/wiki/Three-body_problem https://arxiv.org/pdf/math/0011268.pdf http://fabiensanglard.net/floating_point_visually_explained/ Inspiration: https://www.youtube.com/watch?v=LbY0mBXKKT0 https://joshworth.com/dev/pixelspace/pixelspace_solarsystem.html Music: "Somewhere in Outer Space", "Space Adventure 1982", "Under a Distant Star" and "Brief Respite" by Antti Luode. "Atlantean Twighlight" and "Tango de Manzana" by Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/ Sections: 0:00 Intro 0:27 Gravity 4:28 Solar System 7:56 Spaceship
Not rated yetCoding Adventure: Portals
· 16 min
Experimenting with portals, for science. The project is available here: https://github.com/SebLague/Portals/tree/master If you'd like to get early access to new projects, or simply want to support me in creating more videos, please visit https://www.patreon.com/SebastianLague Resources I used: http://tomhulton.blogspot.com/2015/08/portal-rendering-with-offscreen-render.html http://www.terathon.com/lengyel/Lengyel-Oblique.pdf https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/projection-matrices-what-you-need-to-know-first https://www.turiyaware.com/a-solution-to-unitys-camera-worldtoscreenpoint-causing-ui-elements-to-display-when-object-is-behind-the-camera/ Chapters: 0:00 Introduction 0:25 Figuring out the cameras 1:41 Test world 3:09 Texture mapping 4:27 Trying to understand perspective divide 5:50 Optimization 6:50 Making a prettier test world 7:18 Teleportation, at last! 9:17 Fixing the flickering 10:00 Slicing 12:15 Oblique projection 13:31 Recursive portals 15:33 Outroduction 3D Models: Plane: https://www.turbosquid.com/FullPreview/Index.cfm/ID/1041070 Car: https://www.turbosquid.com/FullPreview/Index.cfm/ID/1101519 Music: "Twisting", "Lightless Dawn", "Frost Waltz", "Heart of Nowhere", "At Rest", "Spellbound", "In Your Arms", "Rynos Theme", and "The Builder" by Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/
Not rated yet