Skip to content

hhaewon/sphere-geodesic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Geodesic on Sphere Visualization

Geodesic on Sphere Visualization by using manim
View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

학교에서 평면 속에서 최단 거리는 직선이라고 배운다. 하지만 현실에서는 평면보다는 곡면이 더 많다. 그래서 곡면에서는 무엇이 최단거리인지 궁금했다. 가장 간단한 곡면 중 하나이며, 우리가 사는 지구의 모양이기도 한 구에서의 최단거리를 알아보고 싶었다.

우리가 쓰는 세계지도는 메르카토르 도법에 의해 그려진다. 그러면 구의 두 지점 사이의 최단거리가 세계지도 상의 직선이라고 생각되기 쉽지만, 사실은 대원이 두 지점 사이의 최단거리이다. 이를 시각화 하기 위해, 세계지도 상의 직선을 구에 그리고 이를 대원과 비교했다. 또한 실제 길이도 나타내 정말 대원이 최단거리임을 숫자로 보여주었다.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

Usage

change latitude and longitude in main.py

### main.py
point1 = SphericalPoint(45, 90)
point2 = SphericalPoint(45, 0)
### shell
manim -pqh main.py SphereWithGeodesicScene 

Execute in Colab

You can execute this in this link
Before you run all cells, you must upload world_map.jpg on colab
If you want to know how to use manim in colab, go to this link