Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -2,11 +2,10 @@ n = 2.5
|
|||
a = 200
|
||||
b = 200
|
||||
glinewidth 0.2
|
||||
gpenup
|
||||
while t <= 360
|
||||
xp = x
|
||||
yp = y
|
||||
x = (pow abs cos t (2 / n) * a * sign cos t) / 5 + 50
|
||||
y = (pow abs sin t (2 / n) * b * sign sin t) / 5 + 50
|
||||
if t > 0 : gline xp yp x y
|
||||
glineto x y
|
||||
t += 0.5
|
||||
.
|
||||
|
|
|
|||
7
Task/Superellipse/Maxima/superellipse.maxima
Normal file
7
Task/Superellipse/Maxima/superellipse.maxima
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
wxdraw2d(
|
||||
implicit(
|
||||
abs(x/200)^(2.5)+abs(y/200)^2.5=1,
|
||||
x,-250,250,
|
||||
y,-250,250
|
||||
)
|
||||
)$
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
# Superellipse drawing in Python 2.7.9
|
||||
# pic can see at http://www.imgup.cz/image/712
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
from math import sin, cos, pi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue