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
The instructions on the wiki don't mention these packages, but you need them to compile Wasp-os. | |
sudo apt-get install sphinx-common | |
sudo apt-get install pkg-config | |
sudo apt-get install libcairo2-dev | |
sudo apt-get install gcc-arm-none-eabi | |
sudo apt install libgirepository1.0-dev | |
This issues thread was also necessary to get it to actually flash: | |
https://github.com/daniel-thompson/wasp-os/issues/157 |
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
using Seed.Cymatic.Core; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
//this template class basically creates a 'myValue' variable that you can change in any way you like. | |
//The evaluate method should always output a value between -1 and 1. In this case, we're interpolating a 0 -> 1 variable to -1 -> 1, | |
// but you can do this however you want as long as Evaluate() outputs a -1 to 1 value (as this is the range cymatic likes) |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"os/exec" | |
"strings" |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class MessageSender : MonoBehaviour | |
{ | |
public OSC osc; | |
public string address = "/Test"; | |
public float val; |
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
//Step 0. | |
//Ensure you're on android studio 4.1 | |
//in your build.gradle, add the following: | |
buildFeatures{ | |
dataBinding true | |
} |
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
Section A: Preparing your models in Blender. | |
1. In blender, open up one of your 3d tiles. | |
2. Center it in the scene and have it sit directly above y=0 | |
3. Export it as a .obj file | |
Repeat these steps for every tile in the tileset. | |
Section B: Setup in Godot | |
1. Create a new scene with a spatial node. | |
2. Create a new folder called "Models" and drag your .obj files in there. | |
3. Drag all your models into the scene as children of Spatial. They should all be of type MeshInstance. |
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
extends KinematicBody | |
const friction = 24 | |
const gravity = -9.8 * 3 | |
const mouseSensitivity = .05 | |
var velocity = Vector3() | |
var move_speed = 0 | |
var look_speed = 0 | |
func _ready(): |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class MessageSender : MonoBehaviour | |
{ | |
public OSC osc; | |
public float val; |
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
using UnityEngine; | |
public class FrequencyReceiver : MonoBehaviour | |
{ | |
public OSC osc; | |
void Start() | |
{ | |
osc.SetAddressHandler("/Frequency", OnReceiveFrequency); | |
} |
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
using UnityEngine; | |
public class MIDIPitchReceiver : MonoBehaviour | |
{ | |
public OSC osc; | |
void Start() | |
{ | |
osc.SetAddressHandler("/Note1", OnReceiveNote1); |