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
| -- BezierTubes | |
| function setup() | |
| assert(craft, "Please include Craft as a dependency") | |
| assert(OrbitViewer, "Please include Cameras (not Camera) as a dependency") | |
| scene = craft.scene() | |
| scene.camera:add(OrbitViewer) | |
| local track = scene:entity() | |
| local p = f(0) |
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
| \documentclass{article} | |
| \usepackage{tikz} | |
| \usetikzlibrary{knots,hobby} | |
| \begin{document} | |
| \begin{tikzpicture}[use Hobby shortcut] | |
| \begin{knot}[ | |
| consider self intersections, | |
| % draft mode=crossings, | |
| ignore endpoint intersections=false, |
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
| Radioactive Decay Tab Order Version: 1.0 | |
| ------------------------------ | |
| This file should not be included in the Codea project. | |
| #Main |
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
| -- Touch Example | |
| function setup() | |
| -- initialise | |
| touches = Touches() | |
| boxes = {} | |
| local c = { | |
| color(255,0,0), | |
| color(255,255,0), | |
| color(0,255,0), |
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
| Penrose Tiles Tab Order Version: 3.0 | |
| ------------------------------ | |
| This file should not be included in the Codea project. | |
| #Main | |
| #ProtoTile | |
| #Tile | |
| #Creator | |
| #Tiles | |
| #InitialiseTiles | |
| #ccConfig |
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
| Flying Ignatz Tab Order Version: 1.12 | |
| ------------------------------ | |
| This file should not be included in the Codea project. | |
| #Main | |
| #Flight | |
| #Joystick | |
| #Plane | |
| #Quaternion | |
| #Sky | |
| #VecExt |
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
| Flying Tab Order Version: 1.7 | |
| ------------------------------ | |
| This file should not be included in the Codea project. | |
| #Main | |
| #JoyStick | |
| #Quaternion | |
| #Flight | |
| #Plane | |
| #Sky |
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
| Spitfire II Tab Order Version: 1.4 | |
| ------------------------------ | |
| This file should not be included in the Codea project. | |
| #Main | |
| #Andrew | |
| #Quaternion | |
| #Q | |
| #Plane |
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
| Plane Quaternions Tab Order Version: 1.2 | |
| ------------------------------ | |
| This file should not be included in the Codea project. |
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
| <?php | |
| /* html_convert_entities($string) -- convert named HTML entities to | |
| * XML-compatible numeric entities. | |
| */ | |
| function html_convert_entities($string) { | |
| return preg_replace_callback('/&([a-zA-Z][a-zA-Z0-9]+);/S', | |
| 'convert_entity', $string); | |
| } |