tinbryn / molecule-of-the-month Goto Github PK
View Code? Open in Web Editor NEWAn AR app that will display a molecule in the UWA Bayliss building that will change each month
License: Other
An AR app that will display a molecule in the UWA Bayliss building that will change each month
License: Other
The file conversion from chemical files to 3D models should happen on the app, since this is a browser based app that needs to happen in JavaScript or something that compiles to js or wasm such as TypeScript to js.
This should generate a notification in slack when this is created
https://github.com/TinBryn/Molecule-of-the-Month/blob/master/convertor/moleculegltfconvertor.js
Need to add a textual description.
For now just add it in the getBallAndStick function - using the getColourMap function or similar
See https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene
https://threejs.org/docs/#manual/en/introduction/Useful-links
From the output of function parsePDBFile https://github.com/TinBryn/Molecule-of-the-Month/blob/conversion/convertor/convertor.js. This needs to be converted into a GLTF file to be rendered by AR.JS
https://github.com/TinBryn/Molecule-of-the-Month/blob/master/convertor/moleculegltfconvertor.js
Need to add a textual description.
For now just add it in the getBallAndStick function
See https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene
https://threejs.org/docs/#manual/en/introduction/Useful-links
Each element needs a radius and color value, an example format would be
{
"H": {
"radius": "53",
"color": "FFFFFF"
},
"N": {
"radius": "56",
"color": "3050F8"
}
}
does this look good @Cosmo801 ?
https://github.com/TinBryn/Molecule-of-the-Month/blob/master/convertor/moleculegltfconvertor.js
Need to add bonds between atoms (probably with some sort of sphere object)
For now just add it in the getBallAndStick function
See https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene
https://threejs.org/docs/#manual/en/introduction/Useful-links
The model origin is very offset and far too large
the folder node_modules
should not be included in the repository as they are quite large and could create merge conflicts. Please revert this commit and recommit the changes without the node modules folder.
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.