Skip to content

Instantly share code, notes, and snippets.

View Pp3ng's full-sized avatar
🤗

Pp3ng

🤗
View GitHub Profile
@Pp3ng
Pp3ng / locationCard.tsx
Last active May 30, 2025 18:23
a React component showing a draggable 3D globe
import createGlobe from "cobe";
import { MapPinIcon } from "lucide-react";
import { useEffect, useRef } from "react";
import { useSpring } from "react-spring";
const LocationCard = () => {
const canvasRef = useRef<HTMLCanvasElement>(null);
const pointerInteracting = useRef<number | null>(null);
const pointerInteractionMovement = useRef(0);
@Pp3ng
Pp3ng / stackCard.tsx
Created May 30, 2025 18:41
A React component that shows animated, scrolling tech stack icons
import React from "react";
import {
SiC,
SiCplusplus,
SiNvidia,
SiGnubash,
SiTypescript,
SiDebian,
SiFreebsd,
SiDocker,