kopia lustrzana https://github.com/sepandhaghighi/samila
fix : nft_upload_test updated #32
rodzic
7a325d6da7
commit
140ef8ace1
|
@ -6,13 +6,7 @@
|
|||
>>> import time
|
||||
>>> from samila import GenerativeImage, Projection
|
||||
>>> from samila.params import VALID_COLORS
|
||||
>>> def f1(x,y):
|
||||
... result = random.uniform(-1,1) * x**2 - math.sin(y**2) + abs(y-x)
|
||||
... return result
|
||||
>>> def f2(x,y):
|
||||
... result = random.uniform(-1,1) * y**3 - math.cos(x**2) + 2*x
|
||||
... return result
|
||||
>>> g = GenerativeImage(f1,f2)
|
||||
>>> g = GenerativeImage()
|
||||
>>> g.generate()
|
||||
>>> g.plot()
|
||||
>>> NFT_STORAGE_API_KEY = os.environ["NFT_STORAGE_API_KEY"]
|
||||
|
|
Ładowanie…
Reference in New Issue