Kivy Tutorial #8 - Simple Drawing App (Using Canvas)

preview_player
Показать описание
This kivy tutorial goes over how to create a simple drawing app and add objects to the screen using the kivy canvas. The next kivy tutorial will cover creating multiple screens and navigating between them.

**************************************************************

Use the Code "SAVE6144" For 50% Off!

**************************************************************

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
- Tech With Tim
- Pygame
- Python Tutorials
Рекомендации по теме
Комментарии
Автор

Good tutorial. been using Tkinter and know it really well, but have reached a limit with it. These vids are great because i was trying to run before i could walk with Kivy. just got to knuckle down with the basics. Like the .kv file, for styling, have done some css stuff, so makes some sense to me.Thanks again

chrispeters
Автор

hey, thanks for the videos, they are quite helpful. do you know how to integrate opencv with kivy?

t.edits
Автор

For a beginner like me it is a great tutorial! I would like to know about the drag and drop widget along with touch events!

srinivassagit
Автор

You actually don't have to use rgba values. rgb values are much easier to understand. You can do it like this : Color(255, 0, 0, mode="rgb") (Color: red)

IQUBE
Автор

Thanks for the great videos! could you make a tutorial for how to integrate matplotlib figures with kivy

wessamadel
Автор

Say I wanted to create a for loop with multiple squares (specifically, to alternate colors and build a chess board), but one in which the squares were relative to the minimum height or width in the box where I put them. I attempted making the sizes relative with an edge_len = min(self.height, self.width), to no avail. Any ideas on how to do relative sizing?

fantasdeck
Автор

I feel like he was bit sick when recording these kivy tutorials. Just an observation, the tutorials are still amazing. And I'm sure you have recovered or I would have wished you a "get well soon"

ranguy
Автор

Hey Tim great videos...🙂.
I want to save that drawing in image fomat.
How can I do that?

rahulkothari
Автор

Thank you! How can I change color of rectangle using special button in app?

danilon
Автор

It can be possible to support in Android phones? Mean how load in Android phone?

boxoffice
Автор

Why clicking right mouse button doing this weird circles?

bartox-ttpg
Автор

Hey Tim, I have just one question... I tried naming the method for dragging as on_touch_drag, but it doesn't work. It seems to work only if I name it on_touch_move. Why is that so??

shreyaumesh
Автор

My program runs once but then it says application leaving in progress which literally means the class is already open so is the application window but hidden
I am that's why doing in Jupyter notebook to overcome this by restarting and running the kernel

If anyone got some alternative syntax kindly help me out
Thank you

saptarshipanda
Автор

I wrote down the code exactly as in your video, but I get this error:


with self.canvas

Attribute Error: __exit__

khizerkhattak
Автор

cant get this very simple App to run...error generated says...
sys.exit(1)
SystemExit: 1
[CRITICAL ] [App ] Unable to get a Window, abort.

ahteramkhattak
Автор

Is there a way to make the rectangle move with the position of the right wall? Like if I did change the size of my widow, I want my rectangle to always be 50 pixels from the right. Is there a way to do that?

KSals
Автор

I need help
when I click or drag the mouse it just draws a bunch of new squares and doesn't delete the old ones. Also the color on the line is very weird, it's like alternating between black and greeen and doesn't change no matter what value I use in the color line.

damiennguyen
Автор

How do i get the drawn shapes to resize with the screen. Right now they just keep their original parameters when you resize the screen which is practical when creating a program :)

yuriysynytsya
Автор

the Rectangle which will be at previous position wont get erased and its becoming a mess

srinivasa
Автор

How to integrate turtle graphics in Kivi App.??
Please reply me....

rohitsonawane