Looking for:
- Kturtle for windows 10The KDE Education Project - How to obtain KTurtle.KTurtle (Educational Programming Environment) -
Make sure snap support is enabled in your Desktop store. Don't have snapd? Get set up for snaps. KTurtle is an educational programming environment for learning how to program. It provides all programming tools from its user interface. The programming language used is TurtleScript, which is loosely based on Logo.
All commands and messages are translated into the user's language. KTurtle features an intuitive syntax highlighting, simple error messages, integrated canvas to make drawings, an integrated help, slow-motion and step execution.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation. Thanks for bringing this to our attention. Information you provided will help us investigate further.
View in Desktop store Make sure snap support is enabled in your Desktop store. Install using the command line sudo snap install kturtle. Options to install this snap. Show architecture. Overview All releases. Channel Version Published. Educational Programming Environment KTurtle is an educational programming environment for learning how to program.
Create embeddable card Customise your embeddable card using the options below. Preview: HTML:. Related blog posts. Where people are using KTurtle. Users by distribution log Ubuntu Linux Mint Install KTurtle on your Linux distribution Choose your Linux distribution to get detailed installation instructions.
Is there a problem with KTurtle? Report this app. Cancel Submit report. There was an error while sending your report. Please try again later. More snaps from KDE View all snaps.
KTurtle Educational Programming Environment.
The KDE Education Project - KTurtle.Regarding Downloading the KTurtle software for Windows
But remember, the KTurtle environment has a few hacks for those who are patient enough to explore further. To make things easier, KTurtle itself provides some examples with which we can start learning. The image of a triangle is displayed on the screen.
Figure 4 shows this output, which has a triangle and a square with the green turtle placed near a corner of the square on the canvas. How will you send the turtle out of the canvas so that it does not obscure our view? This line of code sets the position of the turtle to location , in the 2D plane of the canvas. The size of the canvas is only x ; so the turtle moves out of the visible area of the canvas.
Before understanding the program in detail, we need to understand the co-ordinate system of KTurtle. The co-ordinates of the top left corner are 0,0 , the top right corner are x,0 , the bottom left corner are 0,y and the bottom right corner are x,y where the values x and y represent the x-axis and the y-axis positions on the canvas.
Now let us try to understand the program, line by line. We have already seen the purpose of the command canvassize. The width of the line drawn by default is 1 pixel. An angle of zero degree means the line is drawn vertically. For a better understanding of this, type and execute the following two lines of code on the editor:. You will see a horizontal line drawn on the canvas with the turtle resting at the top of the line.
The line of code:. Since the last two lines of code are repeated three times, three lines are drawn by the turtle to form a triangle. After this, the following two lines of code:. There are only four lines of code that have been newly introduced in this program. The line of code canvascolor 0, , 0 is used to set the background colour of the canvas. Here, the background colour is green with an intensity Here again we use the RGB colour model. In this case, the colour of the lines drawn is red.
At the end of the program, I have added the line of code:. The pretty standard code to draw this fractal is taken from the KDE UserBase Wiki and all I have done is add colours to the lines drawn.
The code is given below. Here, a command called learn is used to create our own command called sierp. This is similar to defining user-defined functions in traditional programming languages like C or Java. This function sierp is called recursively to draw the fractal. Operations like addition and modulus are performed on these variables.
The mathematical implications of this fractal are pretty amazing but the aesthetic pleasure offered by the image of the fractal is even more so. Figure 6 shows the output of the program on execution. This is just a basic introduction, yet sufficient enough to get people interested in the language, I believe. In a theoretical sense, KTurtle is a complete programming language which is as powerful as general-purpose programming languages like C or Java.
All these changes are made to set straight mistakes that were made in the previous release, right now the KTurtle version that is in development will almost certainly grow into a 1.
To build the development version of KTurtle have a look at the obtain page. There is also a KTurtle google group to discuss current KTurtle development issues. Applications By Age. Preschool School University. Language Mathematics Miscellaneous Science. About Us. Contact Us. Related blog posts. Where people are using KTurtle. Users by distribution log Ubuntu Linux Mint Install KTurtle on your Linux distribution Choose your Linux distribution to get detailed installation instructions.
Is there a problem with KTurtle? Report this app. Cancel Submit report. There was an error while sending your report. Please try again later. More snaps from KDE View all snaps.
No comments:
Post a Comment