 Okay, hi everybody, this is just a quick demo of something I'm working on that I wanted to share with everyone This combines two of the things I really like in life old-school arcade games and Star Trek So you can see over here. I've got my kind of tiny little enterprise shape And then over here I've got some code and I'm gonna be doing something called vector graphics And let me show you what that looks like and then I'll explain Here's my program. You can see I've got I forget maybe 50 little mini enterprises on the screen And this is what's known as vector graphics now. It's a simulation of vector graphics It's not really vector graphics, but it's close close enough for our purposes and vector graphics was just an old type of arcade Or old type of graphics system where instead of using like little bits Like normal screens that where you're used to it actually drew lines now, you know, of course in a modern monitor We don't have that option, but we can see you late it by drawing each of these lines Individually, okay, and so how I did that Was let's see if I shrink that down there. There we go was I first designed my shape over here I just made a little Google Doc to do that and here's my center That's at zero and zero so that would be that's gonna end up being my X and Y coordinate And it's really important to make your shape symmetrical So when you rotate it it rotates about this central axis and so I just did a little Star Trek enterprise type shape in Basically just lines and so what you see here is That's what's on the screen so you can see some of them are bigger some of them are smaller Now this isn't really a tutorial. I'm not gonna walk you through the code, but I will share it down below Maybe I will walk through someday because this is a bit complicated, but basically what I did Was I took all of these coordinates so you can see here I started at negative eight four So that would be negative eight and four and I went from negative eight four to negative two and four so I drew this line Then I put a blank Which means pick up the pen Go to the next one, which is negative eight negative four and then draw over to negative two negative four picked up the pen again and then went to negative five Negative three I drew this part actually should have started here and gone all the way, but that's okay And so I'm basically just drawing it line for line. So let me go ahead and Comment out wind tracers and see actually what's going on when I run this so this will run it just very very slowly So you can see how it's drawing the left nacelle And it's still a little fast, but you can see left right middle and it draws the the It's the bridge part the main part of the saucer section. Excuse me You can see how they're all at different random angles and this was just a little bit of a mathematical trick I found it on some website that can't find the website and I can't reference it but I found it somebody wrote this in JavaScript and This is the code. It's it's a bunch of mathematical stuff So if you want to try this again download it and play around with it It's written it's uses classes So it's a bit more advanced structure than probably what you're used to from what I usually do But it's kind of fun just to kind of play with you can see here I just made 50 different enterprises. They're at random places X and Y random headings and DH is the the rotation so they just have a random rotation and then they all have a random scale from 50% to It's 2.5. So 250% and then there's just a little while true loop. I clear the screen I move each enterprise and then I render which means to draw in this case And then I update the screen and just repeat over and over again So again, let's take a look at what that looks like and oops. Let's go ahead and speed that up real quick and This is a fun little program like I don't really need that anymore, but it's okay and Where is the tracer that's that's the big one a tracer So again, sorry, I know this isn't super form of which is something to play with You might want to try and draw your own shapes and see what you can get to come out of that Okay. Thanks for watching