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
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:p_g_ | |
X-WR-CALNAME:七十二候 | |
BEGIN:VEVENT | |
DTSTART;TZID=Asia/Tokyo;VALUE=DATE:20240101 | |
DTEND;TZID=Asia/Tokyo;VALUE=DATE:20240101 | |
SUMMARY:雪下出麦(ゆきわたりてむぎのびる) - 冬至 | |
URL;VALUE=URI:https://ja.wikipedia.org/wiki/%E5%86%AC%E8%87%B3%23%E4%B8%83%E5%8D%81%E4%BA%8C%E5%80%99 | |
BEGIN:VALARM |
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
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:p_g_ | |
X-WR-CALNAME:二十四節気 | |
BEGIN:VEVENT | |
DTSTART;TZID=Asia/Tokyo;VALUE=DATE:20240106 | |
DTEND;TZID=Asia/Tokyo;VALUE=DATE:20240106 | |
SUMMARY:小寒 | |
URL;VALUE=URI:https://ja.wikipedia.org/wiki/%E5%B0%8F%E5%AF%92 | |
BEGIN:VALARM |
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
# %% | |
import glob | |
import shutil | |
import os | |
iDir = '/Users/Work/Downloads' | |
oDir = '/Users/Work/Desktop/out' | |
if not os.path.isdir(oDir): | |
os.makedirs(oDir) | |
for idx, f in enumerate(sorted(glob.glob(iDir + '/*.png'))): | |
print(f) |
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
#emptyを追加 | |
#emptyのparentを目的物にする | |
bpy.data.objects["Empty"].matrix_world | |
bpy.data.objects["Empty"].matrix_world.to_euler('XYZ') |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#%% | |
def collatz(): | |
for i in range(1, 1000000): | |
ns=[i] | |
while(ns[-1]!=1): | |
ns.append(3*ns[-1]+1 if ns[-1]%2==1 else ns[-1]/2) | |
print(i, len(ns)) | |
#%% | |
import sympy |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import bpy | |
import mathutils | |
import math | |
# 参考動画1 https://www.youtube.com/watch?v=sOOBYJhELH8 | |
# 参考動画2 https://www.youtube.com/watch?v=0c6yGBhpd9s | |
# 参考動画1(3:39-)にあるようにMixamoから'MMA Kick'を用意してください. | |
# スカートは球(UV Sphere)からコード中で作ってます. | |
def setLayers(target, lidx): |
NewerOlder