::: dspy.Adapter handler: python options: members: - call - acall
- format
| 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 |
| #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) { |
| <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> |