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
.gradle | |
/local.properties | |
/.idea/workspace.xml | |
.DS_Store |
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
<html> | |
<head> | |
<title>voxel paint app</title> | |
<!-- | |
<script src="/socket.io/socket.io.js"></script> | |
--> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no,maximum-scale=1"> | |
<script src="https://aframe.io/releases/0.7.1/aframe.min.js"></script> |
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 Gun = require('gun'); // in NodeJS | |
// var Gun = require('gun/gun'); // in React | |
//console.log(location.host+"/gun"); | |
//console.log(window.location.href+'gun'); | |
//console.log('http://localhost:8080/gun'); | |
//console.log(window.location.origin+'/gun'); | |
//var gun = Gun(window.location.origin+'gun'); | |
let gunurl = window.location.origin+'/gun'; |
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
;(function(){ | |
/* UNBUILD */ | |
var root; | |
if(typeof window !== "undefined"){ root = window } | |
if(typeof global !== "undefined"){ root = global } | |
root = root || {}; | |
var console = root.console || {log: function(){}}; | |
function USE(arg, req){ | |
return req? require(arg) : arg.slice? USE[R(arg)] : function(mod, path){ |
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
//=============================================== | |
// CLEAR GUN DATABASE | |
localStorage.clear(); | |
//(function() { | |
//=============================================== | |
// INIT GUN DATABASE | |
let gunurl = window.location.origin+'/gun'; | |
//console.log(gunurl); | |
var gun = Gun(gunurl); | |
gun.on('hi', peer => {//peer connect |
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
//=============================================== | |
// CLEAR GUN DATABASE | |
localStorage.clear(); | |
//(function() { | |
//=============================================== | |
// INIT GUN DATABASE | |
let gunurl = window.location.origin+'/gun'; | |
//console.log(gunurl); | |
var gun = Gun(gunurl); | |
gun.on('hi', peer => {//peer connect |
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 bpy | |
#source_rig = 'MBlab_sk' | |
#dest_rigs = ['Armature'] | |
############ | |
bone_data = {} | |
selectobjname = None | |
def edit_rig(rigname): | |
bpy.ops.object.mode_set(mode='OBJECT') | |
bpy.ops.object.select_all(action='DESELECT') |
OlderNewer