Skip to content

Instantly share code, notes, and snippets.

@johnpolacek
johnpolacek / AnimateIn.tsx
Last active June 21, 2024 05:12
Utility React UI Component for animating elements in with Tailwind and CSS Animation and plays nicely with shadcn
import React, { useEffect, useState } from "react";
import cn from "mxcn";
// or if using shadcn:
// import { cn } from "@/lib/utils"; // https://github.com/shadcn-ui/ui/blob/main/apps/www/lib/utils.ts
const AnimateIn = ({
children,
delay = 0,
duration = 500,
className = "",
@Capital-EX
Capital-EX / animate.shd
Last active February 1, 2019 08:16
Simple little shader to animate tiles in Godot
// Sprite sheet
uniform texture sprites;
// Distance to travel for next sprite
uniform vec2 offset_xy;
// Size of sprite sheet
uniform vec2 texture_wh;
// Number of frames
@XVilka
XVilka / TrueColour.md
Last active July 9, 2024 23:28
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!