go to https://processing.org/ to download linux version
Move the extarct file to /opt
/opt/processing
sudo su -c “ln -s /opt/processing-3.0.2/processing /usr/local/bin/processing”a
import os | |
import argparse | |
from PIL import Image | |
from diffusers import AutoPipelineForText2Image | |
import torch | |
args = None | |
# Define the models | |
SDXL_MODEL = "/models/stable-diffusion/sdxl/photoStableXL.safetensors" |
go to https://processing.org/ to download linux version
Move the extarct file to /opt
/opt/processing
sudo su -c “ln -s /opt/processing-3.0.2/processing /usr/local/bin/processing”a
//Reference | |
//Coding Train: https://youtu.be/ccYLb7cLB1I | |
//https://github.com/CodingTrain/website/tree/main/CodingChallenges/CC_028_MetaBalls/Processing/CC_028_MetaBalls | |
//https://www.gamedev.net/articles/programming/graphics/exploring-metaballs-and-isosurfaces-in-2d-r2556/ | |
Blob[] blobs = new Blob[20]; | |
float min=1; | |
void setup() { | |
size(720, 360); |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Polar Coordinate Montage for Equirectangulars</title> | |
<script type="text/javascript" src="dat.gui.min.js"></script> | |
<script id="shader-vs" type="x-shader/x-vertex"> | |
attribute vec3 aPos; | |
attribute vec2 aTexCoord; | |
varying vec2 uv; | |
void main(void) { |
# forays into | |
Perfect Spatial Hashing (Lefebvre & Hoppe) | |
http://hhoppe.com/perfecthash.pdf | |
how it works: | |
There are two parts: a slow encoding step, and a fast decoding step. | |
Encoding |