Skip to content

Instantly share code, notes, and snippets.

Avatar
❤️
in love with 🥚

Pzoom Pzoom522

❤️
in love with 🥚
View GitHub Profile
@Pzoom522
Pzoom522 / script.py
Created Nov 19, 2020 — forked from hfiller/script.py
Basic program to get 2d Projection
View script.py
import numpy as np
import matplotlib.pyplot as plt
import json
with open("/path/to/state.txt") as f:
bookmarks = json.load(f)
bookmark = bookmarks[0] # We'll look at the first bookmark
eye = np.array(bookmark["cameraDef"]["position"])
You can’t perform that action at this time.