I have read Drawing a smiley face, part 3 [1] How do I do shaded hatching like in the image at wikipedia.org[2] ?
[1] http://wiki.evilmadscience.com/Drawing_a_smiley_face,_part_3 [2] http://en.wikipedia.org/wiki/Hatching
-- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
On Sat, 2011-09-10 at 23:59 -0700, Tom Sparks wrote:
I have read Drawing a smiley face, part 3 [1] How do I do shaded hatching like in the image at wikipedia.org[2] ?
[1] http://wiki.evilmadscience.com/Drawing_a_smiley_face,_part_3 [2] http://en.wikipedia.org/wiki/Hatching
Hatchings like those done by Durer are not easy. The best way I have found is to use the Calligraphy tool with the hatching option:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-Creating.html#Paths-Calli...
You can use the Tweek tool to thin out the lines or to make them irregular (do a little bit each time as the tool tends to be unstable... you can use the node tool to fix small problems).
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Tweak-Paths.html
Tav
thanks, :( what about using other programs like gimp and importing them into inkscape?
-- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
----- Original Message -----
From: Tavmjong Bah <tavmjong@...206...> To: Tom Sparks <tom_a_sparks@...1402...>; Inkscape User Community inkscape-user@lists.sourceforge.net Cc: Sent: Sunday, 11 September 2011 7:54 AM Subject: Re: [Inkscape-user] shaded hatching
On Sat, 2011-09-10 at 23:59 -0700, Tom Sparks wrote:
I have read Drawing a smiley face, part 3 [1] How do I do shaded hatching like in the image at wikipedia.org[2] ?
[1] http://wiki.evilmadscience.com/Drawing_a_smiley_face,_part_3 [2] http://en.wikipedia.org/wiki/Hatching
Hatchings like those done by Durer are not easy. The best way I have found is to use the Calligraphy tool with the hatching option:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-Creating.html#Paths-Calli...
You can use the Tweek tool to thin out the lines or to make them irregular (do a little bit each time as the tool tends to be unstable... you can use the node tool to fix small problems).
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Tweak-Paths.html
Tav
--
Tavmjong Bah
Inkscape, Guide to Vector Drawing Program http://tavmjong.free.fr/INKSCAPE/
If you know of any program that can (semi-)automatically create those kinds of hatchings, I'd love to know. As for importing from the gimp, if it's just a bitmap it will still be just a bitmap when imported. You might have some luck with tracing such bitmaps though (so if you manage to get a nice bitmap with a hatching, you be able to import it and get a decent trace of it so that you alter it in Inkscape).
On 11-09-11 11:01, Tom Sparks wrote:
thanks, :( what about using other programs like gimp and importing them into inkscape?
-- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
----- Original Message -----
From: Tavmjong Bah <tavmjong@...206...> To: Tom Sparks <tom_a_sparks@...1402...>; Inkscape User Community inkscape-user@lists.sourceforge.net Cc: Sent: Sunday, 11 September 2011 7:54 AM Subject: Re: [Inkscape-user] shaded hatching
On Sat, 2011-09-10 at 23:59 -0700, Tom Sparks wrote:
I have read Drawing a smiley face, part 3 [1] How do I do shaded hatching like in the image at wikipedia.org[2] ?
[1] http://wiki.evilmadscience.com/Drawing_a_smiley_face,_part_3 [2] http://en.wikipedia.org/wiki/Hatching
Hatchings like those done by Durer are not easy. The best way I have found is to use the Calligraphy tool with the hatching option:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-Creating.html#Paths-Calli...
You can use the Tweek tool to thin out the lines or to make them irregular (do a little bit each time as the tool tends to be unstable... you can use the node tool to fix small problems).
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Tweak-Paths.html
Tav
--
Tavmjong Bah
Inkscape, Guide to Vector Drawing Program http://tavmjong.free.fr/INKSCAPE/
Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
On Mon, Sep 12, 2011 at 12:57, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
If you know of any program that can (semi-)automatically create those kinds of hatchings, I'd love to know. As for importing from the gimp, if it's just a bitmap it will still be just a bitmap when imported. You might have some luck with tracing such bitmaps though (so if you manage to get a nice bitmap with a hatching, you be able to import it and get a decent trace of it so that you alter it in Inkscape).
There is such a program (of course), and it can even export SVG. It's called R, and apart from the fact it's a statistical programming environment which has a steep learning curve, on the bright side it's open source and therefore available. The graphics engine was developed at the Bell Laboratories and it is widely viewed as having the most flexible (end beautiful) graphics around. Just google for R, the first link will take you there.
Hope this helps, Adrian
On 12-09-11 14:16, Adrian Dusa wrote:
On Mon, Sep 12, 2011 at 12:57, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
If you know of any program that can (semi-)automatically create those kinds of hatchings, I'd love to know. As for importing from the gimp, if it's just a bitmap it will still be just a bitmap when imported. You might have some luck with tracing such bitmaps though (so if you manage to get a nice bitmap with a hatching, you be able to import it and get a decent trace of it so that you alter it in Inkscape).
There is such a program (of course), and it can even export SVG. It's called R, and apart from the fact it's a statistical programming environment which has a steep learning curve, on the bright side it's open source and therefore available. The graphics engine was developed at the Bell Laboratories and it is widely viewed as having the most flexible (end beautiful) graphics around. Just google for R, the first link will take you there.
I knew R existed, but never figured it could help create natural looking hatchings... Any pointers for where to look? (Just to be clear, I meant the kind of hatchings used to subtly shade illustrations, not the kind of hatchings used for monochrome pie charts and such.)
On Mon, Sep 12, 2011 at 15:58, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
[...] I knew R existed, but never figured it could help create natural looking hatchings... Any pointers for where to look? (Just to be clear, I meant the kind of hatchings used to subtly shade illustrations, not the kind of hatchings used for monochrome pie charts and such.)
Sorry to be slow, I have been abroad until today. Erhm... I'm not exactly a specialist in whatever you want to obtain. Should you give me an example of an "natural looking hatchings", I'll try and see if R can produce it.
Otherwise you are right, I thought you meant hatchings used for monochrome pie charts, but R can basically produce anything you want (including, for example, SVG geographical maps).
Hth, Adrian
----- Original Message -----
From: Adrian Dusa <dusa.adrian@...155...> To: Inkscape User Community inkscape-user@lists.sourceforge.net Cc: Sent: Thursday, 15 September 2011 11:12 PM Subject: Re: [Inkscape-user] shaded hatching
On Mon, Sep 12, 2011 at 15:58, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
[...] I knew R existed, but never figured it could help create natural looking hatchings... Any pointers for where to look? (Just to be clear, I meant the kind of hatchings used to subtly shade illustrations, not the kind of hatchings used for monochrome pie charts and such.)
Sorry to be slow, I have been abroad until today. Erhm... I'm not exactly a specialist in whatever you want to obtain. Should you give me an example of an "natural looking hatchings", I'll try and see if R can produce it.
the image at http://en.wikipedia.org/wiki/Hatching or do an image search for "cross hatching"
Otherwise you are right, I thought you meant hatchings used for monochrome pie charts, but R can basically produce anything you want (including, for example, SVG geographical maps).
Hth, Adrian
-- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Roland DXY-1300 pen plotter, Cuttok DC330 cutter/pen plotter Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
On Fri, Sep 16, 2011 at 07:02, Tom Sparks <tom_a_sparks@...1402...> wrote:
----- Original Message ----- [...] the image at http://en.wikipedia.org/wiki/Hatching or do an image search for "cross hatching"
OK, I understand. There are two answers that spring my mind: - no, R doesn't do that by default - yes, it would be possible to obtain cross-hatching, with a little bit of programming effort.
R can process images (I think there is a special package for doing that, if I am not mistaken); as a first rough idea, once an image is processed, one could take for example the code for producing contour plots and adapt it for obtaining cross-hatching. As far as I understand this technique, the thickness of the hatching and its spacing will create an illusion of a volume, which is exactly what a contour does: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=22
The contour plot has further extensions like: - topographic maps: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=11
- perspective plots http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=26
- or even 3D perspective plots: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=27
Finally, what is closest to the result desired might be something like this: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=118
I hope this helps, Adrian
From: Jasper van de Gronde <th.v.d.gronde@...226...>
Sent: Monday, 12 September 2011 7:57 PM
If you know of any program that can (semi-)automatically create those kinds of hatchings, I'd love to know. As for importing from the gimp, if it's just a bitmap it will still be just a bitmap when imported. You might have some luck with tracing such bitmaps though (so if you manage to get a nice bitmap with a hatching, you be able to import it and get a decent trace of it so that you alter it in Inkscape).
there are papers[1] on Non-photorealistic rendering, so why has nobody (nerds included) created a plugin/filter/program?
[1] http://www.red3d.com/cwr/npr/
-- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Roland DXY-1300 pen plotter, Cuttok DC330 cutter/pen plotter Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
On 11-09-11 11:01, Tom Sparks wrote:
thanks, :( what about using other programs like gimp and importing them into inkscape?
tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
----- Original Message -----
From: Tavmjong Bah <tavmjong@...206...> To: Tom Sparks <tom_a_sparks@...1402...>; Inkscape User Community inkscape-user@lists.sourceforge.net Cc: Sent: Sunday, 11 September 2011 7:54 AM Subject: Re: [Inkscape-user] shaded hatching
On Sat, 2011-09-10 at 23:59 -0700, Tom Sparks wrote:
I have read Drawing a smiley face, part 3 [1] How do I do shaded hatching like in the image at wikipedia.org[2] ?
[1] http://wiki.evilmadscience.com/Drawing_a_smiley_face,_part_3 [2] http://en.wikipedia.org/wiki/Hatching
Hatchings like those done by Durer are not easy. The best way I have found is to use the Calligraphy tool with the hatching option:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Paths-Creating.html#Paths-Calli...
You can use the Tweek tool to thin out the lines or to make them irregular (do a little bit each time as the tool tends to be unstable... you can use the node tool to fix small problems).
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Tweak-Paths.html
Tav
--
Tavmjong Bah
Inkscape, Guide to Vector Drawing Program http://tavmjong.free.fr/INKSCAPE/
Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
On 12-09-11 19:27, Tom Sparks wrote:
From: Jasper van de Gronde <th.v.d.gronde@...226...>
Sent: Monday, 12 September 2011 7:57 PM
If you know of any program that can (semi-)automatically create those kinds of hatchings, I'd love to know. As for importing from the gimp, if it's just a bitmap it will still be just a bitmap when imported. You might have some luck with tracing such bitmaps though (so if you manage to get a nice bitmap with a hatching, you be able to import it and get a decent trace of it so that you alter it in Inkscape).
there are papers[1] on Non-photorealistic rendering, so why has nobody (nerds included) created a plugin/filter/program?
Well a lot are "not that good", another is that (many) are made for shading 3D models (rather than helping with 2D drawing). Although there is bound to be something out there that uses one of these algorithms, I would expect it more in the 3D modelling area.
On 13/9/11 09:22, Jasper van de Gronde wrote:
On 12-09-11 19:27, Tom Sparks wrote:
From: Jasper van de Gronde <th.v.d.gronde@...226...> Sent: Monday, 12 September 2011 7:57 PM
If you know of any program that can (semi-)automatically create those kinds of hatchings, I'd love to know. As for importing from the gimp, if it's just a bitmap it will still be just a bitmap when imported. You might have some luck with tracing such bitmaps though (so if you manage to get a nice bitmap with a hatching, you be able to import it and get a decent trace of it so that you alter it in Inkscape).
there are papers[1] on Non-photorealistic rendering, so why has nobody (nerds included) created a plugin/filter/program?
Well a lot are "not that good", another is that (many) are made for shading 3D models (rather than helping with 2D drawing). Although there is bound to be something out there that uses one of these algorithms, I would expect it more in the 3D modelling area.
Did you by chance browse through the rest of the Egg-Bot wiki [1] (since the original question was referring to its smiley tutorial)? They describe an alternative method to generate line-based shadings (though not the same technique as used in the art of Duerer et al.):
http://wiki.evilmadscience.com/TSP_art http://wiki.evilmadscience.com/Generating_TSP_art_from_a_stippled_image
It is based on stippling and aims for a single continuous path (TSP) instead of hatching with closely spaced parallel lines, but might still provide some interesting ideas and links... (and includes a set of python scripts to generate SVG output based on a bitmap image with the stippling information).
~suv
[1] <http://wiki.evilmadscience.com/The_Original_Egg-Bot_Kit>
On 13-09-11 09:44, ~suv wrote:
... Did you by chance browse through the rest of the Egg-Bot wiki [1] (since the original question was referring to its smiley tutorial)? They describe an alternative method to generate line-based shadings (though not the same technique as used in the art of Duerer et al.):
http://wiki.evilmadscience.com/TSP_art http://wiki.evilmadscience.com/Generating_TSP_art_from_a_stippled_image
It is based on stippling and aims for a single continuous path (TSP) instead of hatching with closely spaced parallel lines, but might still provide some interesting ideas and links... (and includes a set of python scripts to generate SVG output based on a bitmap image with the stippling information).
Interesting approach! Might have to experiment with it one of these days :)
The der kritzler draw bot over on tinkerlog[1] had an interesting bit of code that renders an image as horizontal lines w squiggles were the intensity of the blips is related to the image tone. May be something of interest in there.
Cheers
John
(1) http://tinkerlog.com/2011/09/02/der-kritzler/
Sent from my iPhone
On 13 Sep 2011, at 09:56, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
On 13-09-11 09:44, ~suv wrote:
... Did you by chance browse through the rest of the Egg-Bot wiki [1] (since the original question was referring to its smiley tutorial)? They describe an alternative method to generate line-based shadings (though not the same technique as used in the art of Duerer et al.):
http://wiki.evilmadscience.com/TSP_art http://wiki.evilmadscience.com/Generating_TSP_art_from_a_stippled_image
It is based on stippling and aims for a single continuous path (TSP) instead of hatching with closely spaced parallel lines, but might still provide some interesting ideas and links... (and includes a set of python scripts to generate SVG output based on a bitmap image with the stippling information).
Interesting approach! Might have to experiment with it one of these days :)
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
From: ~suv <suv-sf@...16...> To: Inkscape User Community inkscape-user@lists.sourceforge.net Sent: Tuesday, 13 September 2011 5:44 PM Subject: Re: [Inkscape-user] shaded hatching
Did you by chance browse through the rest of the Egg-Bot wiki [1] (since the original question was referring to its smiley tutorial)? They describe an alternative method to generate line-based shadings (though not the same technique as used in the art of Duerer et al.):
http://wiki.evilmadscience.com/TSP_art http://wiki.evilmadscience.com/Generating_TSP_art_from_a_stippled_image
It is based on stippling and aims for a single continuous path (TSP) instead of hatching with closely spaced parallel lines, but might still provide some interesting ideas and links... (and includes a set of python scripts to generate SVG output based on a bitmap image with the stippling information).
yes, plotter an image with my pen plotter (Cuttok DCC330), but due to an ink issue, parts were not drawn :(
and to add insult the paper ripped while getting it off the sticky mat :(
waiting for pens for my Roland DXY-1300 to retry the image....
also noticed the hpgl file created from inkscape has unnecessary pen up commands
~suv
[1] <http://wiki.evilmadscience.com/The_Original_Egg-Bot_Kit>
-- tom_a_sparks "It's a nerdy thing I like to do" Please use ISO approved file formats excluding Office Open XML - http://www.gnu.org/philosophy/no-word-attachments.html 3 x (x)Ubuntu 10.04, Amiga A1200 WB 3.1, UAE AF 2006 WB 3.X, Sam440 AOS 4.1.2 Roland DXY-1300 pen plotter, Cuttok DC330 cutter/pen plotter Wanted: RiscOS system, GEOS system (C64/C128), Atari ST, Apple Macintosh (68k/PPC only)
participants (6)
-
Adrian Dusa
-
Jasper van de Gronde
-
John Cliff
-
Tavmjong Bah
-
Tom Sparks
-
~suv