Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
let appearance = UITabBarItem.appearance() | |
let attributes = [NSFontAttributeName: UIFont(name: "American Typewriter", size: 20), | |
NSForegroundColorAttributeName: UIColor.white] | |
appearance.setTitleTextAttributes(attributes, for: .normal) |
This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).
Matrix multiplication is a mathematical operation that defines the product of
# libraries | |
import os | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import textwrap | |
# load the data | |
df = pd.read_csv(os.path.join('..', 'data', 'quest.csv')) | |
# Some questions are rather long. To nicely display them in the figure they need to be wrapped. |
[mergetool "sops-mergetool"] | |
cmd = ./sops-mergetool.sh "$BASE" "$LOCAL" "$REMOTE" "$MERGED" |
Conditions: | |
Never: | |
Fn::Equals: [a, b] | |
Resources: | |
NullResource: | |
Type: Custom::Null | |
Condition: Never |
$ curl --help | |
Usage: curl [options...] <url> | |
--abstract-unix-socket <path> Connect via abstract Unix domain socket | |
--alt-svc <file name> Enable alt-svc with this cache file | |
--anyauth Pick any authentication method | |
-a, --append Append to target file when uploading | |
--basic Use HTTP Basic Authentication | |
--cacert <file> CA certificate to verify peer against | |
--capath <dir> CA directory to verify peer against | |
-E, --cert <certificate[:password]> Client certificate file and password |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);