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
import processing.serial.*; | |
int SIDE_LENGTH = 1000; | |
int ANGLE_BOUNDS = 80; | |
int ANGLE_STEP = 2; | |
int HISTORY_SIZE = 10; | |
int POINTS_HISTORY_SIZE = 500; | |
int MAX_DISTANCE = 100; | |
int angle; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape android:shape="rectangle" | |
android:dither="true"> | |
<corners android:radius="@dimen/card_corner_radius"/> | |
<solid android:color="#bbb" /> | |
</shape> |
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 controllers; | |
import models.Language; | |
import play.Logger; | |
import play.Play; | |
import play.cache.Cache; | |
import play.i18n.Lang; | |
import play.mvc.Before; | |
import play.mvc.Controller; | |
import play.mvc.Http; |