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
  • 17:37 (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 = "\"",