Skip to content

Instantly share code, notes, and snippets.

View JHay0112's full-sized avatar
🛰️

Jordan Hay JHay0112

🛰️
View GitHub Profile
@JHay0112
JHay0112 / scpi_over_usb.py
Created December 28, 2023 10:43
Prompt for SCPI over USB
"""
Script for issuing SCPI commands over USB. Slightly nicer to use than `echo "RCL5" > /dev/ttyACM0`.
Author: J. L. Hay
"""
from select import select
from time import sleep
@JHay0112
JHay0112 / simulate.py
Last active November 26, 2021 09:17
ISS Simulation 500x Realtime with jmath.physics.simulation
'''
jmath ISS Simulation.
500x real spead.
Simulated over half second intervals.
Author: Jordan Hay
Date: 26/11/2021
'''
# - Imports
@JHay0112
JHay0112 / animate.py
Last active November 27, 2021 00:09
Sine wave render in Python
'''
Renders a sine wave animation with Python.
Author: Jordan Hay
Date: 26/11/2021
'''
# - Imports
import numpy as np
import cv2
@JHay0112
JHay0112 / child.py
Created September 16, 2020 22:44
Character Implementation Trial
'''
characters.py
Author: Jordan Hay
Date: 2020-09-07
Characters, e.g. the player, enemies, in Dracula's Castle
'''
@JHay0112
JHay0112 / child.py
Created September 8, 2020 00:28
Item Types vs. Child Objects Trial
'''
child.py
Author: Jordan Hay
Date: 2020-09-08
Item/inventory objects for Dracula's Castle
'''
@JHay0112
JHay0112 / render.py
Last active September 1, 2020 00:39
Renders a tkinter canvas from a grid
'''
render.py
Author: Jordan Hay
Date: 2020-09-01
'''
# -- Imports --
@JHay0112
JHay0112 / inventorymanagement.py
Last active August 31, 2020 23:51
Python Tkinter GUI Inventory Management
'''
inventorymanagment.py
Author: Jordan Hay
Date: 2020-08-20
'''
# -- Imports --