Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -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
.

View file

@ -0,0 +1,7 @@
wxdraw2d(
implicit(
abs(x/200)^(2.5)+abs(y/200)^2.5=1,
x,-250,250,
y,-250,250
)
)$

View file

@ -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