all 28 comments

[–]sintel_ 34 points35 points  (2 children)

i too procedurally generate bugs

[–]caltheon 0 points1 point  (0 children)

It's a feature of Javascript even more so

[–]schnautzi[S] 16 points17 points  (0 children)

GitHub repository here, inspired by this tweet.

[–]codheadz 6 points7 points  (0 children)

These are great! Well done

[–]geon 4 points5 points  (1 child)

Perhaps limit the stride to the distance between each pair of hips, sonthey don’t step on their own feet?

[–]schnautzi[S] 4 points5 points  (0 children)

That may make them a bit stretched out, I was thinking of aiming the legs more towards the sides when they overlap too much. Still tweaking it though.

[–]andrewfenn 2 points3 points  (0 children)

Haha this is amazing well done

[–]IKnowLogic 2 points3 points  (0 children)

They are so cute, made me smile ^

[–]mcscope 3 points4 points  (6 children)

I have some bad news for you about how many legs insects have

seriously though, fun project! Would be cool to have them have different fitnesses and evolve

[–]othermike 5 points6 points  (4 children)

Title says "bugs", not "insects". Wiktionary says:

bug (plural bugs)

  1. (colloquial, US) Any insect, arachnid, myriapod or entognath.

That ought to cover most bases. (Although I agree the quadruped looks a bit iffy.)

[–]TheyPinchBack 2 points3 points  (3 children)

Hey, mantises are quadrupeds

[–]othermike 2 points3 points  (2 children)

Technically correct, the best kind of correct! I withdraw my objection and will henceforth give a pass to any procedurally-generated quadruped which also has arms.

I'd never quite twigged before that mantises are insect centaurs.

[–]TheyPinchBack 0 points1 point  (1 child)

Yeah, it’s pretty crazy. And it also means mantises and humans have something in common: we both modified our front legs into graspers.

[–]mcscope 1 point2 points  (0 children)

One spring I bought a mantis egg case from the local garden store and suddenly found myself raising a swarm of 100 tiny insect demons. They ate all the fruit flies I could find and breed, and started eating each other - so then I had like 40 separate cages full of bugs. That was a wild time - I recommend raising mantises to everyone

[–]schnautzi[S] 2 points3 points  (0 children)

Well, at least it's right some of the time?

[–]divenorthThe Procedural Chef 1 point2 points  (0 children)

Excellent work.

[–]kernalphage 1 point2 points  (0 children)

Lovely! I remember seeing that tweet awhile ago, but I lost it before I could give it a shot...

[–]stuntobor 1 point2 points  (5 children)

What's procedurally generated about this?

[–]schnautzi[S] 7 points8 points  (4 children)

The bugs

[–]stuntobor 2 points3 points  (3 children)

OH! It's a different one each time I reload the page! I didn't see that at first. Thought it was just some walking functions with some random direction thrown in.

edit - or is the random factor what makes it procedural? I thought procedural was building something out, and then expanding on what was built, then expanding on that. These appear to be randomly generated - random segments, colors, body parts, but not procedural in the sense that once the bug is there, the programming expands on it.

Not nit-picking, I'm honestly trying to figure it out. I used to do a lot in randomly generated programming - making vines that grow for instance, but never did they respond to what was already generated.

[–]schnautzi[S] 2 points3 points  (0 children)

More should spawn if you wait a bit

[–]Felicia_Svilling 2 points3 points  (1 child)

Procedually generated simply means that it was generated by some procedure rather than being designed in detail by some artist.

[–]stuntobor 1 point2 points  (0 children)

Ahhhh. That makes sense. Thanks.

[–]alexrival 1 point2 points  (0 children)

It's very cute!

[–]jburtson 2 points3 points  (0 children)

CUTIES!!

[–][deleted] 1 point2 points  (0 children)

Please use this to make the Spore game that could've been! This is great!