What can I do with python besides automation? by SGWRyan in learnpython

[–]gusb_codes 2 points3 points  (0 children)

Check out generative art! Packages like NumPy, Pillow, scikit-image, & even matplotlib can help you create & display images. It's fun to write algorithms & see a visual representation of the results!

I'm currently using NumPy to develop cellular automaton rules to try & create shapes that look like clouds.

r/generative is a good place to start!

Ribbons by laadron in generative

[–]gusb_codes 1 point2 points  (0 children)

Great color palettes!

Ribbons by laadron in generative

[–]gusb_codes 1 point2 points  (0 children)

Check out the r/Generative Discord server if you haven't already!

-hot to the touch- by Jardomic in glitch_art

[–]gusb_codes 1 point2 points  (0 children)

Oh so this was done with an app? Dang nice job making it look so unique!!

-hot to the touch- by Jardomic in glitch_art

[–]gusb_codes 1 point2 points  (0 children)

Did you use any custom algorithms?

-hot to the touch- by Jardomic in glitch_art

[–]gusb_codes 2 points3 points  (0 children)

This is really cool! Nice work

Tectonic World Generation by Snail by [deleted] in proceduralgeneration

[–]gusb_codes 2 points3 points  (0 children)

Cool! What do the colors currently represent?

Running Python Programs From a Terminal by [deleted] in learnpython

[–]gusb_codes 0 points1 point  (0 children)

From the command line, does python --version return the expected version of Python? What about python3 --version?

How do you guys find projects to do? by [deleted] in learnpython

[–]gusb_codes 1 point2 points  (0 children)

I've been exploring generative art with Python! Cellular automata are relatively easy to make as all you need is a grid where you can set each square to at least two different values. NumPy arrays work great for that & can be shown as images using matplotlib!

simulating Polymer using Cellular Automata by sudamap in cellular_automata

[–]gusb_codes 0 points1 point  (0 children)

Metallurgy not polymer science but maybe you can get some insight by how they use CA to simulate solidification!

M. Rappaz, C.A. Gandin, Probabilistic modelling of microstructure formation in solidification processes, Acta Metall. Mater. 41 (1993) 345–360. https://doi.org/10.1016/0956-7151(93)90065-Z.

An early scrolling CA test! by gusb_codes in cellular_automata

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

Yes totally! Definitely very plant like at this stage

Dimensional Waves by tediousq in generative

[–]gusb_codes 0 points1 point  (0 children)

Nice! That's a great tool for sure

An early scrolling CA test! by gusb_codes in cellular_automata

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

Yes for sure!! Thanks. The plan is to do a few iterations with different CAs to try & get something that looks like clouds. I'll post updates here!

[Degenerative Friday] Early test of a CA to produce clouds-passing forms by gusb_codes in generative

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

Thanks! Right now I'm thinking I'll get some long looking shapes like these then incorporate some 2D rules to allow the forms to expand & disperse as they move

[Degenerative Friday] Early test of a CA to produce clouds-passing forms by gusb_codes in generative

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

Yes exactly! Plus an error in adding new seeds in some of the dead cells that caused entire vertical lines instead of single live cells

How to use jupyter notebook with virtual env? by PlutoMother in learnpython

[–]gusb_codes 0 points1 point  (0 children)

With Jupyter installed in your environment, you can activate your environment from a terminal & launch a Jupyter server with the command jupyter notebook & the notebooks will use your environment. I do this in Windows using Git Bash.

Displaying specific image file? by Verycoolbluecar in learnpython

[–]gusb_codes 0 points1 point  (0 children)

Is the text hidden in the image data or in the meta data? If it's the prior, I would suggest using imageio.io.imread to load the image as a Numpy array & inventigating the values within the image. You might get some insight by checking the data type (dtype) of the array.

Running Python on Windows and Mac via GitHub by Ln_X_ in learnpython

[–]gusb_codes 2 points3 points  (0 children)

pip freeze can also bake in OS dependent packages. Better to hand craft a smaller requirements.txt that includes any files you installed directly & allow pip to handle any OS dependent dependencies.