Skip to content

Instantly share code, notes, and snippets.

🤘
PSI Rockin

Brad Root amiantos

🤘
PSI Rockin
Block or report user

Report or block amiantos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@amiantos
amiantos / Fluid Nightmare.gbook
Created Sep 1, 2019
Example of BRGamebookEngine JSON export
View Fluid Nightmare.gbook
{
"website" : "https:\/\/amiantos.net",
"name" : "Fluid Nightmare",
"about" : "When you’ve drank too much water right before going to bed, you’re bound to have a... fluid nightmare!",
"uuid" : "83C2C958-CC37-469D-944B-B502B2197523",
"license" : "Creative Commons Attribution 4.0 International License",
"font" : "serif",
"pages" : [
{
"uuid" : "F89E7BFA-6FC7-4FDB-BB55-3B569A397DC3",
@amiantos
amiantos / ToroidalMatrix.swift
Last active Jun 8, 2019
Swift 2D Toroidal Array
View ToroidalMatrix.swift
//
// ToroidalMatrix.swift
// Derived from dimo hamdy https://stackoverflow.com/a/53421491/2117288
// https://gist.github.com/amiantos/bb0f313da1ee686f4f69b8b44f3cd184
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
struct ToroidalMatrix<T> {
You can’t perform that action at this time.