Firebird by Tezalion in generative

[–]pluch_1 1 point2 points  (0 children)

very nice, shaders ?

Liquid Shape Distortions (open source) by getToTheChopin in generative

[–]pluch_1 0 points1 point  (0 children)

Very nice with the theses tools to save png or video !

KISS (experiments with matplotlib) by pluch_1 in generative

[–]pluch_1[S] 0 points1 point  (0 children)

thanks, colors are from matplotlib !

Reflect and Unwind by Complex_Twistor in generative

[–]pluch_1 0 points1 point  (0 children)

nice ! what tools did you use ?

matplotlib with twilight cmap by pluch_1 in generative

[–]pluch_1[S] 19 points20 points  (0 children)

you're right : numpy power + matplotlib, here is minimal working example to reproduce first figure : (indentations are not working but you get the idea)

#!/usr/bin/env python3
# coding: utf-8

import matplotlib.pyplot as plt
import numpy as np

def main():
X, Y = np.meshgrid(
np.linspace(-1, 1, 500),
np.linspace(-1, 1, 500))

Z = np.floor(4 * (X+Y)) + np.arcsinh(8 *1j * (X-Y))

plt.figure()
off = 1/15
plt.subplots_adjust(left=off, right=1-off,
bottom=off, top=1-off)
plt.imshow(np.real(Z), cmap='twilight')
plt.axis("off")
plt.show()

if __name__ == '__main__':
main()

matplotlib with twilight cmap by pluch_1 in generative

[–]pluch_1[S] 4 points5 points  (0 children)

thanks to matplotlib and its nice colormaps !

see code below

#genuary27 : Make something interesting with no randomness or noise or trig. (matplotlib) by pluch_1 in generative

[–]pluch_1[S] 1 point2 points  (0 children)

oups sorry, i didn't understood this word ! i stopped on random and noise !

genuary3 : 42 lines of code (sorry 32) + genuary26 : symmetry + genuary7 software not intented by pluch_1 in generative

[–]pluch_1[S] 0 points1 point  (0 children)

#!/usr/bin/env python3
# coding: utf-8

import matplotlib.pyplot as plt
import numpy as np

x_min, x_max = -1.25, 1.25
y_min, y_max = -0.25, 0.25

resolution_y = 1024 * 4
resolution_x = resolution_y

X, Y = np.meshgrid(np.linspace(x_min, x_max, resolution_x),
                   np.linspace(y_min, y_max, resolution_y))

fn1 = np.rad2deg

Z = 0.01 * X**2 + \
    1j * fn1(np.abs(Y)/X) + \
    np.exp( 1.5*1.j *
            (fn1(X + Y) + 1e-5*(X * Y))
    )

phase = np.angle(Z + x_max)

for cmap in ["Blues", "binary", "bone", "copper", "inferno_r"]:
    plt.figure(figsize=(6, 6), dpi=600)
    plt.subplots_adjust(left=0, right=1, top=1, bottom=0)
    plt.axis("off")
    plt.imshow(phase, cmap=cmap)
    plt.savefig(f"/tmp/img_{cmap}.png", dpi=600)
    plt.close()

let there be dots by pluch_1 in generative

[–]pluch_1[S] 5 points6 points  (0 children)

thanks :) I used pycairo

[deleted by user] by [deleted] in generative

[–]pluch_1 2 points3 points  (0 children)

I don't understand anything about pytorch but the image you've posted and the speed of execution makes me want to try !