greeb / fpointcloud Goto Github PK
View Code? Open in Web Editor NEWDisplay position data in a browser and maybe more
Display position data in a browser and maybe more
Line: 14
fPointcloud//server/controllers/userController.js
Lines 11 to 21 in 5a77118
Line: 27
fPointcloud//server/controllers/dataController.js
Lines 24 to 34 in 5a77118
const newPos = new Position({
x,
y,
z,
surface,
user: users[userID].mongodb_id
})
newPos.save((err) => {
// TODO:Nuxt.Server: Check duplicates in cache?
// category=Server
if (err) { console.log('DUPLICATE FIXME') }
})
Line: 53
fPointcloud//server/controllers/dataController.js
Lines 50 to 60 in 5a77118
Line: 54
fPointcloud//components/Three.vue
Lines 51 to 61 in 5a77118
Line: 134
fPointcloud//components/Three.vue
Lines 131 to 141 in 5a77118
this doesn't really work atm we do (speed ^-2) * (2 * 10^7)
but that doesn't scale really well for all number especially low ones
@const speedo This variable is the speed we should throttle at
*/
Line: 23
fPointcloud//server/controllers/dataController.js
Lines 20 to 30 in 434985f
Could also be we fuck up when saving this data earlier idk
Line: 301
fPointcloud//components/ThreeJS.vue
Lines 298 to 308 in 434985f
const socket = io.connect('http://localhost:9000');
socket.on('connect', () => {
socket
.emit('authenticate', { token: jwt }) //send the jwt
.on('authenticated', () => {
//do other things
})
.on('unauthorized', (msg) => {
console.log(unauthorized: ${JSON.stringify(msg.data)}
);
throw new Error(msg.data.type);
})
});
const cookie = JSON.stringify({loggedIn: fasle})
Line: 56
fPointcloud//components/Three.vue
Lines 53 to 63 in 5a77118
Line: 118
fPointcloud//components/Three.vue
Lines 115 to 125 in 5a77118
Line: 25
fPointcloud//server/listeners/socketServer.js
Lines 22 to 32 in 5a77118
Line: 78
fPointcloud//server/listeners/udpServer.js
Lines 75 to 85 in 5a77118
Line: 205
fPointcloud//components/Three.vue
Lines 202 to 212 in 5a77118
Line: 68
fPointcloud//server/controllers/userController.js
Lines 65 to 75 in ed22dff
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.