Skip to main content

Drawing hair with Inkscape


My very first online tutorial is an adaption from Chris Design Drawing Hairs article using both Path and Path Editor tools which requires Inkscape 0.47 or newer. Start-up Inkscape application which should open a new blank page and set the document into landscape.

 Create a path

  • Select the bezier tool or press either Shift+F6 or B on the keyboard.
  • Draw a line to approximately 800px or more. You can also use rectangle tool (R or F4 as shortcut key) as a thin line illustrated in grey.
  • While the line is selected, convert into path from the menu Path -> Stroke to Path or press Ctrl+Alt+C on the keyboard. For the rectangle, Path -> Object to Path or Ctrl+Shift+C. The result will show grey diamonds on each corner.



Create a pattern

  • On the menu, Extensions -> Modify Paths -> Add Nodes. Set the Max Segments Length to 5px.

  • On the menu Extension -> Modify Paths -> Jitter Nodes. Leave the default settings and apply effects.

  • You will have about thousands nodes which can be reduced with simplication (Path -> Simplify or Ctrl+L)
  • Resize the new generated patterns to about 20px width and 200px height, copy one of them with Ctrl+C or Edit -> Copy.


Setting a path effect

  • Create a new curve using bezier tool mentioned above and select it (bow anr S curve below).

  • We will use a path effect editor which can be accessed thought either Path -> Path Effect Tools or Shift+Ctrl+7. This editor should appear docked on the right side of Inkscape application.

  • With either a bow or S curve selected, apply new effect by choosing “Pattern along path” inside the list field and press Add. Pattern along Path should be listed inside Effect List.
  • Inside Current Effect field, you can either paste your created path or link to path which give finer control of the pattern we created earlier.
  •  Notice the path is horizontally stretched  giving a strange result illustrated above. To fix the issue, check "Pattern is vertical" inside Current Effect field.

  • Now we got a mesh that looks like hairs. To finalize, we applied the same effect on the S curve. If you have linked the pattern, you can adjust its width.


  •  With more practice, you can create a nice hairstyle with a combination of clipping.

 Happy drawing and leave feedback about mistake or other stuffs. A big thank you Máirín Duffy (Mizmo) for encouraging me to write this tutorial.

Comments

Popular posts from this blog

GNOME extension Screen Autorotate available

 While waiting for a bug fix affecting majority of 2-in-1 laptops running on GNOME Wayland session, gnome-shell-extension-screen-autorotate is now available in Fedora repository and EPEL 9 . Give a try on your device Possibly this extension will get added on the incoming Fedora Design Suite 39 as default for the owners of convertible laptops.

Summary of echo-icon-theme report on Virtual FUDCon

It was my first even conference on Virtual FUDCon which greatly saved time and money. In summary, echo-icon-theme will not be ready for Fedora 8 given the time constrains. Its guideline needs a rewrite started by Martin Sourada. The icons are now residing on echo-icon-theme repository which facilitates the access for contributors looking to add/update the icons. It also means the wiki page for EchoDevelopment will no longer upload icons and will serve as reference. The mouse cursors are not in the repository yet but will be available shortly. Mairin, Fedora Artwork team leader, suggested to use Tango guideline for icons smaller or equal than 24x24 while keeping the isometric view for 32x32 and above. Demitri Glezos thanked the team for the use of icons on his Transifex project . The set of icons is roughly 40 percent complete and users of other desktop environment like KDE are encouraged to test them and provide ticket to track issues. Be in mind the echo-icon-theme division tea

Using AMD RX Vega driver OpenCL on Fedora 29

The Raven Ridge APU is very capable processor to handle OpenCL inside some applications like Blender, Darktable and Gimp. Unfortunately, the current implementation from Mesa, clover, stuck to 1.3, is not supported. AMD released their driver 18.40 with OpenCL2.0+ targeting only Red Hat Enterprise Linux/Cent OS 6.10 and 7.5 in addition of Ubuntu LTS. The good new is the former rpm format can be used on Fedora. The graphical part of Raven Ridge is Vega 8, basically a cut-down of Vega56 or Vega64 meaning choosing either driver for RX Vega . The instruction is provided for extracting the rpm files but here is  some requirements for OpenCL: kernel-devel (provided by Fedora repository) amdgpu-dkms dkms libopencl-amdgpu-pro opencl-amdgpu-pro-icd Once done, applications needing OpenCL will automatically detect the driver located on /opt/amdgpu/lib64 . Blender will list as unknown AMD GPU and Darktable will enable it. OpenCL from official AMD driver enabled on Darktable Ra