this post was submitted on 15 Mar 2024
-6 points (45.0% liked)
Technology
59440 readers
3720 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You don't need to "have faith". Just test the code and find out if it works.
For example earlier today I asked ChatGPT to write some javascript to make a circle orbit around another circle, calculating the exact position it should be for a given radius/speed/time. Easy enough to verify that was working.
Then I asked it to draw a 2D image of the earth, to put on that circle. I know what our planet looks like, so that was easy. I did need to ask several times with different to get the style I was looking for... but it was a hell of a lot easier than drawing one myself.
Then the really tricky part... I asked it how to make a CSS inner shadow that is updated in real time as the earth rotates around the sun. That would've been really difficult for me to figure out on my own, since geometry ins't my strong point and neither is CSS.
Repeated that for every other planet and moon in our solar system, added some asteroid belts... I got a pretty sweet representation of our solar system, not to scale but roughly to scale and fully animated, in a couple hours. Would have taken a week if I had to use Stack Overflow.