This file contains 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
:treeProcess | |
rem Do whatever you want here over the files of this subdir, for example: | |
FOR %%A IN (*.svg) DO "C:\Program Files\Inkscape\bin\inkscape.com" %%A --export-filename=%%A.png --export-width=128 --export-height=128 | |
for /D %%d in (*) do ( | |
cd %%d | |
call :treeProcess | |
cd .. | |
) |
This file contains 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
################################################################# | |
# WHY: | |
# Investigating energy loss in Godot 4 Physics | |
# | |
# WHAT: | |
# A pendulum with no damping is created at 90°. | |
# Energy is lost on the way from maximum to maximum and | |
# the delta is tracked. | |
# | |
# HOW: |
This file contains 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
Just some Snippets for Godot 4.x |
This is just a personal fritzbox filter list that was created by merging the following two lists:
This file contains 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
#!/usr/bin/env python | |
"""bib2md | |
This script helps to convert bibtex to markdown. It is just a start for now. | |
""" | |
# The MIT License (MIT) | |
# Copyright © 2021 Philipp Wabnitz |
This file contains 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
# This implementation is based on CollisionShapes and RayCasts. | |
# It has one major flaw: It detects intersections of different lines and not only of the line itself. | |
# I'm pretty sure this can be circumvented by changing the collision_layers of each line | |
# or by keeping track of each line and then excluding their collision_bodies when ray casting | |
# or by removing all the collision bodies when intersection_scanning is done | |
extends Line2D | |
var intersections = [] # Keep track of every intersection | |
var segments = [] # Keep track of every segment |
This file contains 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
04785fa74e5e417c727163347d9af7b505bd92635cd9d6b3a92c390f7750b4ccab147953b86195cf076af36b6e0d5ea67f4d5b15093283ac23f8d61b76c3a5423b |
NewerOlder