04/05/2025

Threejs rotating earth

Now that AI can generate efficient and complex code from elaborate prompts, let's go back to meaning : on a cloudy sunday morning I was thinking about revamping my website and was thinking of 3D illustrations. What more meaning full than the earth ? My favourite code, CLAUDE AI provided me with efficient way of rotating a particle system with colored continents, more or less accurate. Here is the prompt sequence and the code is on codepen.

  • thress js simple cdn powerd particle sphere
  • can you 1. allow zoom and pinch, 2. Make particles spheric
  • well could you place the particles so that they reporduce shape of emerged continents on earth
  • very nice, all continents green please, and check longitude for each continent, and more dots but smaller ( or a variable for size and number of dots, with a gui )
  • nice, can you completely redisign continent position and shape for better accuracy

Leave a Comment

Your email address will not be published. Required fields are marked *

To top