Skip to content

Instantly share code, notes, and snippets.

View jumbledFox's full-sized avatar
🦊
🏳‍🌈

jumbledFox

🦊
🏳‍🌈
View GitHub Profile
@jakubtomsu
jakubtomsu / collision_3d.odin
Last active October 31, 2025 16:20
Simple raylib example of 3d FPS player movement with triangle collision
package main
import "core:fmt"
import "core:math"
import "core:math/linalg"
import rl "vendor:raylib"
main :: proc() {
rl.SetConfigFlags({.VSYNC_HINT, .WINDOW_RESIZABLE, .MSAA_4X_HINT})
rl.InitWindow(800, 600, "collision")
aahed
aalii
aapas
aargh
aarti
abaca
abaci
aback
abacs
abaft
@troyane
troyane / mp42gif.sh
Last active May 22, 2024 17:20
See script and documentation here: https://github.com/troyane/StackOverflow-pro/tree/master/mp42gif Script to convert MP4 file to GIF (via ffmpeg). It creates intermediate custom color palette out of input video file and use it for resulting GIF for better picture quality. For more info see https://superuser.com/a/556031
#!/bin/bash
#
# Script to convert MP4 video to GIF with generation of custom color palette.
#
#=== Do not touch code below
# Inner variables
input_file=""
input_fps="20"
input_height="512"