3D Chart of Stars Within 20 Light Years of Earth Using Claude, Python and Blender
by matt392 in Circuits > Software
4 Views, 0 Favorites, 0 Comments
3D Chart of Stars Within 20 Light Years of Earth Using Claude, Python and Blender


Python code used in Blender to render a 3D image of some of the stars within 20 light years of Earth. Created using Claude.ai
Supplies


- Python
- Blender 3D
- Python code
Downloads
Python Code


- Python code is attached
- Open Blender:
- File > New > General
- Go to Scripting tab
- Click on "New"
- Paste Python code into Scripting text editor
- ALT+P to run script
- Shift+F5 to switch to 3D Viewport
- On the Number Pad on your keyboard, hit "1" to rotate to front view
- CTRL+ALT+ NumPad "0" to align camera with current view
- On top right, find "Scene Collection"
- Click on "Collection"
- Scroll down to "Camera" > left click
- Hit "G" then "Y" and move mouse up and down to get the camera into the correct view
- Left click to lock it in
- F12 to render image
- After image is rendered, Image > Save > Name file > save as PNG