Skip to content

Instantly share code, notes, and snippets.

View hx2A's full-sized avatar

Jim hx2A

View GitHub Profile
@hx2A
hx2A / tesseract.py
Created January 21, 2022 19:22
Rotating Tesseract using the new Py5Vector class
# This example is a py5 version of a 3D printing project I did a few years ago.
# See https://ixora.io/itp/3d_printing/tesseracts/ for history and more details
# about the math.
# This code is written in py5's module mode. This could be quickly modified for
# imported mode, which would eliminate the need for the `import py5` and the
# `py5.` prefixes in the code. See http://py5.ixora.io/content/py5_modes.html
# to learn more.
import numpy as np
@hx2A
hx2A / vector.py
Created December 28, 2021 18:18
Prototype of py5's new vector class: Py5Vector
# *****************************************************************************
#
# Part of the py5 library
# Copyright (C) 2020-2021 Jim Schmitz
#
# This library is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 2.1 of the License, or (at
# your option) any later version.
#
@hx2A
hx2A / align_frame.jsx
Created November 28, 2017 04:29
Adobe After Effects ExtendScript code
/*
Jim Schmitz
2017.11.27
NYU-ITP 2019
http://ixora.io/itp/
Script for duplicating the special effects of "simulacra" in After Effects.
https://vimeo.com/123006429