mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 12:07:45 +00:00
Add higher resolution earth texture
This commit is contained in:
parent
62bb40a7df
commit
825d6bdc5c
1 changed files with 2 additions and 2 deletions
|
|
@ -207,8 +207,8 @@ class SurfaceExample(Scene):
|
||||||
# the light. These can be either urls, or paths to a local file
|
# the light. These can be either urls, or paths to a local file
|
||||||
# in whatever you've set as the iamge directory in
|
# in whatever you've set as the iamge directory in
|
||||||
# the custom_defaults.yml file
|
# the custom_defaults.yml file
|
||||||
day_texture = "https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Blue_Marble_2002.png/1280px-Blue_Marble_2002.png"
|
day_texture = "https://upload.wikimedia.org/wikipedia/commons/4/4d/Whole_world_-_land_and_oceans.jpg"
|
||||||
night_texture = "https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/The_earth_at_night.jpg/1280px-The_earth_at_night.jpg"
|
night_texture = "https://upload.wikimedia.org/wikipedia/commons/b/ba/The_earth_at_night.jpg"
|
||||||
surfaces = [
|
surfaces = [
|
||||||
TexturedSurface(surface, day_texture, night_texture)
|
TexturedSurface(surface, day_texture, night_texture)
|
||||||
for surface in [sphere, torus1, torus2]
|
for surface in [sphere, torus1, torus2]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue