how to create curved lines?

Hi all,
I need to paint curved lines that looks like fibers, I have an app with many nodes, actually showing regions of interest of the brain, but instead of drawing the edges like lines I would like to draw paths related to neuron synapses.
Can somebody give me an advise or pointing to a technique?
Thanks

David

You could use GL.LINES or LineRenderer to draw lines. If you need to draw curved lines, here is an article that I used when I was trying to figure out how to draw curves for a graph that I made for one of my plugins.

bzier-curves-a-tutorial

1 Like

Hey RSG thanks a lot for the answer! Really nice link,
I’m also interested about drawing in OpenGL and avoid creating gameObjects. I will try this option too

1 Like