Skip to main content

Python galaxy

text hard

Generování Python skriptu pro 3D simulaci průletu galaxií pomocí NumPy a Matplotlib.

Prompt

Write a Python script that generates a 3D galaxy flythrough visualization using numpy and matplotlib. The script should: generate 10000 star positions in a spiral galaxy pattern, animate a flythrough camera path through the galaxy, show stars as dots with color based on temperature (blue to red), include dust lanes, and save the animation as both MP4 and GIF. Use matplotlib.animation. Make it visually stunning with proper lighting and perspective.

Results across models

Model Run Tokens/s Duration (s) Tokens GPU VRAM OK Quality Date
Gemini 3.6 Flash (cloud) #1 286.26 21.8 161 - - 25.07.2026
DeepSeek V4 Pro (cloud) #1 4,096,000.00 80.8 4096 - - 25.07.2026
deepseek-coder-v2:16b #1 13.77 122.1 1012 - - 25.07.2026
qwen3-coder:30b #1 9.83 447.7 2647 - - 25.07.2026
gemma4:12b-q4_K_M #1 42.39 139.3 2507 7642 MB - 25.07.2026
gemma4:e4b #1 83.99 188.3 3380 4646 MB - 25.07.2026
X

Don't miss out!

Subscribe for the latest news and updates.