A personally curated list of libraries and tools that I use!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Control | |
var EventScript = [false,false,false,false,false,false,false,false] | |
var CatchyEventScripts | |
var BPM = 130 | |
var LatestTime = 0 setget _CheckLatestTime | |
var LatestPosition = -1 | |
var LatestEvent = 0 | |
export(bool) var tutorial_mode = false | |
export(bool) var count_exists = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Object | |
class_name Rhythmer | |
class TimeSeeker: | |
var begin : float = 0 | |
var delay : float = 0 | |
func reset() -> void: | |
begin = OS.get_ticks_usec() | |
delay = AudioServer.get_time_to_next_mix() + AudioServer.get_output_latency() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import json | |
import re | |
import pyperclip | |
class bcolors: | |
HEADER = '\033[95m' | |
OKBLUE = '\033[94m' | |
OKCYAN = '\033[96m' | |
OKGREEN = '\033[92m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io | |
import re | |
import os as OS | |
import json as Json | |
import pyperclip | |
import math | |
from rectpack import newPacker | |
from rectpack.packer import Packer | |
from PIL import Image | |
from types import FunctionType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Godot; | |
using System; | |
public static class Rhythmer | |
{ | |
static double ASPTimeSec(AudioStreamPlayer ASP) | |
{ | |
return ASP.GetPlaybackPosition() + GetPlayLatency(); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class_name Set extends RefCounted | |
## A custom implementation of a set data structure in GDScript. | |
## | |
## Usage Example: | |
## [codeblock] | |
## var mySet = Set.new([1, 2, 3]) | |
## var otherSet = Set.new([2, 3, 4]) | |
## | |
## var differenceSet = mySet.difference(otherSet) | |
## print(differenceSet.elements()) # Output: [1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void DrawBoard(int pieceMask, int playerMask); | |
int CheckWinner(int pieceMask, int playerMask); | |
int GetPlayerInput(); | |
char Bit2OX(int bit); | |
void main() | |
{ | |
int boardPieceMask = 0, boardPlayerMask = 0; | |
int player = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from copy import deepcopy | |
SIZE = 5 | |
ITEMS = SIZE * SIZE | |
table = [ | |
[-1, -1, -1, -1, -1], | |
[-1, -1, -1, -1, -1], | |
[-1, -1, -1, -1, -1], | |
[-1, -1, -1, -1, -1], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
// SET INITIALIZATION | |
struct Set { | |
int *data; | |
int size; | |
}; |
OlderNewer