Skip to content

Instantly share code, notes, and snippets.

Avatar

Jon jonbjornn

  • Bay Area, CA
View GitHub Profile
@BigRoy
BigRoy / hou18_solaris_python_addremove_usd_outputprocessors.py
Created Jan 29, 2020
Houdini 18 Solaris Add and Remove USD Rop node Output Processors with Python
View hou18_solaris_python_addremove_usd_outputprocessors.py
import contextlib
import hou
def add_output_processor(ropnode, processor):
"""Add USD Output Processor to USD Rop node.
Args:
ropnode (hou.RopNode): The USD Rop node.
processor (str): The output processor name. This is the basename of
the python file that contains the Houdini USD Output Processor.
View Procjam-WFC-tutorial.md

Generating Procedural Game Worlds with Wave Function Collapse

Wave Function Collapse (WFC) by @exutumno is a new algorithm that can generate procedural patterns from a sample image. It's especially exciting for game designers, letting us draw our ideas instead of hand coding them. We'll take a look at the kinds of output WFC can produce and the meaning of the algorithm's parameters. Then we'll walk through setting up WFC in javascript and the Unity game engine.

sprites

The traditional approach to this sort of output is to hand code algorithms that generate features, and combine them to alter your game map. For example you could sprinkle some trees at random coordinates, draw roads with a brownian motion, and add rooms with a Binary Space Partition. This is powerful but time consuming, and your original vision can someti

@MrAndersonMD
MrAndersonMD / qemu_osx_rpi_raspbian_jessie.sh
Last active Jan 24, 2020 — forked from hfreire/qemu_osx_rpi_raspbian_jessie.sh
How to emulate a Raspberry Pi (Raspbian Jessie) on Mac OSX (Sierra)
View qemu_osx_rpi_raspbian_jessie.sh
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install QEMU OSX port with ARM support
brew install qemu
export QEMU=$(which qemu-system-arm)
# Dowload kernel and export location
brew install wget
wget https://github.com/dhruvvyas90/qemu-rpi-kernel/raw/master/kernel-qemu-4.4.34-jessie
@hfreire
hfreire / qemu_osx_rpi_raspbian_jessie.sh
Last active Nov 3, 2020
How to emulate a Raspberry Pi (Raspbian Jessie) on Mac OSX (El Capitan)
View qemu_osx_rpi_raspbian_jessie.sh
# Install QEMU OSX port with ARM support
sudo port install qemu +target_arm
export QEMU=$(which qemu-system-arm)
# Dowload kernel and export location
curl -OL \
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie
# Download filesystem and export location
You can’t perform that action at this time.