Gimp-Forum.net
Clock face with color - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Clock face with color (/Thread-Clock-face-with-color)

Pages: 1 2


Clock face with color - hendrikbez - 05-01-2020

I need help, I want to make a clock face (for watch) with the numbers 3, 6, 9 and 12 with color and other black color, but I do not know how to start with it.


RE: Clock face with color - rich2005 - 05-02-2020

(05-01-2020, 05:45 PM)hendrikbez Wrote: I need help, I want to make a clock face (for watch) with the numbers 3, 6, 9 and 12 with color and other black color, but I do not know how to start with it.
The quick answer is use individual characters 1 to 12 Each can have an individual colour. These can be rotated if required. I would advise going that way.

[attachment=4298]

There is another way, a bit more advanced, putting number text along a path. That generates another path of the numbers. Put that to a selection and paint in the selections as required. The text font really needs to be a mono-spaced and the circle size has to be calculated from the length of the text. Really for when you get more experience.
I will attach the xcf.gz file, opens straight up in Gimp, have a look at the layers and paths as an example. The font is freemono bold. Not sure if that comes with Windows.


RE: Clock face with color - Ofnuts - 05-02-2020

No need for monospace, using ofn-path-to-shape to generate segments and ofn-text-along-path ("Multi" mode) to put the numbers on them:

[attachment=4301]

PS: And come to think of it, in most fonts all the digits have the same width anyway. But of course if you use roman numerals this is no longer true:

[attachment=4302]



RE: Clock face with color - Krikor - 08-17-2020

Hi Ofnuts,
Were the segments in the previous image generated by ofn-path-to-shape?

How do I rotate the segments to move from the red position to the black position using the ofn-path-to-shape?
[attachment=4752]
Merci.


RE: Clock face with color - rich2005 - 08-17-2020

I do not know what the authorized method is Wink There are various ways of making a polygon with Ofnuts shape plugin. However:
You can make a regular polygon from a radius , start point and paths (any length / direction) for the number of sides. Start with 15 deg or vertical and rotate later.
Shapes -> On Strokes -> Polygon -> Polygon from circumradius https://i.imgur.com/G0c3XKt.jpg
Then shrink the sides down
Shapes -> On segments -> Modify segments. Keep the start and finish symmetrical https://i.imgur.com/kVt8cqQ.jpg


RE: Clock face with color - Ofnuts - 08-17-2020

(08-17-2020, 12:53 PM)Krikor Wrote: Hi Ofnuts,
Were the segments in the previous image generated by ofn-path-to-shape?

How do I rotate the segments to move from the red position to the black position using the ofn-path-to-shape?

Merci.

Shapes>On segments>Transform segments>Rotate segments.

Or you do as Rich, generate a polygon instead of spokes. Since you center the numbers, you don't even need to shrink the sides.


RE: Clock face with color - Krikor - 08-17-2020

(08-17-2020, 02:11 PM)rich2005 Wrote: I do not know what the authorized method is Wink There are various ways of making a polygon with Ofnuts shape plugin. However:
You can make a regular polygon from a radius , start point and paths (any length / direction) for the number of sides. Start with 15 deg or vertical and rotate later.  
Shapes -> On Strokes -> Polygon -> Polygon from circumradius   https://i.imgur.com/G0c3XKt.jpg
Then shrink the sides down
Shapes -> On segments -> Modify segments. Keep the start and finish symmetrical https://i.imgur.com/kVt8cqQ.jpg

(08-17-2020, 02:54 PM)Ofnuts Wrote:
(08-17-2020, 12:53 PM)Krikor Wrote: Hi Ofnuts,
Were the segments in the previous image generated by ofn-path-to-shape?

How do I rotate the segments to move from the red position to the black position using the ofn-path-to-shape?

Merci.

Shapes>On segments>Transform segments>Rotate segments.

Or you do as Rich, generate a polygon instead of spokes. Since you center the numbers, you don't even need to shrink the sides.

That looks like magic! Never would I intuitively find that way. Thank you very much Rich2005, you are a genius!

Hmm, I don't have any "Transform segments" options in my plugin. It must be out of date. I'll download the latest version and check it out!
Thx Ofnuts!


I updated the plugin, but still doesn't have the 'Transform segments' option between the menus.  Huh

[attachment=4755]


RE: Clock face with color - Ofnuts - 08-17-2020

Hmm. Right. This is in my development version. I really need o find the time and incentive to publish it Wink


RE: Clock face with color - Krikor - 08-17-2020

(08-17-2020, 08:58 PM)Ofnuts Wrote: Hmm. Right. This is in my development version. I really need o find the time and incentive to publish it Wink

[attachment=4757]!!!PUBLISH IT !!!  Big Grin [attachment=4758][attachment=4759]

The community will wait for this publication! Thx Ofnuts! Rolleyes Wink



RE: Clock face with color - GlasBeard - 08-18-2020

Is this plugin available for Mac?  

I searched for ofn-path-to-shape but only found a file which ended .py, and the scripts in my folder all end .scm. I did drop this into my scripts folder on the off-chance but doesn't appear to show anywhere.

Newbie stupidity?

thanks