3b1b / 3b1b/manim

Vectors farther from the origin are bigger

Đang mở
#474 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
93.9k
Fork
7.7k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
4

Mô tả

Hey! I'm just trying to plot some vectors. I'm noticing that vectors farther away from the origin are much bigger (arrow heads and line width) than others.

Is this expected behavior? I picked this library after watching "Essence of Linear Algebra," and it seems like there, arrow size is not influenced by distance from the origin.

Sample Code:
`from big_ol_pile_of_manim_imports import *
import math

class ExampleBigVectors(VectorScene):

def construct(self):
# Add a grid
self.add_plane()

# Make some vectors
self.add_vector((0.5,0.5))
self.add_vector((-4,4))
`
[Produced output](https://imgur.com/a/XHGyrSQ)

On OSX High Sierra, 10.13.6. Fresh install today.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.