Skip to content

Instantly share code, notes, and snippets.

View dragonproject's full-sized avatar

Ryutaro Seki dragonproject

  • Dragon Project co ltd
  • Ibaraki
View GitHub Profile
@dragonproject
dragonproject / AnalogClock.py
Created October 7, 2019 10:54
AnalogClock.py
'''
A simple analog clock made of ShapeNodes.
'''
from scene import *
from math import pi, sin, cos
from datetime import datetime
class Clock (Scene):
def setup(self):
code-setting-sync
atom sync setting

Atom の設定を sync-settings で共有します。

@dragonproject
dragonproject / 0_reuse_code.js
Last active August 29, 2015 14:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
pageObj = app.documents.add()
txtObj = pageObj.textFrames.add();
txtObj.visibleBounds = ["1cm","0.5cm","5cm","10cm"];
txtObj.contentType = ContentType.textType;
txtObj.contents = "InDesign JavaScript Sample";