This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import RealityKit | |
import Metal | |
struct MorphModelToSphereView: View { | |
@State var entity: ModelEntity? | |
@State var lowLevelMesh: LowLevelMesh? | |
@State var originalVertices: [VertexData] = [] | |
@State var originalTexture: LowLevelTexture? | |
@State var processedTexture: LowLevelTexture? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# YouTube Transcript Extractor | |
# This script downloads and extracts the transcript from a YouTube video, | |
# calculates some statistics, and copies the result to the clipboard. | |
# Instructions: | |
# 1. Ensure you have the following dependencies installed: | |
# - yt-dlp: https://github.com/yt-dlp/yt-dlp#installation | |
# - jq: https://stedolan.github.io/jq/download/ |