Here even in this video we are going to learn some basics of total graphics that how you can draw some
figures by using total graphics.
So first of all some sources of error you may get.
First thing is this one is a by default probability so it is not required to install this one.
You just need to import this.
After that one you can get something like memory allocation error did not able to create memory and
that is because of the database we have installed in the last section because of that one that created
separate Windows user or that most serious skill due to which data are too graphic not able to find
the actual location for its window because total graphics require a window to create some drinks.
So for that one just uninstall the database for a while and install that one.
Now I'm going to prefer terminal for this one because this is the best for explaining this total graphics
because they require something like creating drawings and moving difficult yet again and again.
So for that this one is best.
You can also use the atom and Jupiter the same now first of all.
I'm creating a potential with Python 3 and then you need to import turtle as d and you can import this
one with any name.
Now few basics of that thing.
First thing if you need to grow you require some any kind of paper or any kind of window where you can
do like you're going to be doing it.
So that's the effect here.
For that one to get a window you can run any turtle Come on you will get into the most basic one we
do for that one is go to so this command is something like If I had this goes a and this one is here
at this point right.
So it will be something from accesses and something from viruses and that are the coding nodes denoted
by the pixels.
Same here.
This go refers to moving this closer to any particular position by using the coordinates.
So if I pass something like here minus one drop and say minus entry I will get a pop up window with
which I will get this goes.
At this particular point minus hundred and minus hundred.
So basically this was actually at this point and it got minus a hundred and minus hundred dead by creating
a line the.
So this is the most basic amount of total graphics.
Without this one if you did not pass the parameter you will get error.
Now if you change these values here again this one but something like C hundred and minus 10 it will
get to that particular point as this one is there.
If I do here two hundred or and plus then I get to so it will move according to you wherever you want
to make this one.
So this is the first basic.
After that one.
This one is creating a line with this one.
So what if I need to create something here that is with this one but they're independent of each other
like there's no connection in between them.
So how can I do that.
Because the lines are there.
So for that when we had to come on bend down bend.
So this state is known as bend down in which I am writing a line with my motion and there's another
known as bend up.
So for that I just do not bend up and pass dependencies and just hit return.
And now if you move this one to any position say to go to say mine.
So the 50 and minus 50.
So now this is here without any line drawing here so by using this one you can get rid of the lines
if you don't do not require that one.
Now if you again need the lines you just do pan down panties and then hit Twitter.
Now if you draw any line say go to 150 and minus 50 variable with a line.
So now we have line answer.
So this is how you can make line and get rid of debt.
And it wouldn't talk more about this line then you can also change the color of this line by just simply
did not color.
And in that won't pass any color say blue.
Now if you notice this one this gets blue collar now and if I say do something like this one in two
250 or something like close at 80 they go 80 this one and this one say 350 or 250.
They will go with the blue line so this is how you can change the line colors and after this one we
have this one.
Now if we talk about this line.
So here this line is very slim.
What if you need a ticket line.
So for that one we have a command known as pen sites.
So take your pen size in which you need to pass any value see I'm passing quality it through done.
And now if you make any changes to any position say 50 80.
David will this one already take line.
Then again introduce that won't do any say to and now if you do the change here with 70 or so 30.
David go with the wait in line.
So that is how you can create the.
So the change the size of this one after that one feel more basics like the speed of this one there
it is moving a little slower.
If you have noticed there like this one is 350 and tacky.
So this one is a little slower.
You can also increase the speed of this one by just deed or speed.
And that is useful when we are working with a large number of motion at a time like walking in loops
so if you increase the speed to any number of say 50.
And now if you move this one to any particular value say minus 350 and with an angle of 40 I believe
you do not have even noticed five and this one get up there because that is actually fast.
And if I do this one 140 they go the deadline.
So this is how you can actually increase or decrease the speed of this one after that one.
What about the background like if you require a different color background so that when we have a command
do not get screen and then pass defenses don't be color that is ignoring background color there you
can pass any color.
Say blue everybody don't blue.
And we are going to turn into white.
So I suggest you do write down these commands once you remember that then you will not required but
in the beginning I believe you.
It's better to have notes and you can also get these in the notes after the open.
These are about these few last commands that are in basic are forward left and right.
So this is we are actually going to some random points without any much knowledge in practical if you
want to create any figure.
So you do not go at Point two point because we do not require these points of this also do the coordinates
of this point or this point or say this point.
So for that one what will we do.
We will just move this one into forward or in some directions.
So to make this one for where you just try to load forward and then pass the land you require said 300.
It will move in 300.
Let me also reduce some speed because that's actually getting really fast.
So just speed one now we go in forward direction with 300 more 300 terribly.
And now what if I need this one at this point which I do not require.
Remember the point of this one but actually I remember angle like this one is 90 degree but not the
point.
So what will I do.
I will rotate its head so you can rotate the head by just to the left pass the angle see 90.
This one goes upward.
Now if you move this one forward sit with 30.
This will go upward with the tactically.
So a 30 picks up.
And if I rotate this one into right now to test that line I required nineteen ninety one hundred and
eighty degrees.
So 180 days I go this one in the opposite direction is done.
And if I do this one with one 30 day we go with that one just a little more here have intersected that
line.
So that's how you can vote with this start.
So I believe I have told you most of the basic commands that you are required to work with this class.
And by using these you can create any figure here that you will learn in the next videos.
So thanks for watching.
This is all about the basics.
I hope you enjoyed this one.
Soon the next video.