![]() Image1 = ('RGB', (640, 480), 'white')ītn_save = Button(text="save", command=save)Īllegedly not less terrible than yours, but the lines are continuous. from tkinter import *įilename = f'image_.png' # image_number increments by 1 at every saveĬv.create_line((lastx, lasty, x, y), width=1)ĭraw.line((lastx, lasty, x, y), fill='black', width=1)Ĭv = Canvas(root, width=640, height=480, bg='white') The image name includes a number that is incremented by 1 each time you save you can therefore save all the intermediate images as you draw the full picture. You need to click, and move the mouse to draw release the click to stop. The following example stores the last values of the position of the mouse to draw a line to the current value. Let’s change the “hue bar” and “hue circle” to see the difference.You could use continuous drawing instead of drawing separate small circles. How to change hue bars and hue circles Fig. Please switch according to your preference. “Hue bar” can be switched from “color” of menu to “hue bar” and “hue circle”. Let’s switch between “hue bar” and “hue circle” Please switch the value of the camera shake correction and check the difference of the lines. ![]() The larger the number, the stronger the degree of correction, but the slower the drawing speed. With the brush tool selected, you can check and set the Shake correction in the place (1). Shake correction is a function to correct line disturbance caused by camera shake during drawing. Please switch anti-aliasing and check the line difference. Line difference due to anti-aliasing presence / absence When you actually draw anti-aliasing / and draw it, it looks like this.įig. ![]() Please check the anti-aliasing item if there are symptoms such as “The brush line has become jagged!” “The line got dirty!” ( Click here for details on anti-aliasing)Īntialiasing can be confirmed and set in (1) place with the brush tool selected. How to switch anti-aliasingĪnti-aliasing (anti-aliasing) is a function that makes jagged edges of images less noticeable. If you hold down the key on the keyboard and draw, you can draw in transparent color while pressing the key. Of course, after erasing with an eraser, you can also draw new paintings. Like “Brush” “Eraser” you can change brush size and opacity from “Brush control”. There are two types of “eraser”: normal “eraser” and “eraser (soft)”. In the “brush window” there is a brush called “eraser” so please select it. I erased it with an eraser and drew again I will explain how to use the eraser when the canvas is full.įig. ![]() Let’s draw more and more pictures while actually changing the color of the brush. The color of the brush can be changed from “hue bar (4)”. (Details of the function is explained here)Įven if you draw with only black, it’s not fun, so let’s change the color of the brush this time. Please try “Undo” and “Redo” several times. Since this function is a convenient function unique to digital, let’s use it well. (If you have returned too much, you can advance the returned procedure by pressing “Redo (2)” button) You can return the state of the canvas to the previous state. Please press the “Undo (1)” button at the top of the window without panic. If you fail to draw a line or you want to redraw a line … Fig.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |