triangles

command module
v0.0.0-...-505f793 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2016 License: Apache-2.0 Imports: 25 Imported by: 0

README

triangles

Quick Start

Linux

sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev libx11-dev  #  https://github.com/golang/mobile/blob/master/app/x11.go#L15
go get github.com/asimshankar/triangles
$GOPATH/bin/triangles --logtostderr

OS X

go get github.com/asimshankar/triangles
$GOPATH/bin/triangles  --logtostderr

Android

Requires the Android SDK to be installed. Easiest way is to install Android Studio. After that:

go get golang.org/x/mobile/cmd/gomobile
gomobile init
go get github.com/asimshankar/triangles
# Connect the Android device via USB
gomobile install github.com/asimshankar/triangles
# And see the application's logs.
adb logcat *:S GoLog:*

iOS

go get golang.org/x/mobile/cmd/gomobile
gomobile init
go get github.com/asimshankar/triangles
gomobile build --target=ios github.com/asimshankar/triangles

This will generate triangles.app

  • Start XCode
  • Plugin an iOS device to your USB port
  • Navigate the XCode menus: Window --> Devices
  • Select the device and then click the + icon on Installed Applications to select triangles.app

Documentation

Overview

An app that draws and moves triangles on the screen and pushes them on to other screens.

See https://github.com/asimshankar/triangles

Directories

Path Synopsis
Package spec defines the interfaces between networked participants of the triagles display.
Package spec defines the interfaces between networked participants of the triagles display.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL