Skip to content

Instantly share code, notes, and snippets.

View ckse93's full-sized avatar
🎧
Yelling at my machine

Zack (CJ) ckse93

🎧
Yelling at my machine
View GitHub Profile
@ckse93
ckse93 / computeDiffuseReflectionUVs.py
Created January 7, 2025 04:44
computeDiffuseReflectionUVs but with shit fixed.
#!/usr/bin/env python3
'''
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your
agreement to the following terms, and your use, installation, modification or redistribution of this Apple software
constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or
redistribute this Apple software.
In consideration of your agreement to abide by the following terms, and subject to these terms, Apple grants you a
personal, non-exclusive license, under Apple's copyrights in this original Apple software (the "Apple Software"), to

Privacy Policy

this app does not collect any identifiable personal data

@ckse93
ckse93 / TermsOfUsePrompter.md
Created February 9, 2024 03:54
Terms of Use

Terms of use

Payment will be charged to your Apple account at confirmation of purchase. Subscriptions will automatically renew unless auto-renew is turned off at least 24 hours before the end of current period. Your account will be charged according to your plan for renewal within 24 hours prior to the end of the current period. You can manage or turn off auto-renew in your Apple ID account settings at any time after purchase.

Privacy Policy

the app does not collect/store any user data, nor it connects to the internet.

@ckse93
ckse93 / ModelEntity + Extensions.swift
Last active December 13, 2023 03:32
ModelEntity init for when you want to fetch from remote URL
import Foundation
import RealityKit
extension ModelEntity {
@MainActor
convenience init(remoteURL: URL, fileExtension: FileExtension) async throws {
let (data, _) = try await URLSession.shared.data(from: remoteURL)
let fileUrl = URL(filePath: NSTemporaryDirectory())
.appending(path: UUID().uuidString)