Run
every
ms
92
Axis & plane
93
Axis Lines & XY Plane
94
Axis Numbers
100
111
Functions
112
113
Returns an x,y,z pair rotated on the XY plane L: an x,y,z pair as a list of length 3 θ: angle of rotation
114
115
Returns an x,y,z pair rotated on the XZ plane L: an x,y,z pair as a list of length 3 θ: angle of rotation
116
117
Returns a x,y,z pair rotated on the YZ plane L: an x,y,z pair as a list of length 3 θ: angle of rotation
118
119
Returns a pair of x,y,z after rotated to the current view angle for projection
120
121
Returns the x of the rotated x,y,z for projection
122
123
Returns the y of the rotated x,y,z for projection
124
125
Returns the z of the rotated x,y,z for projection
126
127
Projects an x,y,z pair with the current view angle
128
129
Projects an x,y,z pair with the current view angle P_1: an x,y,z pair as a list of length 3
130
131
Returns the angle (0<=θ<=360, or 2π) between two points, P1 & P2
132
133
Returns the angle (0<=θ<=360, or 2π) between a 2D point & the initial side of the x-axis
134
135
Returns the linear interpolation between two points. Returns P1 when t = 0, returns P2 when t = 1.
136
137
Graphs a line between two points x1, y1, z1: x,y,z of the first point x2, y2, z2: x,y,z of the second point t: from 0 to 1
138
139
Graphs a line between two points P_1: an x,y,z pair as a list of length 3 P_2: an x,y,z pair as a list of length 3 t: from 0 to 1
140
141
Returns an x,y,z pair after applied quaternion rotation. V (vx,vy,vz) is the axis of rotation. The distance of V from the origin must be 1. A is the angle of rotation. x,y,z is the 3D point rotated. (Ideally, this function should be written in quaterion algebra if Desmos allows. I used Matlab to expand the quaternion algebra into normal algebra.)
142
143
144
Returns an x,y,z pair after applied quaternion rotation. V (vx,vy,vz) is the axis of rotation. The distance of V from the origin does not have to be 1. A is the angle of rotation. x,y,z is the 3D point rotated.
145
146
Same as the function above, except vx,vy,vz and x,y,z are taken as a list.
147
148
Returns a point on a sphere of radius 1 with the given latitude & longitude (https://bit.ly/3mubei9). λ: Longitude, or the left & right on a sphere ϕ: Latitude, or the up & down on a sphere
149
150
Returns the distance of a point from the origin
151
152
Returns the distance between two points
153
154
Returns the dot product of a point
155
156
Returns the difference in angle between two points using dot product
157
158
Returns the vector length of the cross product of two 2D points
159
160
Returns the cross product of two 3D points
161
162
Returns an x,y,z pair rotated to a certain normal L is the x,y,z pair rotated V is normal that L is rotated to. The distance of V from the origin does not have to be 1.
163
164
165
166
Same as the meshgrid method in Matlab & python: returns all permutations between two 1D arrays as a 1D array; useful for generating 2D arrays stored as 1D array.
167
Rotation using image
168
Made by Markson Chen in 2021 August; Edited on December for submission to Desmos' Second Math Art Contest
178
179
powered by
powered by
New Blank Graph
Examples