warrenty

@clueplee
0 Followers
1 Following
39 Posts
Content creator with accounting, internal audit, and Python programming background.
Updating `SearchBar.controls` doesn't trigger it's rebuild · Issue #2874 · flet-dev/flet

The example of SearchBar provided in the documentation opens a static dropdown. As it apparent from the controls that ListTile titles are obtained using a loop. ft.ListTile(title=ft.Text(f"Color {i...

GitHub
Python GUI Beginners Tutorial - In 30-min - Flutter For Python with Flet

YouTube
Making a Pitch Shifter

YouTube
TOON SHADING IN BLENDER (EEVEE) || Using IMAGE TEXTURES in Toon shading || Realistic Outlines

YouTube

(啱啱試完)
點解用: image as plane (object)
因為只有 object (on 'laout' interface)先用到 toon shader(因為有光暗 參數, 2D image冇光暗參數)

換句話講,能夠將 2D image (e.g. 你影嘅相) 變成 plane object,
咁你就可以 喺 該 plane object 度 變卡通。
另外有個 kuwahara node (即係, 喺蒙咗嘅 影像上 保留 邊框, retain edges while blurring)

用途係,你將真樣 變 卡通 時候,你會跟以下steps:

blur 咗 張相 或者 減少 張相 嘅顏色數目
然後先 綑邊

想像吓 卡通畫面 嘅 顏色 係 少過真實畫面,
而且 卡通人物 唔會好似 真人咁多 紋理 (texture)

真人 轉 卡通時候,既要 減少紋理,顏色,
又要 保留 人物 輪廓 (shape, edge)
所以就要 用 kuwahara (有幾隻,複雜數學呢度唔探討)
保留人物邊框

https://www.youtube.com/watch?v=ABx3sHXEqXI

Blender Tutorial: How to Import Images as Planes in Blender

YouTube
Flask SQLite database - Python Tutorial

就係呢個 flask app 嘅 結構圖:

a - flask app folder, 叫 'fkapp' (名你自己定義)

a1 - folder 叫 'templates' -擺晒你啲 html page
-- a1.0 -> base.html (template,同常會整)
-- a1.1 -> index.html (主板,一定要有)
-- a1.2 -> other.html (其他版面, 視乎你想整幾多)

Set up Sublime Text to Preview Your Code in a Web Browser | Scott Granneman

Easily check how your code will look in a web browser.

Getting Started With HTMX: A Comprehensive Guide for Beginners – 7.dev

#jinja2 to refresh html after updating the flask python file WITHOUT needing to reload the html page manually

https://www.youtube.com/watch?v=ATEGpAb8GWI

Refresh Jinja HTML Without Reloading the Page | Flask Tutorial

YouTube