- 13" MacBook Pro
- Custom PC (hidden in left cabinet)
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
room.update = function(delta_time) { | |
global_update_val++; | |
global_time_passed += delta_time; | |
var secs_passed = global_time_passed * 0.001; | |
var sin_secs = Math.sin(secs_passed); | |
var sin_secs2 = Math.sin(secs_passed * 3.14159 * 2); | |
room.objects["new_text1"].text = "up/down = 1 & 7: " + (updown / 4); | |
room.objects["new_text1"].pos.y = 1.5 + 0.25*sin_secs; |
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
<?php | |
/** | |
* Generate a random link from vrsites subreddit. | |
* Original author: http://www.reddit.com/user/MrM0bius | |
*/ | |
$options = array('http' => array('user_agent' => 'JanusVR random site (v0.1)')); | |
$context = stream_context_create($options); | |
$rvrsites1 = file_get_contents('http://reddit.com/r/vrsites/.json?limit=100', false, $context); |
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
<?php | |
$options = array('http' => array('user_agent' => 'JanusVR random site (v0.1)')); | |
$context = stream_context_create($options); | |
/** | |
* Should be able to use a more typical cache pattern here. | |
* | |
* Something like: | |
function _cache_get($var) { | |
static $cache_objects; |
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
<html> | |
<head> | |
<title>Lullabot loves you!</title> | |
</head> | |
<body> | |
This is an example of using the AssetWebSurface tag in Janus VR to insert a website as a texture on an object. | |
<FireBoxRoom> | |
<Assets> | |
<AssetObject id="plane" src="plane.obj" /> | |
<AssetWebSurface id="lullabot" src="https://www.lullabot.com" width="1920" height="1080" /> |
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
<html> | |
<head> | |
<title>Janus VR - Initial Home</title> | |
<body> | |
<FireBoxRoom> | |
<Assets> | |
<AssetImage src="http://www.dgp.toronto.edu/~mccrae/projects/firebox/img/instructions.jpg" id="instr1" /> |
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
var points = []; | |
var x = y = z = this.constraint; | |
var constraintDecrement = this.constraint * -1; | |
for (var x = this.constraint; x >= constraintDecrement; x--) { | |
points.push({ | |
'pos': {'x' : x, 'y' : y, 'z' : z} | |
}); | |
for (var y = this.constraint; y > constraintDecrement; y--) { | |
points.push({ |
You can run this command with npm watch
and it will run both the watchify
command and the gulp watch
command in two separate background processes but both process's output will still show up in the foreground.
Since they're run through npm, you can hit ctrl+c to cancel the main process which in turn cancels the two
background processes.
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
core = 6.x | |
projects[pressflow][type] = "core" | |
projects[pressflow][download][type] = "get" | |
projects[pressflow][download][url] = "http://launchpad.net/pressflow/6.x/6.17.83/+download/pressflow-6.17.83.tar.gz" | |
; INSTALL PROFILES | |
projects[profiler] = 1.0 | |
; DEVELOPMENT |
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
<?php | |
/** | |
* Plugins are described by creating a $plugin array which will be used | |
* by the system that includes this file. | |
*/ | |
$plugin = array( | |
'title' => t('Work Wizard Menu'), | |
'description' => t('This is the menu for the work wizard.'), | |
'single' => TRUE, | |
'content_types' => array('work_wizard_menu'), |
OlderNewer