[ot][spam][crazy][is it appropriate to direct disruption towards things that have been heavily disrupted?]

Undiscussed Horrific Abuse, One Victim of Many gmkarl at gmail.com
Thu Jun 23 05:10:02 PDT 2022


ok that worked out

index f714541..f12338e 100644
--- a/test.py
+++ b/test.py
@@ -93,6 +93,7 @@ class Engine:
             if len(self.object_points):
                 untransformed_points = np.concatenate(self.object_points)
                 transformed_points =
inverse_camera_frame.apply(untransformed_points)[:,:3]
+                transformed_points[:,:2] /= transformed_points[:,2:3]
                 for idx, (object, range) in
enumerate(zip(self.objects, self.object_point_ranges)):
                     object.draw(self, transformed_points[range[0]:range[1]])
         # getting a key also refreshes
@@ -117,7 +118,7 @@ class Engine:
 class Scene(Engine):
     def __init__(self):
         self.last_key = 'press key?'
-        self.camera = CoordFrame.fromaxisangle(Z, 0, [0,10,-10,1])
+        self.camera = CoordFrame.fromaxisangle(X, np.pi/2, [0,10,-10,1])
         self.text_object = Point("press key?", [0,0,0,1])
         super().__init__(self.text_object)
     def update(self, time_change, key = ''):

it shows at 0,0 now.


More information about the cypherpunks mailing list