- Learn by doing
- Take away a sound understanding of new concepts learned at the end of each activity
- Transform knowledge into intuition
- Share your learnings
- Experiment to avoid/overcome procrastination
- Go further, Carpe noctem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import keras.backend as K | |
from keras.layers import Lambda | |
# | |
# Keras + TensorFlow | |
# Resize 'tensorA' to be of the same size as 'tensorB' using 'tf.image.resize_bilinear' | |
# Very useful for skip-connections and 'Concatenate' layers that might complain about being off by one column | |
# Only works when dimensions are provided since we use ' K.int_shape' that returns the static shape | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
what: | |
download all sketches (as .zip) from a given user on p5.js | |
how: | |
python <TARGET> [<OUT_DIR>] | |
who: | |
@13utters | |
""" | |
from sys import argv, exit | |
from pathlib import Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { | |
if (p < 0.5) | |
return 0.5 * pow(2*p, g); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Processing Code By Nicholas Sbalbi (@nsbalbi) | |
// Twitter post: https://twitter.com/nsbalbi/status/1406696979523047437 | |
// Github gist: https://gist.github.com/nsbalbi/7c09f0101f90c45ecc391e7f64b29c10 | |
// 6-22-2021 | |
// Motion blur via @beesandbombs and inspiration from @etiennejcb | |
/* | |
Copyright (c) 2021 Nicholas Sbalbi | |
Permission is hereby granted, free of charge, to any person obtaining a copy |
OlderNewer