[Part I. GIMP基礎功]

[Part II. 一種效果的誕生]
[Part III. Script-Fu的秘密]



28.2 三個濾鏡描繪出電路

Circuit是電路的意思,Circuit.scm的作者Adrian Likins,他巧妙運用了3個濾鏡,製造電路版的紋路效果。

Circuit.scm程式碼中,最重要的就是下面這3行:
  • (plug-in-maze RUN-NONINTERACTIVE image active-layer 5 5 TRUE 0 seed 57 1)
  • (plug-in-oilify RUN-NONINTERACTIVE image active-layer mask-size 0)
  • (plug-in-edge RUN-NONINTERACTIVE image active-layer 2 1 0)

這3行的作用為:
  • 使用迷宮濾鏡【註1】,產生黑白二色的迷宮圖案。
  • 使用油畫化濾鏡【註2】,製造油畫的筆觸。
  • 使用邊緣濾鏡【註3】,尋找黑白交替的邊緣。


視窗介面裡,中文、英文的選單及項目名稱:
【註1】[影像] / 濾鏡 / 描繪 / 圖樣 / 迷宮,[Image] / Filters / Render / Pattern / Maze
【註2】[影像] / 濾鏡 / 藝術效果 / 油畫化,[Image] / Filters / Artistic / Oilify
【註3】[影像] / 濾鏡 / 邊緣偵測 / 邊緣,[Image] / Filters / Edge-Detect / Edge