Dashed line

Zyl's Avatar


17 Oct, 2016 12:37 PM

I need to create curved dashed / dotted (random curvature, rotation and position) line. My first hint was to use stack node (img. attached). Is there a better way to do this and is it possible to create dashed line from (shape or color) stroke?

Kind regards

  1. Support Staff 1 Posted by john on 17 Oct, 2016 05:35 PM

    john's Avatar

    Hi Zyl,

    The node you need is "shape on path". It takes any path and distributes a shape (e.g. a dot or a dash) along that path. You can either specify a fixed amount and have the shapes distributed evenly, or place them with a fixed amount of space between each one.

    I have attached a simple example. I create a random path by combining a line, arc, and quad curve. I then distribute elongated ellipses along that path to create a dotted line. (You could use round ellipses or line segments or little rectangles or whatever.) I then feed the dots into a colorize node to assign them a set of random colors.

    Please let me know if this satisfies you!


  2. 2 Posted by Zyl on 18 Oct, 2016 03:39 PM

    Zyl's Avatar

    Hi John,
    Thank you for your effort and this interesting approach, really appreciate it.
    I'm using this technique in one design project, I'll let you know the results as soon as I can.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Dline.png 70.9 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

19 Jun, 2024 12:57 PM
19 Jun, 2024 09:35 AM
15 Jun, 2024 01:44 PM
08 Jun, 2024 09:05 AM
08 Jun, 2024 09:00 AM