この記事は 高知工科大 Advent Calendar 2017 の17日目の記事です。
昨年度のカレンダーはこちら: 高知工科大 Advent Calendar 2016
趣味で 絵文字ジェネレーター というウェブサービスを開発しています。
まだ ⭐ を付けていない方は、この記事を読む前に Emoji-Web へ ⭐ を付けてください。
なお、:star: を付けた方は、この記事を閉じても構いません。
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 "Theta/Sphere1" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_AlphaBlendTex ("Alpha Blend (RGBA)", 2D) = "white" {} | |
_OffsetU ("Offset U", Range(-0.5, 0.5)) = 0 | |
_OffsetV ("Offset V", Range(-0.5, 0.5)) = 0 | |
_ScaleU ("Scale U", Range(0.8, 1.2)) = 1 | |
_ScaleV ("Scale V", Range(0.8, 1.2)) = 1 | |
_ScaleCenterU ("Scale Center U", Range(0.0, 1.0)) = 0 | |
_ScaleCenterV ("Scale Center V", Range(0.0, 1.0)) = 0 |
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
#!ruby | |
# | |
# THETAのシャッターをPCから遠隔で切るだけの例 by GOROman | |
# | |
# 参考にしたページ | |
# http://mobilehackerz.jp/contents/Review/RICOH_THETA | |
require 'socket' |