This tutorial demonstrates how to use the Kivy framework for Python to create an app which plots a sine wave and which actually works on your android smartphone (unlike Matplotlib). It's for beginners and advanced users of Kivy and Python.
If anything is unclear, feel free to ask and write a comment.
▬ Links ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Code of this tutorial:
github.com/denczo/kivy_examples
Build and Deploy the app:
• Build & Deploy Kivy Py...
Python Installer:
www.python.org/downloads/
Kivy Framework:
bit.ly/3tIIXHT
Kivy Garden Graph:
kivy.org/doc/stable/api-kivy....
kivy-garden.github.io/graph/f...
Error Handling:
supportuae.wordpress.com/2019...
▬ Commands ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
sudo apt-get update -y
sudo apt-get install python3
sudo apt install python3-pip
sudo apt install git
pip3 install kivy
pip3 install numpy
pip3 install kivy-garden.graph
▬ Chapters ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Start:
► 0:00 - Intro
► 0:44 - Basic Setup
► 2:42 - Short Summary of Kivy
► 3:17 - How to plot a Graph on Android
Coding:
► 3:45 - Basic Kivy Application (Hello World)
► 8:05 - Slider Widget
► 12:13 - Graph Widget (with Sine Wave)
► 17:33 - Update Plot with Slider
► 19:35 - Styling Graph Widget
► 22:00 - Zoom Buttons
► 24:19 - Set Background Color
► 25:53 - Zoom Feature (ScrollView Widget)
► 37:43 - Outro
▬ Programming ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Pycharm Community Edition
► Python 3.8.1
► Kivy 2.0
▬ Editing ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Sony Vegas Pro Edit 14
► OBS
► t.bone SC400
► Cheap Webcam
30 июл 2024