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 scipy.interpolate as scipl | |
| import networkx as nx | |
| import graphviz | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import matplotlib.animation as animation | |
| es0 = [ | |
| [1, 4], | |
| [4, 3], |
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
| 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 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
| 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 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 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 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
| #emptyを追加 | |
| #emptyのparentを目的物にする | |
| bpy.data.objects["Empty"].matrix_world | |
| bpy.data.objects["Empty"].matrix_world.to_euler('XYZ') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #%% | |
| 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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.