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
#!/usr/bin/env python | |
import sys | |
import os | |
import subprocess | |
# Script taken from doing the needed operation | |
# (Filters > Remeshing, Simplification and Reconstruction > | |
# Quadric Edge Collapse Decimation, with parameters: | |
# 0.9 percentage reduction (10%), 0.3 Quality threshold (70%) |
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
echo off | |
title Install Development Environment Applications | |
echo installing chocolatey | |
:: chocolatey | |
Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
:: Node.js | |
echo installing Node.js | |
choco install nodejs.install |
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 TargetFrameRate : MonoBehaviour{ | |
void Awake() | |
{ | |
//frame jacking so we can traing through as many generations as possible very fast | |
Application.targetFrameRate = 300; |
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 TargetController : MonoBehaviour | |
{ | |
public bool isTracked = 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
/* | |
* Optimizer is responsible the training sessions (starting, stopping, and evaluating) | |
*/ | |
using UnityEngine; | |
using System.Collections; | |
using SharpNeat.Phenomes; | |
using System.Collections.Generic; | |
using SharpNeat.EvolutionAlgorithms; | |
using SharpNeat.Genomes.Neat; |
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
/* | |
* LocomotionController is responsible for each individual Smart Unit | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using SharpNeat.Phenomes; | |
using UnityEngine; | |
public class LocomotionController : UnitController |
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
/* | |
* LocomotionController is responsible for each individual Smart Unit | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using SharpNeat.Phenomes; | |
using UnityEngine; | |
public class LocomotionController : UnitController |
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 SharpNeat.Phenomes; | |
using UnityEngine; | |
public class LocomotionController : UnitController | |
{ | |
private Rigidbody rBody; | |
private bool IsRunning; | |
private IBlackBox box; |
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 { Injectable } from '@angular/core'; | |
@Injectable() | |
export class RandomColorService { | |
public colorDictionary: any = {}; | |
constructor() { | |
} | |
private defineColor (name: any, hueRange: any, lowerBounds: any) { |
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
$ ./install.sh | |
Prefix set to /Users/tylerlindell/torch-distro/install | |
Submodule 'exe/env' (https://github.com/torch/env.git) registered for path 'exe/env' | |
Submodule 'exe/luajit-rocks' (https://github.com/torch/luajit-rocks.git) registered for path 'exe/luajit-rocks' | |
Submodule 'exe/qtlua' (https://github.com/torch/qtlua.git) registered for path 'exe/qtlua' | |
Submodule 'exe/trepl' (https://github.com/torch/trepl.git) registered for path 'exe/trepl' | |
Submodule 'extra/argcheck' (https://github.com/torch/argcheck.git) registered for path 'extra/argcheck' | |
Submodule 'extra/cudnn' (https://github.com/soumith/cudnn.torch.git) registered for path 'extra/cudnn' | |
Submodule 'extra/cunn' (https://github.com/torch/cunn.git) registered for path 'extra/cunn' | |
Submodule 'extra/cutorch' (https://github.com/torch/cutorch.git) registered for path 'extra/cutorch' |
NewerOlder