Тёмный
The Coding Train
The Coding Train
The Coding Train
Подписаться
All aboard! The Coding Train is on its way with creative coding video tutorials on subjects ranging from the basics of programming languages like JavaScript to algorithmic art, machine learning, simulation, generative poetry, and more. Choo choo!
Coding Challenge 180: Falling Sand
23:00
5 месяцев назад
I made a Discord Bot that says Choo Choo
33:15
7 месяцев назад
How to Set Up a Node.js Project
24:44
7 месяцев назад
Workflow: Terminal, Shell, Node.js, VSCode
23:30
7 месяцев назад
Creative Coding for Beginners - Full Course!
5:06:17
8 месяцев назад
Coding Challenge: 3D on Apple II
45:40
Год назад
Local Storage in JavaScript with p5.js
12:04
2 года назад
The Anal Retentive Coder
4:47
2 года назад
Coding Challenge 166: ASCII Text Images
22:42
2 года назад
Coding Challenge 165: Slide Puzzle
26:53
2 года назад
Комментарии
@LukeHogan-s2k
@LukeHogan-s2k 3 часа назад
Wow. This is one of the best videos I have seen on a coding topic...ever. Can't wait to watch more.
@jassimelattar
@jassimelattar 8 часов назад
my ADHD can't take control when thay guy is explaining
@cashewABCD
@cashewABCD 8 часов назад
Watching these for free, what a great world your building, thank you!
@sarahross2678
@sarahross2678 День назад
I want to draw a pair of eyes and I want the pupils to move with my mouse but I obviously don't want them to leave their respective eyeballs. What should I do?
@slevinhyde3212
@slevinhyde3212 День назад
VEEERY NICE !!
@KnakuanaRka
@KnakuanaRka День назад
I think an iterative approach might be quicker to explain and understand than a recursive one, like this: expand(start, rules): { Ret is an empty array. While start isn’t empty: { Remove the first element of start; call it firstTerm. If firstTerm isn’t in rules: { Append firstTerm to ret. } Otherwise: { Pick a random element from rules[firstTerm]; call it expanded. Start becomes expanded + start (combine two lists of elements). } } Return ret. }
@Romans828KJV
@Romans828KJV День назад
Please no gay pink wallpaper 😭
@seymurhamidov6091
@seymurhamidov6091 День назад
Best content
@seymurhamidov6091
@seymurhamidov6091 День назад
Best teacher and explanations! This man deserves best
@alexx4992
@alexx4992 2 дня назад
"If it's very hot, turn on the air conditioning. Otherwise, take a nap."
@youtubeonly3770
@youtubeonly3770 3 дня назад
It's sad to see the p5 guy growing OLD. I am following your content from when I was in high school.
@bhuvi5030
@bhuvi5030 3 дня назад
Why there is depth in minimax props whats is the purpose of that
@adminiget1602
@adminiget1602 4 дня назад
When the square was imperfect on the whiteboard i almost gone crazy.
@RazingForx
@RazingForx 4 дня назад
WOW, this is such a great video, love it.
@mmtatlas4705
@mmtatlas4705 4 дня назад
thanks for the video. Patenting algorithms is such a scummy thing, its like patenting logic and telling people they cant think in this way.
@PatrickHoodDaniel
@PatrickHoodDaniel 5 дней назад
I remember making similar games but on the TRS-80 model 1. When I upgraded to the model 3, I started advertising the game in software publications similar to yellow pages. I didn't sell a single copy. Haha.
@phaneedrakumaribharadwaj2392
@phaneedrakumaribharadwaj2392 5 дней назад
i like your face after seeing your face i feel more relaxed
@leiflangford1673
@leiflangford1673 6 дней назад
You have a gift? First youtube personality to get me to want to learn to program! Thank you for your time!
@jonpatchmodular
@jonpatchmodular 6 дней назад
I loved these Apple II coding challenges! I really hope you revisit this series at some point. I have programmed a lot on a somewhat modernised version of BASIC thanks to SmileBASIC for the Nintendo Switch and Nintendo 3DS, so I have a fondness for this old-fashioned algorithmic programming. Maybe at some point you could take a look at this great piece of software by SmileBoom! (I reccomend the switch version so you can use a USB keyboard) Aside from the text-based and graphics mode stuff, it has capacity to load and save backgrounds, display tilemaps, move sprites, and play sounds and music, with a built-in library of example graphics, music and sound. This makes it into a very simple game engine of sorts, but it has a real vintage feel since you do all by code, like a commodore and an NES put together. You can even use the hardware's unique features, like the 3DS dual-screens and touch screen, and I think the Switch version is compatible with the LABO cardboard controllers. It can be compared to Processing in how it makes programming fun, visual and creative, but running on a BASIC-style paradigm. You can really tell it's a labour of love. A shame that you can't compile the programs for PC. At one point I even programmed a game engine to wrap the per-sprite code functionality, being able to define and instantiate sprite classes, and run framerate independent code calculating Delta Time, in addition to some utility functions like linear interpolation. I called it the Reptile Engine for some reason. I never used it to make any games, because I couldn't deal with the mess of having so much code on a single program, and I hadn't figured out the self-modifying code functionality or any other way to separate the engine code from the game script. Still, a proud achievement, coded by touchscreen and stylus on a 3DS with no real OOP functionality.
@jordanwhistler9597
@jordanwhistler9597 6 дней назад
You had me until you pronounced gif with a hard G 😂
@bjbell52
@bjbell52 6 дней назад
I don't program in Javascript. I'm trying to relearn object Pascal and I thought your starfield simulation would be a good starting off point. I've got as far as creating a star type, creating an array of stars, giving them starting positions, and displaying them on the screen. Now I'm trying to animate them but Pascal doesn't have a map function. I tried to find out using Google but so far I've only found a map function in Javascript that works on arrays. What exactly is this line of code doing : sx = map(x / z, 0, 1, 0, width) ? TIA.
@TheCodingTrain
@TheCodingTrain 6 дней назад
It’s not the JS map function it’s a special p5 function that maps a number from one range to another you can reimplement it in pascal! Search map function and p5.js for more!
@bjbell52
@bjbell52 5 дней назад
@@TheCodingTrain Thanks.
@bjbell52
@bjbell52 5 дней назад
@@TheCodingTrain Thanks again. One quick Google search and I found the source code for the Map function. It was only one line long and very easy to create it in Pascal.
@zrodger2296
@zrodger2296 6 дней назад
Came for the Khan reference, stayed for the coding! Keep coding, everyone!🎉
@junseopark3933
@junseopark3933 7 дней назад
9:45 240622
@NinjaNezumi
@NinjaNezumi 7 дней назад
This looks amazing! I just wish the video was in English. :D j/k ;) If there is a way to make this in C# I need to figure out how :D
@zeyusdotcom
@zeyusdotcom 8 дней назад
I've been coding since forever, I'm not even sure why I started watching this, but I'm so happy I did! What a great video, you're an engaging and entertaining teacher, and I think (it's hard to say) you present it in a way that's accessible for people of all levels. Awesome work. 💗
@gauravtejpal8901
@gauravtejpal8901 8 дней назад
It is people like yourself that made me love programming. You, Sir, are a force for good 👍
@burrdid
@burrdid 8 дней назад
I give this a like because you used interrobang in the captions.
@heychiembugua1414
@heychiembugua1414 8 дней назад
Wish I saw this videos sooner! Finally I'm understanding
@dawnstar24
@dawnstar24 9 дней назад
25:42 the people laughing in background feels like he is doing a comedy skit.
@menachemlevi
@menachemlevi 9 дней назад
you are one of the best teacher and your intusiasem is a lot
@possibilityspace
@possibilityspace 9 дней назад
1. We're going to go quickly. 2. We're not going to rush. 3. We're going to meditate.
@DemetrioTorgan
@DemetrioTorgan 9 дней назад
The great Shiffman!!!!
@ryzehaha
@ryzehaha 9 дней назад
i lub u
@Rob-nb6zi
@Rob-nb6zi 9 дней назад
This is possibly my favorite RU-vid video. "This probably won't work out". Now there are 1.69 million subscribers. Shiffman is the GOAT!!
@lovemadeinjapan
@lovemadeinjapan 10 дней назад
I really like the eighties shirt, but TUCK IT. People tucked shirts in the eighties! We're not on Hawaii!
@user-hy4he4cq2d
@user-hy4he4cq2d 10 дней назад
Whilst watching the coding train, thought he was coding a game. His maths was sound, the topic profound. He taught me something again.
@jonpatchmodular
@jonpatchmodular 10 дней назад
NOITA SHOUTOUT!! THAT GAME IS INSANE!
@RaulScanavino
@RaulScanavino 10 дней назад
Please, can someone show me how to export the final stippling to a svg file. I'm not a programmer! Tks!
@DemetrioTorgan
@DemetrioTorgan 11 дней назад
Professor, your class is incredible!!!!
@DemetrioTorgan
@DemetrioTorgan 11 дней назад
Thank you very much teacher, that was wonderful!!!!!!
@yvanpearson7024
@yvanpearson7024 12 дней назад
maybe contains function should be called is_within?
@KECHENGLIU-oz777
@KECHENGLIU-oz777 12 дней назад
This is the third time I watch this video
@TomLeg
@TomLeg 12 дней назад
Butterfly wing might cause a storm, at least in theory, but that's not the sort of thing that causes a volcano eruption.
@Churagawa
@Churagawa 12 дней назад
impossible to watch.
@Jilinhall
@Jilinhall 13 дней назад
this is actually such a smart way to generate a random but smooth-ish curve!
@gauravjain183
@gauravjain183 13 дней назад
love this!! :)
@ManishFrenchStudio
@ManishFrenchStudio 13 дней назад
An absolute triumph! 🌟🎥 This video is a triumph of content creation, seamlessly blending knowledge and entertainment. The presentation is flawless, and the visuals are nothing short of spectacular. I was entranced from the first moment and left with a deep appreciation for the subject matter. It's evident that the creators poured their creativity and expertise into this project, and the result is nothing short of exceptional. I'll be singing the praises of this video for a long time. Bravo! 👏🚀2.8k
13 дней назад
It seems like your quadtree example doesn't have any improvement over non quadtree approach.
@dkyeboah1
@dkyeboah1 13 дней назад
Great video as always. Question: If I want to be able to click on an object and drag that same one object to a new location, how do I achieve this?
@SMVK
@SMVK 14 дней назад
Next, make this algorithm in raster (each individual's pixels)🌚