Posts

Featured Post

5 Easy steps for beginners to make animation of sorting algorithms using Pygame

Image
Hi guys... So if you are seeing this article that means you are ready to make your animations of sorting algos. Alright so we can start without wasting the time. So We are going to use Python language to make these animation... What?? what are you talking about .I don't know anything about  python. how am i supposed to make animations now... Chill..relax..?? When i made these myself i was also a beginner but it doesn't change the fact i wanted to make one of  these animation. So i started and guess what? there is nothing to fear about python its just a language not actually a python(tell me you got my poor pun). You just believe in yourself and start ,its easier then it sounds. Alright below are some steps of how you can get started..(crack your knuckles you are going to be awesome): STEP:1- Installing the prerequisites: first you need to install python on your system . you can do it by going to below link and choosing a package depending on your system p

How to do remote desktop connection on Window 10

Image
A Remote desktop connection is a feature that lets you access your PC remotely with any other device such as your phone. You can access your PC and its hardware via your phone. It uses all hardware resources of your PC except for the display, your phone's screen acts as a display device for your PC. You can manage files, schedule processes, keep track of any ongoing tasks, or start a new one. All of these tasks will use the hardware of your PC. Here are the steps you can follow to change the settings on your Windows 10 PC to establish a remote desktop connection: Step 1: Enabling Remote Desktop Setting on Windows 10 In windows 10, go to Settings => System => Remote Desktop Settings . Then toggle the button which says Enable Remote Desktop and confirm to toggle it. Step 2: Downloading a Remote Desktop connection app To use your phone as a remote device to access your PC you need a medium that connects your PC with your phone. This is done by any remote desktop app which you

Convert your Python file to executable windows file

Image
Hi mates , In this post we are going to learn how to convert your python files(apps,games,animations etc.) to an executable windows file, so that you can distribute it on web or to your friend and family without asking them to separately download python or any library for python. There are many methods to do this including Py2exe , cx_Freeze , Pyinstaller  and some other. they all do pretty much the same thing they freeze(or compile) your python file into executable file(or a single package). We are going to use Pyinstaller , because it is very easy to use ,comes with different feature, it is compatible with 3rd party packages and also supports most of the python libraries(including PyQt, Django and matplotlib). I am going to use the python file made in my last post on Sorting algorithm animation using Pygame  . I made a little change so that animation doesn't stop after sorting is completed ,instead it starts again with new random array.You can download the file here

Animation of Sorting Algorithms

There are many different types of sorting algorithms and each one has a different pattern of working(of course that's why they are different 😇 )  with array or maybe some other data structure like-linked list etc. You can find many different tutorials about how they work within computers all the coding stuffs. But did you ever find yourself wondering how cool it would be to realize how they work with the random distribution of those numbers. How good it would make you understand how they work internally if you can see how numbers get rearranged in each sorting algorithm. Don't worry you can do that easily, just search by words like 'searching algo animated' or 'animation of different searching algorithms' etc. You will find there are many programmers before you who had the same feeling to watch it happen by their own eyes . So they came up with different animations using different platforms. You can find many kinds of videos(animation) each one with