top of page

Make fidget spinner from python

A person may have invented the fidget spinner, but it's a tool that has taken off in recent times. Inventors are often looking for a way to generate an idea, and the ultimate fidget gadget was created in this process. It seems like everyone is talking about it, so you should know what all the fuss is about!


This article will teach you how to create your own interactive Python-based? fidget spinner from scratch! We'll walk through creating different interfaces for both Apple products and Android devices with our example apps, along with tips on how to make your app more appealing. After reading this article, you'll understand how to make your own fidget spinner, and how to make it stand out in a crowd.



What is a fidget spinner


The fidget spinner is essentially a toy. The objective is to flick it with your fingers and have it spin for as long as possible. As long as you're not standing on the bus or in class when you play with these toys, they can be very entertaining. We'll create our own versions of this toy which we can play with in the form of an app on our devices! We'll also explore some of the basics of how these gadgets work in order to make our spinning app more realistic.


How does a fidget spinner work?


Fidget spinners have an axle attached to two wheels. The axle goes through the center of each wheel, so if you were to put the axle in your hand and spin it around, the wheels would be forced against your palm. The friction from this makes them unwind and spin, and the momentum causes them to start spinning in place if you let go.


In order for a fidget spinner to work properly, it needs to be balanced well. This means that there needs to be an equal amount of weight on both sides of the wheels, otherwise they won't rotate together as they should. This is achieved by using bearings in the wheels. Without these bearings, a fidget spinner would never spin for long.


When you flick the top of a fidget spinner with your finger, you're making it move on its center axis in order to make it spin. If you were to do this repeatedly with enough force, it might work! This means that if you wanted to create an interactive toy thata spins when you flick it in the same way that a fidget spinner does; all you'd need to do is attach some wheels and bearings to a central axis and let your user flick it around.


This basic principle is what we'll be working with to create our own app and make our own interactive toys.




CODE==https://drive.google.com/file/d/1sTjT-hfdncY8XfcW-YhtgVVquk5bI2iE/view?usp=sharing



Commentaires


bottom of page