Struggling with creating a bolt effect

I’m trying to create a lightning bolt effect from scratch as a form of practice for myself but I’m hitting several road blocks that I’d hope to get some assistance on.

  1. My bolt appears to look too linear. I want a more random, erratic set of points, but I’m unsure how to get this effect.
  2. When I try to connect my points with parts, the parts do not connect, so I just get a group of parts instead of what should look like one big “line”
  3. My bolt starts in the middle of my origin, instead of the end.

Since I do not want to clog this question with code, I have placed it in this link.

This is the result of the code. As you see, the part starts at the middle of where I have the origin of the start point, instead of at the end; the connecting parts are not jagged, and their overall positions don’t really look erratic enough. Any help or advice would be greatly appreciated!

EDIT 1: The effect I’m looking to replicate.

is it possible to show us how you want the bolt to look like?

Just added a reference for what I want my bolt to look like. Thanks for reminding me.

Here is a tutorial on how to make lightning.

2 Likes

Thanks for linking this! Figured out where I messed up and now I have something much more “bolt” like!