Skip to content

Commit 9ab4ff1

Browse files
authored
Improved color prompts
Color prompt language does not describe the values for the Octagons
1 parent 3781ed4 commit 9ab4ff1

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

JMS-Grid_Create_Octagons.scm

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,20 @@
8989
(while (< yFlag yCirc)
9090
(set! yStart (+ rowCheck (+ oBorder (+ (* gapSpace yFlag) (* circDiam yFlag)))))
9191

92-
(gimp-free-select theImage 16
93-
(vector (+ xStart (* circDiam 0.2929)) yStart
92+
;(gimp-free-select theImage 16
93+
; (vector (+ xStart (* circDiam 0.2929)) yStart
94+
; (+ xStart (* circDiam 0.7071)) yStart
95+
; (+ xStart circDiam) (+ yStart (* circDiam 0.2929))
96+
; (+ xStart circDiam) (+ yStart (* circDiam 0.7071))
97+
; (+ xStart (* circDiam 0.7071)) (+ yStart circDiam)
98+
; (+ xStart (* circDiam 0.2929)) (+ yStart circDiam)
99+
; xStart (+ yStart (* circDiam 0.7071))
100+
; xStart (+ yStart (* circDiam 0.2929))
101+
; )
102+
; CHANNEL-OP-REPLACE TRUE FALSE 0)
103+
104+
(gimp-image-select-polygon theImage CHANNEL-OP-REPLACE 16
105+
(vector (+ xStart (* circDiam 0.2929)) yStart
94106
(+ xStart (* circDiam 0.7071)) yStart
95107
(+ xStart circDiam) (+ yStart (* circDiam 0.2929))
96108
(+ xStart circDiam) (+ yStart (* circDiam 0.7071))
@@ -99,7 +111,7 @@
99111
xStart (+ yStart (* circDiam 0.7071))
100112
xStart (+ yStart (* circDiam 0.2929))
101113
)
102-
CHANNEL-OP-REPLACE TRUE FALSE 0)
114+
)
103115
(gimp-edit-bucket-fill baseLayer BUCKET-FILL-FG LAYER-MODE-NORMAL 100 255 0 0 0)
104116
(set! yFlag (+ 1 yFlag))
105117
)
@@ -132,8 +144,8 @@
132144
SF-ADJUSTMENT "Circles in y Direction" '(10 1 100 1 5 0 0)
133145
SF-ADJUSTMENT "Outer Border Around Circles" '(10 1 100 1 5 0 0)
134146
SF-ADJUSTMENT "Gap Between the Circles" '(10 1 100 1 5 0 0)
135-
SF-COLOR "Color for grid lines" '(0 0 0)
136-
SF-COLOR "Color for rectangle interior" '(255 255 255)
147+
SF-COLOR "Color for Octagons" '(0 0 0)
148+
SF-COLOR "Color for background" '(255 255 255)
137149
)
138150

139151
(script-fu-menu-register "script-fu-octagongrid-kh"

0 commit comments

Comments
 (0)