by JimWestergren on 2/2/23, 9:43 AM with 6 comments
by bemmu on 2/2/23, 11:37 AM
It took a lot of iteration as initially it wouldn’t for example put a ground in the game, so you’d just fall forever, but one by one pointing out the mistakes actually resulted in a playable game.
by JimWestergren on 2/2/23, 9:45 AM
by pizza on 2/4/23, 4:04 AM
- generate sympy for math. Could also probably have it generate mathematica/wolfram
- convert a small c library to c++ and also have it generate python bindings with pybind11
- give it the spec of a simple dsl and have it generate the Lark grammar for the parser
by bandie91 on 2/2/23, 2:04 PM
for fish it drew a hollow circle.
for heart it drew a red filled circle.
failed to separate circles when i asked not to overlap them.
it failed to drew "Olympic Games emblem" but gave something nice instead: <svg width="200" height="200"> <rect x="0" y="0" width="200" height="200" fill="#0099cc" /> <circle cx="100" cy="100" r="80" fill="#ffffff" /> <path d="M 31.44,45.76 A 48.56,48.56 0 1,1 168.56,45.76 A 48.56,48.56 0 1,1 31.44,45.76 Z" fill="#ff4f00" /> <path d="M 70.44,65.76 A 29.56,29.56 0 1,1 129.56,65.76 A 29.56,29.56 0 1,1 70.44,65.76 Z" fill="#ffff00" /> <path d="M 50.44,85.76 A 9.56,9.56 0 1,1 149.56,85.76 A 9.56,9.56 0 1,1 50.44,85.76 Z" fill="#00b849" /> <path d="M 90.44,85.76 A 9.56,9.56 0 1,1 109.56,85.76 A 9.56,9.56 0 1,1 90.44,85.76 Z" fill="#000000" /> <path d="M 31.44,65.76 A 29.56,29.56 0 1,1 168.56,65.76 A 29.56,29.56 0 1,1 31.44,65.76 Z" fill="#00b8e6" /> <path d="M 90.44,65.76 A 29.56,29.56 0 1,1 109.56,65.76 A 29.56,29.56 0 1,1 90.44,65.76 Z" fill="#ffffff" /> </svg>
for flags, it often could describe accurately how the flag of a particular country looks like but drew the French one anyways, while claiming it shows this and that color which agrees to the flag I asked for :)
Interesting case for the Hungarian flag:
"The flag of Hungary is made up of three equal-sized horizontal bands, with the middle band being wider than the two outer bands. The left band is red, the center band is white, and the right band is green."
… and it put the flipped Romanian/Andorran flag in the svg :)
by jasfi on 2/2/23, 10:42 AM
Conversational-style learning and troubleshooting is also cool. Although the troubleshooting of programming issues isn't its strong point right now.