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 Foundation | |
extension String | |
{ | |
func subString(start: Int, length: Int) -> String | |
{ | |
let range = Range<String.Index>(start: startIndex.advancedBy(start), end: startIndex.advancedBy(start + length)) | |
return self.substringWithRange(range) | |
} | |
} |
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
-- SCREENSAVER | |
-- BY ALICEFFEKT | |
point1 = {} | |
point1.x = 64 | |
point1.y = 64 | |
point1.a = 90 | |
point1.s = 2 | |
point2 = {} |
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
-- 3D CUBE | |
-- BY ALICEFFEKT | |
angle = 0 | |
function _update() | |
angle += 2 | |
if angle > 360 then | |
angle = 0 | |
end |
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
-- GEODEZIK | |
-- BY ALICEFFEKT | |
frame = 0 | |
function _update() | |
frame += 1 | |
-- loop at f127 |
NewerOlder