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
def hn_distance(x1:str, x2:str, j=0): | |
""" | |
Hamming-Neighbourhood Distance | |
See more here https://medium.com/p/73997d14706e/ | |
x1: The first comparision string | |
x2: The second comparision string | |
j: The ignorance threshold is the minimum difference between | |
values required for them to be considered as a potential | |
consideration. It is best to leave this alone unless you |
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 * as THREE from 'three' | |
import Img from './Comp/Images/Img2.bmp' | |
import Img3 from './Comp/Images/Texture.jpg' | |
import CedarTexture from './Comp/Images/Img3.jpg' | |
import Debris from './Comp/Images/Debris.jpg' | |
import { ShaderMaterial } from 'three' | |
// import Worker from "worker-loader!./Worker.js"; | |
// import * as Physijs from 'physijs' | |
var Appended = false | |
var Incre = 1 |