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
func get_all_files(path: String, file_ext := "", files := []): | |
var dir = Directory.new() | |
if dir.open(path) == OK: | |
dir.list_dir_begin(true, true) | |
var file_name = dir.get_next() | |
while file_name != "": | |
if dir.current_is_dir(): |
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
#pip install imgui[glfw] | |
import imgui | |
import glfw | |
import OpenGL.GL as gl | |
from imgui.integrations.glfw import GlfwRenderer | |
def impl_glfw_init(window_name="minimal ImGui/GLFW3 example", width=1280, height=720): | |
if not glfw.init(): | |
print("Could not initialize OpenGL context") |
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 javafx.animation.Interpolator; | |
import javafx.animation.ParallelTransition; | |
import javafx.animation.PauseTransition; | |
import javafx.animation.ScaleTransition; | |
import javafx.animation.SequentialTransition; | |
import javafx.animation.TranslateTransition; | |
import javafx.geometry.Point3D; | |
import javafx.scene.Group; | |
import javafx.scene.Node; |