I dislike flappy bird, mainly because it’s such a simple concept and was wildly popular. In this video I create a clone of flappy bird in the command prompt. Its the shortest code-it-yourself video yet.
A tricky video this one, as after I filmed the video, I realised it’s not exactly Perlin noise, but I didn’t have time to reshoot.
Sometimes, we want to randomly generate things, but pseudo random number generators are just too random! Perlin developed an algorithm which adds local coherence to noise at different spatial scales, creating clumping and patterned noise. This is considerably more natural in appearance than just white noise, and has many desirable properties such as tesselation, and level of detailing.
One of my earliest videos was a simple raytracing engine that ran in the command prompt. In fact, here it is:
I felt it was time to give this project a bit more attention, and introduced textures and sprites into the engine. The end result has transformed the look of the engine, and you would be hard pressed to realise this was still done in a regular windows command prompt.
The fantastic community developing around the YouTube channel are in fact, creating programs! Great!
I thought it would be interesting to get the community to submit code/videos/anything that demonstrates their projects, and I’d create a special video towards the end of the year as a show case for all of my subscribers. I’ll be honest, I’m not expecting many submissions, but I know of a few who’ll contribute something.
The only rule is, the viewer’s project must have something to do with the content produced this year by me. Submissions are by email: ShowCase2017@onelonecoder.com
By submitting you grant me the right to show the code/material in my video, which I will NOT monetise, and I’ll reference you by a handle of your choice.
In many applications, you need to route something from one place to another, be it an NPC in games, or scenery, or graphing applications. The default algorithm for new programmers seems to be the A* algorithm. I created an interactive demonstration video that shows how the A* algorithm works.
I’ve often though the command line is underrated as a graphical tool, after all I’ve built a youtube channel around this. In this video I try to really push the boundaries and its moderately successful, but mostly unpleasant.
Well, my special “Programming The Matrix” video for celebrating 511 subscribers went really well. I was quite nervous at first, but there were viewers, and there were questions. At one point I had 33 concurrent viewers, so thanks to the actual 6 of you, and the 27 spam bots that were keen on learning how to re-program the matrix, for obvious reasons. By a strange coincidence, and just as I went live, one of my videos got dropped on Reddit, twice. This fortunate and pleasing event has provoked quite a jump in my subscriber count, which is already at 812 right now.
I see Reddit as the holy grail for this sort of stuff so long as you don’t post it yourself. Regardless, I don’t consider myself a subscriber chaser, but it’s rewarding to see people seem to be enjoying the videos.
So it won’t be much longer before we’re celebrating 0x3FF subscribers. I hoped I’d have some more time to prepare something. I’ve been hammering the videos this week to give me a bit of a buffer so I can get a couple of weekends off. In case you’re interested I usually spend about 10 hours coding and testing the program during the week, and film and edit it on Sunday, which can be another 10 hours. If I do no face-to-camera work, then I may record a video on a weekday evening. I’m also due to do a silly video, but I’ve not thought about this yet either.
Coding Live was quite a challenge, and in fact I missed a bit from my notes out 🙁 but I’m sure nobody will notice the difference between the video and the source.
So beyond my wildest expectations (I estimated about 50 subscribers by the end of 2017) I’ve hit 511. To celebrate I thought I’d do a live stream of some sort. I’ve done live streaming before with games on Twitch, but not on YouTube. Also I don’t expect anybody to watch on Twitch! But there’s a chance some regular channel viewers may come along and hang out.
This makes me quite nervous. I’m going to code something, live, on stream in front of the internet. I know what it is I’m coding, but I’ve not coded it yet! That is to say I’ve planned it, I know how to tackle the problem, but I’m unsure if the end result will be any good. Also, knowing just how many takes and edits go into the videos, I’ll be exposing all the mistakes I make! Then there’s the unexpected. Will I have technical difficulties? What if someone asks awkward questions? What if I get swatted? Well, I’ll be honest, I don’t anticipate more than a handful of viewers so it’ll all be OK, probably.
I’m more concerned that the subject matter just won’t be what people have come to expect from the channel. I’ve picked something reasonably quick and simple to do, as I’d like to get the whole thing done in an hour – that way it could still be used as a regular video.
511 seems a bit of an odd number to celebrate, but it’s a nerd thing. In binary its 0000000111111111. Its similar to watching a counter get to a nice round number, except its when the counter has a long uninterrupted string of ‘1’s in it.
Being new to the YouTube way of doing things, I expected that when I created the event that all of my subscribers would be notified. They were not. So I hurriedly put together a short teaser video to announce it, knowing that for some of the subscribers, they will be notified.
I liked this video. I only wanted to spend 10 minutes doing it, but then I wanted it to look and sound right. I particularly like the sound building up then cutting off just before the end.
It would seem the video has had the effect I wanted. Within 24 hours it had had 150 views. Being less than a minute long, I expect most watched it until the end. At the end, it delivers a link to the location where the live stream will take place, and lo and behold, people had left a few messages of support there.
I’m frequently humbled by the attention of my audience. It takes effort to say nice things to people on the internet, and the feeling of satisfaction from a nice comment never goes away.
Wow, this video is a big one for sure, but it just had so many interesting things to include. I thought Asteroids would be simple, but doing it right means I need to explain matrices, vectors, spatial transformations and trigonometry, then I can explain the programming. I’m unsure how popular this one will be.