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
Shader "Unlit/PolyRhythmVisualizer" { | |
Properties { | |
_TimeCode ("Input Time", Float) = 0 | |
_OuterRingFreq ("Outer Ring Frequency", Float) = 1 | |
_InnerRingFreq ("Inner Ring Frequency", Float) = 0.922 | |
_RingCount ("Ring Count", Int) = 35 | |
_VibrantFreq ("Vibrant Frequency", Float) = 2 | |
_Vibrant ("Vibrant", Range(0, 1)) = 0.5 | |
_Decay ("Decay", Range(0, 10)) = 2 | |
[Header(Cosine Gradiant)] |
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
# Speichert die Ausgabe von fd in einem Array | |
$filesToMove = @(fd preview --exclude previews) | |
# Ausgabe Dateipfade | |
echo $filesToMove | |
echo "" | |
if ($filesToMove.length -gt 1) { | |
Move-Item $filesToMove -Destination .\previews\ |
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
let diff_dt_now = new Date(); | |
let diff_dt_const = new Date('2020-12-31'); | |
// delta between current month and 2020-12-31 (integer) | |
let month_diff = (diff_dt_const.getTime() - diff_dt_now.getTime()) / 1000; | |
month_diff /= (60 * 60 * 24 * 7 * 4); | |
month_diff = Math.abs(Math.round(month_diff)); | |
class Month { | |
constructor (range) { |
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
const fs = require('fs'); | |
class MonthRange { | |
/** | |
* @param {number} range - Range of months. | |
* @param {string} language - Language code. | |
* @param {string} hemisphere - Hemisphere. | |
* @param {Date} startDate - Start date. | |
* @param {Date} endDate - End date. | |
* @returns {object} - Object with month details. |