flowchart TD
A[Start] --> B{Is it?}
B -->|Yes| C[OK]
C --> D[Rethink]
D --> B
B ---->|No| E[End]Mapping GeoJSON/TopoJSON files on GitHub ( following the geoJSON spec )
{
"type": "Topology",
"objects": {
"example": {
"type": "GeometryCollection",
"geometries": [Raycast 1: https://editor.p5js.org/neill0/sketches/2w9z3w3Cc
Raycast 2 (scaling, rotation): https://editor.p5js.org/neill0/sketches/QKudv3U3F
Controller-tracking 1: https://editor.p5js.org/neill0/sketches/Wo_lWehlw
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class ProjectileFirer : MonoBehaviour | |
| { | |
| public List<GameObject> projectilePrefabs; | |
| public float fireStrength = 20; | |
| public float spinStrength = 10f; |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class MouseLookScript : MonoBehaviour | |
| { | |
| public float lookSensitivity = 10f; | |
| private float leftRightAngle = 0; | |
| private float upDownAngle = 0; |
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
| # This .gitignore file should be placed at the root of your Unity project directory | |
| # | |
| # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore | |
| # Neill modified to ignore .log files. | |
| /[Ll]ibrary/ | |
| /[Tt]emp/ | |
| /[Oo]bj/ | |
| /[Bb]uild/ | |
| /[Bb]uilds/ |
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
| [ | |
| { | |
| "placeName": "St. Thomas", | |
| "location": "British Virgin Islands, Caribbean", | |
| "description": "Beautiful island with great people, be careful of the lizards", | |
| "image": { | |
| "src": "https://images.unsplash.com/photo-1557598003-15d7d605adaa?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=2070&q=80", | |
| "altText": "Virgin islands beach" | |
| } | |
| }, |
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 * as THREE from 'https://unpkg.com/[email protected]/build/three.module.js'; | |
| function dumpObjectToTextLines(obj, lines = [], isLast = true, prefix = '') { | |
| if (!obj || !obj.children) { | |
| return lines; | |
| } | |
| const localPrefix = isLast ? '└─' : '├─'; | |
| lines.push(`${prefix}${prefix ? localPrefix : ''}${obj.name || '*no-name*'} [${obj.type}]`); | |
| const newPrefix = prefix + (isLast ? ' ' : '│ '); | |
| const lastNdx = obj.children.length - 1; |
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
| // Trying to build stacked crosssectional plates of animated 3d noise, to mimic this work: | |
| //https://jacobjoaquin.tumblr.com/post/188120374046/jacobjoaquin-volumetric-noise-20190225 | |
| // | |
| // Using the noise algorithm from this shader by iq: https://www.shadertoy.com/view/4sfGzS | |
| // then making it have octaves. | |
| // | |
| // TODO: Make the plates square and isometric. | |
| // TODO: Fix the noise so that builds in from both up as well as down. | |
| // TODO: Correctly just overlay the colours of each upper disc on the lower discs, if the upper pixel is not transparent. Need to model alpha. | |
| // TODO: don't calculate a noise value that is going to be thrown away! |
Not master copy. Master copy is currently https://docs.google.com/spreadsheets/d/1yxMpMPd0f9T_c1s2h9KRQ_DnYVJ6Vym_23bRS7ZeBRg/edit#gid=0
Create