[Choe] Braitenberg vehicle simulator using ChatGPT+Claude
Nov 4, 2024
Wrote a Braitenberg Vehicle simulator using Claude and ChatGPT.
Red: repulsed by light; Green: attracted by light; Yellow Circles: light bulb; The vehicles can also have light bulbs on them.
With these simple, deterministic agents, some very interesting behaviors emerge. In the beginning of the video, the Red ones form a tight orbit, repulused by the lights. The Green ones orbit around the light sources. When the light source on the vehicles are turned on, the Red ones diverge from each other, repulsed by the other Red ones’ light. Later on, the vehicle lights are turned off, and they all go back to the original behavior. Source code in the link below.
https://github.com/yschoe/chatgpt-fun/blob/main/brait.py
Here’s a demo video :
https://photos.app.goo.gl/wDzb5PfsDC5CYBkU9
← Back to all articles Quick Navigation: Next:[ j ] – Prev:[ k ] – List:[ l ]