- 👋 Hi, I’m @Vassago1911, aka Marc, M, V :)
- 👀 I’m interested in Math, Python, Data, Games, Science, Elm, Blender, .. and more
- 🌱 I’m currently improving on: Elm, DevOps, Security,..
- 📫 How to reach me: preferred is always email [email protected]
🏠
Working from home
#stillathome and only coming out once sauna with a few friends I love is a safe thing to do again ..
- Hamburg, Germany
Pinned Loading
-
Make a stack of pngs of the same siz...
Make a stack of pngs of the same size (e.g. from a 3d render) into a gif 1#e.g. add as command in your .bashrc, .zshrc, or just put in your favourite python mini-scripts :D
2alias stack_pngs="python -c 'import imageio.v3 as iio; import os; import numpy as np; A = np.array([ iio.imread(fi) for fi in sorted(os.listdir()) if \".png\" in fi ]); iio.imwrite(\"stacked.gif\",A,frames_per_second=30)'"
-
play a one-second 440 Hz tone
play a one-second 440 Hz tone 1import numpy as np; import sounddevice as sd; fs = 44100; t = np.linspace(0,1,fs,endpoint=False); data = np.sin(2*np.pi*440*t); sd.play(data,fs, blocking=True)
-
prime_test.py
prime_test.py 1is_prime = lambda n: f'{n} is prime' if all([ (n%i)!=0 for i in range(2,n-1) ]) else f'{n} is not prime'
23# use like: for i in range(1000):
4# print(is_prime(i))
-
pyglet_mc
pyglet_mc PublicForked from fogleman/Minecraft
Simple Minecraft-inspired program using Python and Pyglet
Python
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.