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
################################################################################ | |
# Beholder: Simple watcher plugin # | |
################################################################################ | |
# # | |
# ABOUT: # | |
# If you specify the directories you'd like watched, and the scripts you'd # | |
# like to be run, this plugin will run those EditorScripts any time file # | |
# names or file contents have changed, as well as when files are added or # | |
# removed in the specified subdirectories. # | |
# # |
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 luxe.Input; | |
import luxe.Sprite; | |
import luxe.Color; | |
import luxe.Vector; | |
import luxe.Draw; | |
import luxe.Transform; | |
import luxe.Quaternion; | |
import phoenix.geometry.Geometry; |
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
var unicorn = function(){ | |
var step = 3, // colorChage step, use negative value to change direction | |
ms = 45, // loop every | |
$uni = $('.unicorn'), | |
$uni2 = $('.unicorn2'), | |
txt = $uni.text(), | |
txt2 = $uni2.text(), | |
len = txt.length, | |
len2 = txt2.length, | |
lev = 360/len, |