{"id":384522,"date":"2024-06-29T05:33:21","date_gmt":"2024-06-29T05:33:21","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=384522"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=384522","title":{"rendered":"<span>Python GUI. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 KivyMD. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Blur \u044d\u0444\u0444\u0435\u043a\u0442\u0430<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0432\u0430\u0441, \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u0438 \u0437\u043d\u0430\u0442\u043e\u043a\u0438\u00a0<em>Python<\/em>! \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0431\u0437\u043e\u0440 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 <a href=\"https:\/\/github.com\/kivy\/kivy\" rel=\"noopener noreferrer nofollow\"><em>Kivy<\/em><\/a> \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435 <em>Google Material Design<\/em> \u0434\u043b\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 <em>Kivy<\/em> &#8212; <a href=\"https:\/\/github.com\/kivymd\/KivyMD\" rel=\"noopener noreferrer nofollow\"><em>KivyMD<\/em><\/a>. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u042f \u0443\u0436\u0435 \u0434\u0435\u043b\u0430\u043b \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/ru\/post\/502438\/\" rel=\"noopener noreferrer nofollow\"><em>\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0439 Python. \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0441 OpenGL-\u044d\u0444\u0444\u0435\u043a\u0442\u0430\u043c\u0438<\/em><\/a><em>, <\/em>\u043d\u043e \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u0435\u0435. \u0427\u0442\u043e \u0436, \u043d\u0430\u0447\u043d\u0435\u043c&#8230;<\/p>\n<p>\u0410 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c \u043d\u0438 \u0441 <em>Kivy<\/em> \u043d\u0438 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <em>KivyMD<\/em>, \u0432\u043a\u0440\u0430\u0442\u0446\u0435 \u043d\u0430\u043f\u043e\u043c\u043d\u044e:<\/p>\n<figure class=\"float\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/366\/c10\/9fb\/366c109fba66bb6dbcc94639f0607d2c.png\" width=\"128\" height=\"128\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/366\/c10\/9fb\/366c109fba66bb6dbcc94639f0607d2c.png\"\/><figcaption><\/figcaption><\/figure>\n<p><em><u>Kivy<\/u><\/em>\u00a0&#8212; \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c\u00a0<em>Python\/Cython<\/em>. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u0432\u043e\u0434\u0430:\u00a0<em>WM_Touch, WM_Pen, Mac OS X Trackpad Magic Mouse, Mtdev, Linux Kernel HID, TUIO<\/em>&#8230;<\/p>\n<figure class=\"float\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/213\/662\/798\/2136627987be6481b4ba7812a0d27f25.png\" width=\"128\" height=\"128\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/213\/662\/798\/2136627987be6481b4ba7812a0d27f25.png\"\/><figcaption><\/figcaption><\/figure>\n<p><em>KivyMD<\/em>\u00a0&#8212; \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u044f\u044f <em>open source<\/em> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c <em>Python<\/em>, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u043d\u0430\u0431\u043e\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435\u00a0<em>Google Material Design<\/em>, \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c\u00a0<em>Kivy<\/em>. \u0412\u043d\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b <em>Kivy<\/em> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u0422\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 &#8212; \u0431\u0435\u0442\u0430. \u041c\u0430\u0441\u0442\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 <em>GitHub<\/em> &#8212; 1.0.0<\/p>\n<p>\u0414\u0432\u0430 \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 <em>Kivy <\/em>\u0438\u043c\u0435\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 &#171;\u0443\u0431\u043e\u0433\u0438\u0439&#187; \u0434\u0438\u0437\u0430\u0439\u043d \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u0430 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0435 \u043f\u0440\u0438\u0435\u043c\u043b\u044e\u0442 \u0441\u0435\u0440\u043e\u0441\u0442\u0438 \u0438 \u0432\u0441\u0435\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u044e\u0437\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0441\u0442\u0438, \u043b\u044e\u0434\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u0443\u0442\u0430\u044e\u0442 <em>Kivy <\/em>\u0438 <em>KivyMD, <\/em>\u0437\u0430\u0434\u0430\u0432\u0430\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0442\u0438\u043f\u0430 &#171;\u041a\u0430\u043a \u043c\u043d\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <em>KivyMD <\/em>\u0432\u043c\u0435\u0441\u0442\u043e<em> Kivy?<\/em>&#171;, \u0447\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 <em>KivyMD<\/em> \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0434\u043b\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 <em>Kivy, <\/em>\u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0433\u043e \u0436\u0435. \u042d\u0442\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <em>Kivy <\/em>\u0438 \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0442 \u0441\u043e\u0431\u043e\u0439 \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0435 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b <em>Kivy, <\/em>\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <em>Kivy <\/em>\u0445\u043e\u0447\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u043c \u043d\u0430 100% \u0438 \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0438 \u043a \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0434\u0438\u0437\u0430\u0439\u043d\u0443 \u043d\u0438 \u043a \u043a\u0430\u043a\u043e\u043c\u0443-\u043b\u0438\u0431\u043e \u0435\u0449\u0435, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u0441\u0435 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u0438\u0437\u0430\u0439\u043d \u043a\u0430\u043a \u0443 Mac OS &#8212; \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0443 Mac OS, \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u0438\u0437\u0430\u0439\u043d \u043a\u0430\u043a \u0432 Windows &#8212; \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0432 Windows, \u0431\u043b\u0430\u0433\u043e \u0432\u0441\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b <em>Kivy<\/em> \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043b\u0435\u0433\u043a\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<p>\u041d\u0443 \u0430 \u043d\u0430\u0448\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u044f\u044f \u0437\u0430\u0434\u0430\u0447\u0430 &#8212; \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/52e\/faf\/52c\/52efaf52c596d44a02b8073d88570efb.gif\" width=\"600\" height=\"447\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/52e\/faf\/52c\/52efaf52c596d44a02b8073d88570efb.gif\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c &#8212; <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u0435\u0439. \u0410\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u043e\u043d \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043a\u0446\u0435\u043d\u0442 \u043d\u0430 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0435. \u0418\u0442\u0430\u043a, \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f <em>Python<\/em> 3.6 &#8212; 3.9 (3.10 \u043f\u043e\u043a\u0430 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0443 <em>Kivy<\/em>), \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a <em>Kivy<\/em> \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <em>KivyMD<\/em>. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u043e:<\/p>\n<pre><code class=\"bash\">pip install \"kivy[base] @ https:\/\/github.com\/kivy\/kivy\/archive\/master.zip\" pip install https:\/\/github.com\/kivymd\/KivyMD\/archive\/master.zip<\/code><\/pre>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u00a0<em>Kivy<\/em>\u00a0\u043c\u0430\u0441\u0442\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0438, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f &#8212; \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443\u00a0<em>KivyMD<\/em>\u00a0\u0442\u0430\u043a\u0436\u0435 \u043c\u0430\u0441\u0442\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0438. \u0412\u0441\u0435. \u041c\u043e\u0436\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041e\u0442\u043a\u0440\u043e\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/kivymd.readthedocs.io\/en\/latest\/api\/kivymd\/tools\/patterns\/create_project\/#create-project-with-hot-reload\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432<\/a> <em>KivyMD:<\/em><\/p>\n<pre><code class=\"bash\">python3.9 -m kivymd.tools.patterns.create_project \\     MVC \\     \/Users\/macbookair \\     BlurConcept \\     python3.9 \\     master \\     --name_screen BlurConceptScreen<\/code><\/pre>\n<p>\u0411\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c <em>MVC<\/em> \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <em>\/Users\/macbookair <\/em>\u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>BlurConcept<\/em>, \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u0441\u0435\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f0c\/86e\/986\/f0c86e986265a60ad2f9896f80adbe1d.png\" alt=\"\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 KivyMD\" title=\"\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 KivyMD\" width=\"794\" height=\"174\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f0c\/86e\/986\/f0c86e986265a60ad2f9896f80adbe1d.png\"\/><figcaption>\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 KivyMD<\/figcaption><\/figure>\n<p>\u0414\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043e\u0431 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <em>KivyMD <\/em>\u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/ru\/post\/580132\/\" rel=\"noopener noreferrer nofollow\">Python GUI. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 KivyMD. \u0428\u0430\u0431\u043b\u043e\u043d MVC, parallax \u044d\u0444\u0444\u0435\u043a\u0442 \u0438 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441\u043b\u0430\u0439\u0434\u043e\u0432<\/a> <\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442, \u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c, \u043a\u0440\u043e\u043c\u0435 \u0438\u043c\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u0432\u0441\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 <em>blur_concept_screen.kv<\/em> &#8212; \u044d\u0442\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/493\/4e6\/e8a\/4934e6e8a462213d2f0bed997238dd7b.png\" alt=\"blur_concept_screen.kv\" title=\"blur_concept_screen.kv\" width=\"967\" height=\"432\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/493\/4e6\/e8a\/4934e6e8a462213d2f0bed997238dd7b.png\"\/><figcaption>blur_concept_screen.kv<\/figcaption><\/figure>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u043a\u0438\u043d\u0435\u043c \u043a\u0430\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b UI \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9f0\/003\/dcb\/9f0003dcba1956231a05dc3315b00afc.png\" width=\"1362\" height=\"734\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9f0\/003\/dcb\/9f0003dcba1956231a05dc3315b00afc.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u042f \u0432\u044b\u0434\u0435\u043b\u0438\u043b \u043c\u0435\u0442\u043a\u0438 \u0438 \u0434\u0432\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044f. \u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 (<em>View<\/em>) \u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442 <em>components:<\/em><\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/44b\/e77\/adc\/44be77adce161e4aa5a7046b691905cd.png\" alt=\"components \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u0430 BlurConceptScreenView\" title=\"components \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u0430 BlurConceptScreenView\" width=\"337\" height=\"401\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/44b\/e77\/adc\/44be77adce161e4aa5a7046b691905cd.png\"\/><figcaption>components \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u0430 BlurConceptScreenView<\/figcaption><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <em>components<\/em> \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u0430 <em>BlurConceptScreenView &#8212; commonlabel <\/em>\u0438<em> fillfield &#8212; <\/em>\u043c\u0435\u0442\u043a\u0443 \u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441 \u043e\u0431\u0449\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1a1\/01a\/026\/1a101a0265f91b8fff0fdf6645b96bac.png\" width=\"337\" height=\"518\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1a1\/01a\/026\/1a101a0265f91b8fff0fdf6645b96bac.png\"\/><figcaption><\/figcaption><\/figure>\n<p><strong><em>commonlabel.py:<\/em><\/strong><\/p>\n<pre><code class=\"python\">from kivymd.uix.label import MDLabel   class CommonLabel(MDLabel):     \"\"\"It is just a base class for a label with common parameters.\"\"\"      def __init__(self, **kwargs):         super().__init__(**kwargs)         self.color = (1, 1, 1, 1)         self.font_style = \"H4\"         self.font_name = \"assets\/fonts\/PlayfairDisplay-Black.otf\"         self.adaptive_height = True         self.markup = True<\/code><\/pre>\n<p><strong><em>fillfield.py:<\/em><\/strong><\/p>\n<pre><code class=\"python\">from kivymd.uix.textfield import MDTextField   class FillField(MDTextField):     \"\"\"It is just a base class for a text field with common parameters.\"\"\"      def __init__(self, **kwargs):         super().__init__(**kwargs)         self.size_hint_x = None         self.width = \"320dp\"         self.mode = \"fill\"         self.fill_color_normal = (1, 1, 1, 0.1)         self.fill_color_focus = (1, 1, 1, 0.3)<\/code><\/pre>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <em>__init__.py <\/em>\u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442 \u044d\u0442\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0432 \u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 <em>components<\/em>: <\/p>\n<p><strong><em>components\/__init__.py:<\/em><\/strong><\/p>\n<pre><code class=\"python\">from .fillfield.fill_field import FillField from .commonlabel.common_label import CommonLabel<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u043a\u0440\u043e\u0435\u043c \u0432 \u0444\u0430\u0439\u043b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/450\/ee2\/465\/450ee246562ccd6d17fb32155b9817aa.png\" alt=\"blur_concept_screen.py\" title=\"blur_concept_screen.py\" width=\"337\" height=\"377\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/450\/ee2\/465\/450ee246562ccd6d17fb32155b9817aa.png\"\/><figcaption>blur_concept_screen.py<\/figcaption><\/figure>\n<p>&#8230; \u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b:<\/p>\n<pre><code class=\"python\">from kivy.animation import Animation from kivy.metrics import dp from kivy.properties import NumericProperty  from View.base_screen import BaseScreenView from View.BlurConceptScreen.components import FillField, CommonLabel   class BlurConceptScreenView(BaseScreenView):     \"\"\"Implements the login start screen in the user application.\"\"\"      OPACITY = NumericProperty(0)     SHIFT_Y = NumericProperty(dp(0))     FIELD_WIDTH = NumericProperty(dp(320))     FIELD_HEIGHT = NumericProperty(dp(52))     PADDING = NumericProperty(dp(24))      def on_enter(self, *args):         \"\"\"         Event called when the screen is displayed: the entering animation is         complete.         \"\"\"          animation = Animation(SHIFT_Y=dp(140), d=2, t=\"in_out_quart\")         animation.bind(on_complete=self.animation_bg_zoom)         animation.start(self)         Animation(OPACITY=1, d=3).start(self)      def animation_bg_zoom(self, *args):         Animation(height=self.ids.bg.height + self.SHIFT_Y, d=2, t=\"in_out_quart\").start(             self.ids.bg         )<\/code><\/pre>\n<p>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u043e\u0441\u0442: \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <em>on_enter<\/em> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 <em>Animation <\/em>\u043c\u044b \u0431\u0443\u0434\u0435\u0442 \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u0430 \u043f\u043e\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0430  <em>BlurConceptScreen:<\/em> <em>OPACITY<\/em> \u0438 <em>SHIFT_Y &#8212; <\/em>\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c<em> <\/em>\u043c\u0435\u0442\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 \u0438 \u0441\u0434\u0432\u0438\u0433 \u043c\u0435\u0442\u043e\u043a \u043f\u043e \u043e\u0441\u0438 <em>Y. <\/em>\u041d\u0443, \u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0432 \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u043e\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0432 KV \u0444\u0430\u0439\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438:<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e07\/db0\/6df\/e07db06df4850d1922d20f0b3c0583a5.png\" width=\"337\" height=\"379\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e07\/db0\/6df\/e07db06df4850d1922d20f0b3c0583a5.png\"\/><figcaption><\/figcaption><\/figure>\n<p><strong><em>blur_concept_screen.kv:<\/em><\/strong><\/p>\n<pre><code class=\"yaml\">#:import STANDARD_INCREMENT kivymd.material_resources.STANDARD_INCREMENT   &lt;BlurConceptScreenView>      FitImage:         id: bg         size_hint_y: None         source: \"assets\/images\/bg.jpg\"         height: root.height + root.SHIFT_Y      CommonLabel:         x: field_login.x         y: root.height - root.SHIFT_Y         opacity: root.OPACITY         text: \"You are\\nUp Above the Sky\"      CommonLabel:         x: field_login.x         opacity: root.OPACITY         font_name: \"assets\/fonts\/PlayfairDisplay-Regular.otf\"         text: \"Get Started Here\"         y: (field_login.y + root.SHIFT_Y) - (root.PADDING + self.height)      FillField:         id: field_login         opacity: root.OPACITY         hint_text: \"Login\"         icon_left: \"account\"         pos:             root.center[0] - root.FIELD_WIDTH \/ 2, \\             root.center[1] + root.SHIFT_Y \/ 4      FillField:         id: field_password         opacity: root.OPACITY         hint_text: \"Password\"         icon_left: \"lock\"         pos:             root.center[0] - root.FIELD_WIDTH \/ 2, \\             root.center[1] - root.SHIFT_Y \/ 4      CommonLabel:         id: lbl_forgot_password         opacity: root.OPACITY         font_style: \"Caption\"         halign: \"center\"         y: field_password.y - root.PADDING * 2         text: \"Forgot Password?\"      MDFillRoundFlatButton:         id: sign_in_button         text: \"Sign In\"         opacity: root.OPACITY         size_hint_x: None         -width: field_password.width         pos_hint: {\"center_x\": .5}         font_size: \"24sp\"         font_name: \"assets\/fonts\/PlayfairDisplay-Black.otf\"         md_bg_color: .8, .8, .8, 1         text_color: app.theme_cls.primary_color         ripple_color: app.theme_cls.primary_color[:-1] + [.4]         y: root.SHIFT_Y      CommonLabel:         opacity: root.OPACITY         font_style: \"Caption\"         font_name: \"assets\/fonts\/PlayfairDisplay-Regular.otf\"         halign: \"center\"         y: dp(160) - root.SHIFT_Y         text:             \"Don`t have an Account? \" \\             \"[font=assets\/fonts\/PlayfairDisplay-Black.otf]Sign Up[\/font]\"<\/code><\/pre>\n<p>\u0423\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/a10\/d13\/5f4\/a10d135f42b5bbff0717945cb27e1ab4.png\" width=\"912\" height=\"734\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a10\/d13\/5f4\/a10d135f42b5bbff0717945cb27e1ab4.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u043d\u0435\u0442. \u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u043c <a href=\"https:\/\/kivy.org\/doc\/stable\/api-kivy.uix.effectwidget.html\" rel=\"noopener noreferrer nofollow\">EffectWidget<\/a>:<\/p>\n<pre><code class=\"yaml\">#:import STANDARD_INCREMENT kivymd.material_resources.STANDARD_INCREMENT #:import HorizontalBlurEffect kivy.uix.effectwidget.HorizontalBlurEffect #:import VerticalBlurEffect kivy.uix.effectwidget.VerticalBlurEffect #:import effect kivy.uix.effectwidget.EffectWidget   &lt;BlurConceptScreenView>      FitImage:      CommonLabel:      CommonLabel:      EffectWidget:         opacity: root.OPACITY         effects:             ( \\             HorizontalBlurEffect(size=12), \\             VerticalBlurEffect(size=12), \\             )          canvas.before:             StencilPush             RoundedRectangle:                 radius: [10, 10, 0, 0]                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] + root.SHIFT_Y \/ 4             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] - root.SHIFT_Y \/ 4             StencilUse          canvas.after:             StencilUnUse             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] + root.SHIFT_Y \/ 4             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] - root.SHIFT_Y \/ 4             StencilPop          FitImage:             id: bg_blur             size_hint_y: None             source: \"assets\/images\/bg.jpg\"             height: root.height + root.SHIFT_Y      FillField:      FillField:      CommonLabel:      MDFillRoundFlatButton:      CommonLabel:<\/code><\/pre>\n<p><em>EffectWidget<\/em> \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u044b \u043a \u0441\u0432\u043e\u0438\u043c \u043f\u043e\u0442\u043e\u043c\u043a\u0430\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0448\u0435\u0439\u0434\u0435\u0440\u043e\u0432 \u0438 <em>OpenGL. <\/em>\u0427\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0432 \u043d\u0430\u0448\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442? \u041c\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u0445\u043e\u043b\u0441\u0442\u0430 (<em>canvas<\/em>), \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440 \u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u0440\u0430\u0432\u043d\u044b\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0434\u0432\u0443\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \u043f\u043e\u043b\u044f\u043c, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0440\u0430\u0444\u0430\u0440\u0435\u0442\u043e\u0432 (<em>StencilPush\/StencilUse<\/em>) \u0432\u044b\u0434\u0435\u043b\u0438\u043b\u0438 \u044d\u0442\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043d\u0430 \u0445\u043e\u043b\u0441\u0442\u0435 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b\u0438 <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 <em>EffectWidget <\/em>\u043a \u0444\u043e\u043d\u043e\u0432\u043e\u043c\u0443 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e<em>:<\/em><\/p>\n<pre><code class=\"yaml\">    EffectWidget:         effects:             ( \\             HorizontalBlurEffect(size=12), \\             VerticalBlurEffect(size=12), \\             )          canvas.before:             ...          canvas.after:             ...          FitImage:             id: bg_blur             size_hint_y: None             source: \"assets\/images\/bg.jpg\"             height: root.height + root.SHIFT_Y<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0444\u043e\u043d\u043e\u0432\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432 \u043c\u0435\u0442\u043e\u0434 <em>animation_bg_zoom <\/em>\u0432 \u043a\u043b\u0430\u0441\u0441\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0434\u043b\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f <em>bg_blur:<\/em><\/p>\n<pre><code class=\"python\">class BlurConceptScreenView(BaseScreenView):     def animation_bg_zoom(self, *args):         Animation(height=self.ids.bg_blur.height + self.SHIFT_Y, d=2, t=\"in_out_quart\").start(             self.ids.bg_blur         )<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043c\u044b \u0432 KV \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 \u0432 \u0444\u0430\u0439\u043b\u0435 <em>blur_concept_screen.kv<\/em> \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e <em>EffectWidget <\/em>\u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u0445\u043e\u043b\u0441\u0442\u0430:<\/p>\n<pre><code class=\"yaml\">#:import HorizontalBlurEffect kivy.uix.effectwidget.HorizontalBlurEffect #:import VerticalBlurEffect kivy.uix.effectwidget.VerticalBlurEffect #:import effect kivy.uix.effectwidget.EffectWidget   &lt;BlurConceptScreenView>      EffectWidget:         opacity: root.OPACITY         effects:             ( \\             HorizontalBlurEffect(size=12), \\             VerticalBlurEffect(size=12), \\             )          canvas.before:             StencilPush             RoundedRectangle:                 radius: [10, 10, 0, 0]                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] + root.SHIFT_Y \/ 4             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] - root.SHIFT_Y \/ 4             StencilUse          canvas.after:             StencilUnUse             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] + root.SHIFT_Y \/ 4             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] - root.SHIFT_Y \/ 4             StencilPop          FitImage:             id: bg_blur             size_hint_y: None             source: \"assets\/images\/bg.jpg\"             height: root.height + root.SHIFT_Y<\/code><\/pre>\n<p>&#8230; \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442, \u0442\u043e \u0441\u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/21c\/f76\/f28\/21cf76f28da296c62fcce4927cc5708c.gif\" width=\"600\" height=\"465\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/21c\/f76\/f28\/21cf76f28da296c62fcce4927cc5708c.gif\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u044d\u043a\u0440\u0430\u043d. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044f \u043d\u0435 \u0441\u043c\u043e\u0433 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c gif \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u044e\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0425\u0430\u0431\u0440\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043e\u0442\u0440\u0435\u0437 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0433\u0438\u0444\u043a\u0438 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435. \u041e\u0431\u0438\u0434\u043d\u043e, \u043d\u043e \u043b\u0430\u0434\u043d\u043e. \u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 \u0434\u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0441\u0442\u0440\u0435\u0447!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/586798\/\"> https:\/\/habr.com\/ru\/articles\/586798\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0432\u0430\u0441, \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u0438 \u0437\u043d\u0430\u0442\u043e\u043a\u0438\u00a0<em>Python<\/em>! \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0431\u0437\u043e\u0440 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 <a href=\"https:\/\/github.com\/kivy\/kivy\" rel=\"noopener noreferrer nofollow\"><em>Kivy<\/em><\/a> \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435 <em>Google Material Design<\/em> \u0434\u043b\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 <em>Kivy<\/em> &#8212; <a href=\"https:\/\/github.com\/kivymd\/KivyMD\" rel=\"noopener noreferrer nofollow\"><em>KivyMD<\/em><\/a>. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u042f \u0443\u0436\u0435 \u0434\u0435\u043b\u0430\u043b \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/ru\/post\/502438\/\" rel=\"noopener noreferrer nofollow\"><em>\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u044b\u0439 Python. \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0441 OpenGL-\u044d\u0444\u0444\u0435\u043a\u0442\u0430\u043c\u0438<\/em><\/a><em>, <\/em>\u043d\u043e \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435 \u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u0435\u0435. \u0427\u0442\u043e \u0436, \u043d\u0430\u0447\u043d\u0435\u043c&#8230;<\/p>\n<p>\u0410 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c \u043d\u0438 \u0441 <em>Kivy<\/em> \u043d\u0438 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <em>KivyMD<\/em>, \u0432\u043a\u0440\u0430\u0442\u0446\u0435 \u043d\u0430\u043f\u043e\u043c\u043d\u044e:<\/p>\n<figure class=\"float\"><figcaption><\/figcaption><\/figure>\n<p><em><u>Kivy<\/u><\/em>\u00a0&#8212; \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c\u00a0<em>Python\/Cython<\/em>. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u0432\u043e\u0434\u0430:\u00a0<em>WM_Touch, WM_Pen, Mac OS X Trackpad Magic Mouse, Mtdev, Linux Kernel HID, TUIO<\/em>&#8230;<\/p>\n<figure class=\"float\"><figcaption><\/figcaption><\/figure>\n<p><em>KivyMD<\/em>\u00a0&#8212; \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u044f\u044f <em>open source<\/em> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c <em>Python<\/em>, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u043d\u0430\u0431\u043e\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435\u00a0<em>Google Material Design<\/em>, \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c\u00a0<em>Kivy<\/em>. \u0412\u043d\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b <em>Kivy<\/em> \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u0422\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 &#8212; \u0431\u0435\u0442\u0430. \u041c\u0430\u0441\u0442\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 <em>GitHub<\/em> &#8212; 1.0.0<\/p>\n<p>\u0414\u0432\u0430 \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433 \u043e\u0442 \u0434\u0440\u0443\u0433\u0430, \u043d\u043e \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 <em>Kivy <\/em>\u0438\u043c\u0435\u0435\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 &#171;\u0443\u0431\u043e\u0433\u0438\u0439&#187; \u0434\u0438\u0437\u0430\u0439\u043d \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432, \u0430 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0435 \u043f\u0440\u0438\u0435\u043c\u043b\u044e\u0442 \u0441\u0435\u0440\u043e\u0441\u0442\u0438 \u0438 \u0432\u0441\u0435\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u044e\u0437\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0441\u0442\u0438, \u043b\u044e\u0434\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u0443\u0442\u0430\u044e\u0442 <em>Kivy <\/em>\u0438 <em>KivyMD, <\/em>\u0437\u0430\u0434\u0430\u0432\u0430\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0442\u0438\u043f\u0430 &#171;\u041a\u0430\u043a \u043c\u043d\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <em>KivyMD <\/em>\u0432\u043c\u0435\u0441\u0442\u043e<em> Kivy?<\/em>&#171;, \u0447\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 <em>KivyMD<\/em> \u044d\u0442\u043e \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0434\u043b\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 <em>Kivy, <\/em>\u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0433\u043e \u0436\u0435. \u042d\u0442\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <em>Kivy <\/em>\u0438 \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0442 \u0441\u043e\u0431\u043e\u0439 \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0435 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b <em>Kivy, <\/em>\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <em>Kivy <\/em>\u0445\u043e\u0447\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u043c \u043d\u0430 100% \u0438 \u043d\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0438 \u043a \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0434\u0438\u0437\u0430\u0439\u043d\u0443 \u043d\u0438 \u043a \u043a\u0430\u043a\u043e\u043c\u0443-\u043b\u0438\u0431\u043e \u0435\u0449\u0435, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u0441\u0435 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u0438\u0437\u0430\u0439\u043d \u043a\u0430\u043a \u0443 Mac OS &#8212; \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0443 Mac OS, \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0434\u0438\u0437\u0430\u0439\u043d \u043a\u0430\u043a \u0432 Windows &#8212; \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u0432 Windows, \u0431\u043b\u0430\u0433\u043e \u0432\u0441\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b <em>Kivy<\/em> \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043b\u0435\u0433\u043a\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<p>\u041d\u0443 \u0430 \u043d\u0430\u0448\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u044f\u044f \u0437\u0430\u0434\u0430\u0447\u0430 &#8212; \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u043d\u0446\u0435\u043f\u0442 \u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c &#8212; <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u0435\u0439. \u0410\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u043e\u043d \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043a\u0446\u0435\u043d\u0442 \u043d\u0430 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0435. \u0418\u0442\u0430\u043a, \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f <em>Python<\/em> 3.6 &#8212; 3.9 (3.10 \u043f\u043e\u043a\u0430 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0443 <em>Kivy<\/em>), \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a <em>Kivy<\/em> \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <em>KivyMD<\/em>. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u043e:<\/p>\n<pre><code class=\"bash\">pip install \"kivy[base] @ https:\/\/github.com\/kivy\/kivy\/archive\/master.zip\" pip install https:\/\/github.com\/kivymd\/KivyMD\/archive\/master.zip<\/code><\/pre>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u00a0<em>Kivy<\/em>\u00a0\u043c\u0430\u0441\u0442\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0438, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f &#8212; \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443\u00a0<em>KivyMD<\/em>\u00a0\u0442\u0430\u043a\u0436\u0435 \u043c\u0430\u0441\u0442\u0435\u0440 \u0432\u0435\u0440\u0441\u0438\u0438. \u0412\u0441\u0435. \u041c\u043e\u0436\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041e\u0442\u043a\u0440\u043e\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/kivymd.readthedocs.io\/en\/latest\/api\/kivymd\/tools\/patterns\/create_project\/#create-project-with-hot-reload\" rel=\"noopener noreferrer nofollow\">\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432<\/a> <em>KivyMD:<\/em><\/p>\n<pre><code class=\"bash\">python3.9 -m kivymd.tools.patterns.create_project \\     MVC \\     \/Users\/macbookair \\     BlurConcept \\     python3.9 \\     master \\     --name_screen BlurConceptScreen<\/code><\/pre>\n<p>\u0411\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c <em>MVC<\/em> \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <em>\/Users\/macbookair <\/em>\u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>BlurConcept<\/em>, \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c \u0438 \u0432\u0441\u0435\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438:<\/p>\n<figure class=\"full-width\"><figcaption>\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 KivyMD<\/figcaption><\/figure>\n<p>\u0414\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043e\u0431 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <em>KivyMD <\/em>\u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 <a href=\"https:\/\/habr.com\/ru\/post\/580132\/\" rel=\"noopener noreferrer nofollow\">Python GUI. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 KivyMD. \u0428\u0430\u0431\u043b\u043e\u043d MVC, parallax \u044d\u0444\u0444\u0435\u043a\u0442 \u0438 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441\u043b\u0430\u0439\u0434\u043e\u0432<\/a> <\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442, \u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c, \u043a\u0440\u043e\u043c\u0435 \u0438\u043c\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u0432\u0441\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 <em>blur_concept_screen.kv<\/em> &#8212; \u044d\u0442\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438:<\/p>\n<figure class=\"full-width\"><figcaption>blur_concept_screen.kv<\/figcaption><\/figure>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u044d\u043a\u0440\u0430\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u043a\u0438\u043d\u0435\u043c \u043a\u0430\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b UI \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u042f \u0432\u044b\u0434\u0435\u043b\u0438\u043b \u043c\u0435\u0442\u043a\u0438 \u0438 \u0434\u0432\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044f. \u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 (<em>View<\/em>) \u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442 <em>components:<\/em><\/p>\n<figure class=\"\"><figcaption>components \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u0430 BlurConceptScreenView<\/figcaption><\/figure>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <em>components<\/em> \u0434\u043b\u044f \u044d\u043a\u0440\u0430\u043d\u0430 <em>BlurConceptScreenView &#8212; commonlabel <\/em>\u0438<em> fillfield &#8212; <\/em>\u043c\u0435\u0442\u043a\u0443 \u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0441 \u043e\u0431\u0449\u0438\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong><em>commonlabel.py:<\/em><\/strong><\/p>\n<pre><code class=\"python\">from kivymd.uix.label import MDLabel   class CommonLabel(MDLabel):     \"\"\"It is just a base class for a label with common parameters.\"\"\"      def __init__(self, **kwargs):         super().__init__(**kwargs)         self.color = (1, 1, 1, 1)         self.font_style = \"H4\"         self.font_name = \"assets\/fonts\/PlayfairDisplay-Black.otf\"         self.adaptive_height = True         self.markup = True<\/code><\/pre>\n<p><strong><em>fillfield.py:<\/em><\/strong><\/p>\n<pre><code class=\"python\">from kivymd.uix.textfield import MDTextField   class FillField(MDTextField):     \"\"\"It is just a base class for a text field with common parameters.\"\"\"      def __init__(self, **kwargs):         super().__init__(**kwargs)         self.size_hint_x = None         self.width = \"320dp\"         self.mode = \"fill\"         self.fill_color_normal = (1, 1, 1, 0.1)         self.fill_color_focus = (1, 1, 1, 0.3)<\/code><\/pre>\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 <em>__init__.py <\/em>\u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442 \u044d\u0442\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0432 \u0434\u0430\u043b\u044c\u0448\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 <em>components<\/em>: <\/p>\n<p><strong><em>components\/__init__.py:<\/em><\/strong><\/p>\n<pre><code class=\"python\">from .fillfield.fill_field import FillField from .commonlabel.common_label import CommonLabel<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0442\u043a\u0440\u043e\u0435\u043c \u0432 \u0444\u0430\u0439\u043b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<figure class=\"\"><figcaption>blur_concept_screen.py<\/figcaption><\/figure>\n<p>&#8230; \u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b:<\/p>\n<pre><code class=\"python\">from kivy.animation import Animation from kivy.metrics import dp from kivy.properties import NumericProperty  from View.base_screen import BaseScreenView from View.BlurConceptScreen.components import FillField, CommonLabel   class BlurConceptScreenView(BaseScreenView):     \"\"\"Implements the login start screen in the user application.\"\"\"      OPACITY = NumericProperty(0)     SHIFT_Y = NumericProperty(dp(0))     FIELD_WIDTH = NumericProperty(dp(320))     FIELD_HEIGHT = NumericProperty(dp(52))     PADDING = NumericProperty(dp(24))      def on_enter(self, *args):         \"\"\"         Event called when the screen is displayed: the entering animation is         complete.         \"\"\"          animation = Animation(SHIFT_Y=dp(140), d=2, t=\"in_out_quart\")         animation.bind(on_complete=self.animation_bg_zoom)         animation.start(self)         Animation(OPACITY=1, d=3).start(self)      def animation_bg_zoom(self, *args):         Animation(height=self.ids.bg.height + self.SHIFT_Y, d=2, t=\"in_out_quart\").start(             self.ids.bg         )<\/code><\/pre>\n<p>\u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043f\u0440\u043e\u0441\u0442: \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <em>on_enter<\/em> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 <em>Animation <\/em>\u043c\u044b \u0431\u0443\u0434\u0435\u0442 \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u0430 \u043f\u043e\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u0430  <em>BlurConceptScreen:<\/em> <em>OPACITY<\/em> \u0438 <em>SHIFT_Y &#8212; <\/em>\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c<em> <\/em>\u043c\u0435\u0442\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430 \u0438 \u0441\u0434\u0432\u0438\u0433 \u043c\u0435\u0442\u043e\u043a \u043f\u043e \u043e\u0441\u0438 <em>Y. <\/em>\u041d\u0443, \u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0432 \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u043e\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0432 KV \u0444\u0430\u0439\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438:<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p><strong><em>blur_concept_screen.kv:<\/em><\/strong><\/p>\n<pre><code class=\"yaml\">#:import STANDARD_INCREMENT kivymd.material_resources.STANDARD_INCREMENT   &lt;BlurConceptScreenView>      FitImage:         id: bg         size_hint_y: None         source: \"assets\/images\/bg.jpg\"         height: root.height + root.SHIFT_Y      CommonLabel:         x: field_login.x         y: root.height - root.SHIFT_Y         opacity: root.OPACITY         text: \"You are\\nUp Above the Sky\"      CommonLabel:         x: field_login.x         opacity: root.OPACITY         font_name: \"assets\/fonts\/PlayfairDisplay-Regular.otf\"         text: \"Get Started Here\"         y: (field_login.y + root.SHIFT_Y) - (root.PADDING + self.height)      FillField:         id: field_login         opacity: root.OPACITY         hint_text: \"Login\"         icon_left: \"account\"         pos:             root.center[0] - root.FIELD_WIDTH \/ 2, \\             root.center[1] + root.SHIFT_Y \/ 4      FillField:         id: field_password         opacity: root.OPACITY         hint_text: \"Password\"         icon_left: \"lock\"         pos:             root.center[0] - root.FIELD_WIDTH \/ 2, \\             root.center[1] - root.SHIFT_Y \/ 4      CommonLabel:         id: lbl_forgot_password         opacity: root.OPACITY         font_style: \"Caption\"         halign: \"center\"         y: field_password.y - root.PADDING * 2         text: \"Forgot Password?\"      MDFillRoundFlatButton:         id: sign_in_button         text: \"Sign In\"         opacity: root.OPACITY         size_hint_x: None         -width: field_password.width         pos_hint: {\"center_x\": .5}         font_size: \"24sp\"         font_name: \"assets\/fonts\/PlayfairDisplay-Black.otf\"         md_bg_color: .8, .8, .8, 1         text_color: app.theme_cls.primary_color         ripple_color: app.theme_cls.primary_color[:-1] + [.4]         y: root.SHIFT_Y      CommonLabel:         opacity: root.OPACITY         font_style: \"Caption\"         font_name: \"assets\/fonts\/PlayfairDisplay-Regular.otf\"         halign: \"center\"         y: dp(160) - root.SHIFT_Y         text:             \"Don`t have an Account? \" \\             \"[font=assets\/fonts\/PlayfairDisplay-Black.otf]Sign Up[\/font]\"<\/code><\/pre>\n<p>\u0423\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, <em>blur<\/em> \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u043d\u0435\u0442. \u0414\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u043c <a href=\"https:\/\/kivy.org\/doc\/stable\/api-kivy.uix.effectwidget.html\" rel=\"noopener noreferrer nofollow\">EffectWidget<\/a>:<\/p>\n<pre><code class=\"yaml\">#:import STANDARD_INCREMENT kivymd.material_resources.STANDARD_INCREMENT #:import HorizontalBlurEffect kivy.uix.effectwidget.HorizontalBlurEffect #:import VerticalBlurEffect kivy.uix.effectwidget.VerticalBlurEffect #:import effect kivy.uix.effectwidget.EffectWidget   &lt;BlurConceptScreenView>      FitImage:      CommonLabel:      CommonLabel:      EffectWidget:         opacity: root.OPACITY         effects:             ( \\             HorizontalBlurEffect(size=12), \\             VerticalBlurEffect(size=12), \\             )          canvas.before:             StencilPush             RoundedRectangle:                 radius: [10, 10, 0, 0]                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] + root.SHIFT_Y \/ 4             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:                     root.center[0] - root.FIELD_WIDTH \/ 2, \\                     root.center[1] - root.SHIFT_Y \/ 4             StencilUse          canvas.after:             StencilUnUse             RoundedRectangle:                 size: root.FIELD_WIDTH, root.FIELD_HEIGHT                 radius: [10, 10, 0, 0]                 pos:<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-384522","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/384522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384522"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/384522\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}