Soda Constructor in JS

  • #1
RentonPhysics
4
0

Attachments

  • record walker60fps.gif
    record walker60fps.gif
    855.8 KB · Views: 480

Answers and Replies

  • #2
13,707
7,698
Thanks for sharing this.

There are also some cool programs at Processing.org that do similar kinds of things in Java, Python and Javascript.
 
  • Like
Likes RentonPhysics
  • #3
newjerseyrunner
1,532
637
I love that thing. I rewrote it in C++ a long time ago. I implemented a genetic algorithm for all of the springs and lengths and stuff so it evolved a super fast runner.
 
  • Like
Likes RentonPhysics
  • #4
RentonPhysics
4
0
I love that thing. I rewrote it in C++ a long time ago. I implemented a genetic algorithm for all of the springs and lengths and stuff so it evolved a super fast runner.

Cool! GA - that was the idea of original author of Soda as well. Did you capture some videos of these evolutions? Was it hard to control? It's extremely interesting to me :)
 
  • #5
newjerseyrunner
1,532
637
Cool! GA - that was the idea of original author of Soda as well. Did you capture some videos of these evolutions? Was it hard to control? It's extremely interesting to me :)
No unfortunately, I didn't. I remember I used the "Dainty Walker" as a base, and evolved from that. I remember that the front legs got shorter and the bag legs got bigger and more powerful. I just let it walk across a randomized terrain and bred the 50% that got the furthest.
 
  • Like
Likes RentonPhysics
  • #6
13,707
7,698
An interesting variation would be to develop an app that simulated the Interstellar robot TARS' gait.

 
  • Like
Likes RentonPhysics
  • #7
RentonPhysics
4
0
No unfortunately, I didn't. I remember I used the "Dainty Walker" as a base, and evolved from that. I remember that the front legs got shorter and the bag legs got bigger and more powerful. I just let it walk across a randomized terrain and bred the 50% that got the furthest.

it sounds similar to this app
 
  • #8
newjerseyrunner
1,532
637
  • Like
Likes RentonPhysics

Suggested for: Soda Constructor in JS

  • Last Post
Replies
1
Views
8K
  • Last Post
Replies
6
Views
25K
  • Last Post
Replies
5
Views
2K
Replies
1
Views
728
  • Last Post
Replies
23
Views
2K
  • Last Post
Replies
8
Views
5K
  • Last Post
Replies
6
Views
885
  • Last Post
Replies
1
Views
2K
Replies
0
Views
3K
  • Last Post
Replies
8
Views
7K
Top