burger 3d view demo (ascii stl file)
solid Exported from Blender-3.2.1
facet normal 0.017014 0.063498 0.997837
outer loop
vertex -0.000000 0.678245 0.906216
vertex -0.000000 0.272585 0.932030
vertex 0.136293 0.236066 0.932030
endloop| class Point { | |
| x: number; | |
| y: number; | |
| /** the label for this point */ | |
| label: string; | |
| constructor(givenLabel: string,givenX: number, givenY:number){ | |
| console.log("constructor was called") | |
| this.x = givenX; |
| const fs = require('fs/promises'); | |
| async function readFileAndSolveProblem() { | |
| const inputRaw = await fs.readFile("./inputs/inputDay1A.txt", { encoding: 'utf8' }) | |
| const inputLines = inputRaw.split("\n"); | |
| console.log({ inputLines }) | |
| //TODO: solve the problem here, based on inputLines | |
| } |
| import fs from 'fs/promises'; | |
| async function readFileAndSolveProblem() { | |
| const inputRaw = await fs.readFile("./inputs/inputDay1A.txt", { encoding: 'utf8' }) | |
| const inputLines: string[] = inputRaw.split("\n"); | |
| console.log({ inputLines }) | |
| //TODO: solve the problem here, based on inputLines | |
| } |
| type Player = "X" | "O" | |
| type PosState = Player | "" | |
| type BoardState = [ | |
| PosState,PosState,PosState, | |
| PosState,PosState,PosState, | |
| PosState,PosState,PosState | |
| ] | |
| //type WinState = "draw" | "X won" | "O won" | "not finished" |
burger 3d view demo (ascii stl file)
solid Exported from Blender-3.2.1
facet normal 0.017014 0.063498 0.997837
outer loop
vertex -0.000000 0.678245 0.906216
vertex -0.000000 0.272585 0.932030
vertex 0.136293 0.236066 0.932030
endloopMapping 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
| 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; |
| 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; |