Skip to content

Instantly share code, notes, and snippets.

@duran55
duran55 / FreeCamera.gd
Last active July 28, 2025 12:58 — forked from nin-jat/FreeCamera.gd
A Free camera for Godot. Add it to a Camera3D node. Supports gamepads.
extends Camera3D
# How fast the camera speeds up to the moveSpeed and slows down to zero.
@export var acceleration = 50.0
# The top speed of the camera.
@export var moveSpeed = 8.0
# The speed of the mouse input.
@export var mouseSpeed = 300.0
@duran55
duran55 / image_viewer.py
Created March 28, 2025 20:46
opengl image viewer using pyglet python library
#!/usr/bin/python3
import sys
import pyglet
filename = sys.argv[1]
window = pyglet.window.Window(1920,1080)
image = pyglet.resource.image(filename)