Skip to content

Instantly share code, notes, and snippets.

View tinycrops's full-sized avatar
🥭
building the worlds first hermeneutic on chatbots

ATH tinycrops

🥭
building the worlds first hermeneutic on chatbots
View GitHub Profile
import pyperclip
import time
import os
import shutil
from PIL import Image
import hashlib
import base64
import json
from datetime import datetime
from pathlib import Path
@tinycrops
tinycrops / sdl_opengl_shapes.c
Created May 17, 2024 18:51
gcc -o sdl_opengl_shapes sdl_opengl_shapes.c -lSDL2 -lGL -lGLU -lm
#include <SDL2/SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <stdio.h>
#include <math.h>
//link to conversation that lead up to this code
//https://chatgpt.com/share/c201bd1b-5024-4b6a-9a65-2ae286db4fe3
//
// Function to initialize SDL and OpenGL
int initSDL(SDL_Window **window, SDL_GLContext *context, int width, int height) {
@tinycrops
tinycrops / index.html
Created November 23, 2022 04:40
SVG sphere animation with anime.js
<div class="animation-wrapper">
<div class="sphere-animation">
<svg class="sphere" viewBox="0 0 440 440" stroke="rgba(80,80,80,.35)">
<defs>
<linearGradient id="sphereGradient" x1="5%" x2="5%" y1="0%" y2="15%">
<stop stop-color="#373734" offset="0%"/>
<stop stop-color="#242423" offset="50%"/>
<stop stop-color="#0D0D0C" offset="100%"/>
</linearGradient>
</defs>