Skip to content

Instantly share code, notes, and snippets.

View glfmn's full-sized avatar
💼
Find me on codeberg

Gwen glfmn

💼
Find me on codeberg
View GitHub Profile
@glfmn
glfmn / README.md
Last active July 17, 2019 00:02
Learn a bit more about me!

Hello!

I have long been interested in graphics programming, visual effects, and video games!

path-finding demo

Along the way I've fallen in love with programming languges, pathfinding, and all kinds of other amazing tools which empower me as a programmer. Through my desire to make art I found technology, and through my desire to master technology I'm drawn again to art.

If you are looking at this page and want to get to know me a little better, check out these projects:

@glfmn
glfmn / jump.rs
Created May 26, 2018 18:42
Terrible endless runner game prototype using ggez
//! The simplest possible example that does something.
extern crate ggez;
use ggez::{GameResult, Context};
use ggez::graphics::{self, DrawMode};
use ggez::conf;
use ggez::event;
#[derive(Copy, Clone, Debug)]
@glfmn
glfmn / .pre-commit.sh
Last active January 23, 2024 06:46
pre-commit Test Automation Script
#!/usr/bin/env sh
# pre-commit.sh
# Colors
RED='\033[1;31m'
GREEN='\033[1;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
BOLD='\033[1m'
@glfmn
glfmn / pre-commit.sh
Created March 10, 2018 23:39
godot-rust bindings test pre-commit script.
#!/usr/bin/env sh
# pre-commit.sh
STASH_NAME="pre-commit-$(date +%s)"
BRANCH_NAME=$(git branch | grep '*' | sed 's/* //')
RED='\033[1;31m'
GREEN='\033[1;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
BOLD='\033[1m'
@glfmn
glfmn / gist_cargo.toml
Last active December 21, 2017 03:27
Command-line application which demonstrates potentially unexpected behaviour in clap-rs
[package]
name = "gist"
version = "0.1.0"
authors = ["Gwen Lofman <[email protected]>"]
description = "A utility for pretty-printing git stats"
license = "MPL-2.0"
readme = "README.md"
[dependencies]
@glfmn
glfmn / a-star.cpp
Last active April 12, 2017 13:14
A-Star graph search
#pragma once
#include "a-star.hpp"
template<typename T>
bool contains(std::deque<T> queue, T node) {
for (auto item : queue) {
if (item == node) {
return true;
} else {return false;}
@glfmn
glfmn / TypeError.log
Created April 3, 2017 22:52
Error from raven.js:282 on jury system
Uncaught TypeError: Cannot read property 'length' of undefined
at TlApplicationReviewContainer.handleNextApplication (http://sv.siggraph.org/static/js/main.a6ffa461.js:71915:26)
at Object.invokeGuardedCallback (http://sv.siggraph.org/static/js/main.a6ffa461.js:30189:6)
at executeDispatch (http://sv.siggraph.org/static/js/main.a6ffa461.js:29766:22)
at Object.executeDispatchesInOrder (http://sv.siggraph.org/static/js/main.a6ffa461.js:29789:6)
at executeDispatchesAndRelease (http://sv.siggraph.org/static/js/main.a6ffa461.js:18290:23)
at executeDispatchesAndReleaseTopLevel (http://sv.siggraph.org/static/js/main.a6ffa461.js:18301:11)
at Array.forEach (native)
at forEachAccumulated (http://sv.siggraph.org/static/js/main.a6ffa461.js:52084:10)
at Object.processEventQueue (http://sv.siggraph.org/static/js/main.a6ffa461.js:18504:8)
@glfmn
glfmn / immersive-media-interview.md
Last active February 25, 2017 00:14
Interview questions from Rona Akbari about FSU's immersive media course.

1. Why did you take the class?

I wanted to have a chance to explore immersive media topics hands-on; I saw the class offered on the FSU SIGGRAPH facebook page, and I needed some credits, so I signed up right away. I've had a long-term interest in the ways that emerging technologies affect art, especially in more interactive media like video games and installations (like these).

2. How have your past experiences shaped your experience in this course?

As my background lies more in mathematics, science, programming; and digital and interactive artwork, I'm having trouble appreciating the process of traditional video production. I'm drawn more to work like Nonny De La Penas journalistic experiences, where immersive cameras and technology are used less as a tool of documentation and more as a medium of communication, expression, and a space to project experiences.

I want to explore the technologies that underlie production, and the ways to apply them in

@glfmn
glfmn / permute.hs
Last active February 13, 2017 18:27
A quick exercise in permutations, making useless dummy usernames.
import Data.Char
-- | Runs through every possible combination of the values in each list,
-- producing n x m combinations from lists of size n and m respectively.
-- Prepends each x to each y.
permute :: [[a]] -> [[a]] -> [[a]]
permute xs ys = xs >>= \x -> map (x++) ys
-- | Permutes all values in a Foldable into a single list of lists.
permuteN :: Foldable t => [[a]] -> t [[a]] -> [[a]]