Skip to content

Instantly share code, notes, and snippets.

View fami-fish's full-sized avatar
💭
accumulating unfinished side-projects

Nick fami-fish

💭
accumulating unfinished side-projects
  • 09:40 (UTC +03:00)
View GitHub Profile
@fami-fish
fami-fish / array.tsx
Last active February 10, 2023 19:27
A Motion Canvas component for arrays of numbers and chars
import { Layout, LayoutProps, Node, Rect, Text } from "@motion-canvas/2d/lib/components";
import { initial, signal } from "@motion-canvas/2d/lib/decorators";
import { SignalValue, SimpleSignal } from "@motion-canvas/core/lib/signals";
import { ColorSignal } from "@motion-canvas/core/lib/types";
import { makeRef } from "@motion-canvas/core/lib/utils";
import { Colors, BlackLabel, WhiteLabel } from "../styles";
export enum Quote {
single = "'",
double = "\"",
@panzerstadt
panzerstadt / HHKB KLE data with 7u spacebar : Happy Hacking Keyboard layout raw data
Last active August 24, 2023 21:40
HHKB KLE data with 7u spacebar : Happy Hacking Keyboard layout raw data (http://www.keyboard-layout-editor.com/)
["esc","!\n1","@\n2","#\n3","$\n4","%\n5","^\n6","&\n7","*\n8","(\n9",")\n0","_\n-","+\n=","|\n\\","~\n`"],
[{w:1.5},"Tab","Q","W","E","R","T","Y","U","I","O","P","{\n[","}\n]",{w:1.5},"Delete"],
[{w:1.75},"Ctrl","A","S","D","F","G","H","J","K","L",":\n;","\"\n'",{w:2.25},"Return"],
[{w:2.25},"Shift","Z","X","C","V","B","N","M","<\n,",">\n.","?\n/",{w:1.75},"Shift","Fn"],
[{x:1.5,w:1},"Option",{w:1.5},"⌘",{a:7,w:7},"",{a:4,w:1.5},"⌘",{w:1},"Option"]