Diogo Neves
HuggingRepl
Made with PythonRecent comments (1)KosmiCKhaoz2 years agoA barebones Repl of 🤗Transformers, with one of their sample uses as seen at https://huggingface.co/docs/transformers/quicktour .
This Repl includes the necessary dependencies and a simple
main.py
, simply run the Repl.Automaton
Made with PythonImplements a cellular automaton to generate a simple terrain-like structure, from noise.
Recent comments (1)KosmiCKhaoz2 years agoThis Repl includes an implementation of a cellular automaton to generate a simple terrain-like structure, from noise.
Cellular Automata is a subject that I've been meaning to explore for a long time and never did. This Repl was created as a fun night of code and intended to try out Replit, practice using numpy and learn more about CAs.The implementation includes 3 main stages:
- Generate initial state
- Run the CA rule for a few iterations
- Display the results
This implementation keeps all the intermediate states so that they can be later displayed or analysed. The Repl will show an animation of the different time steps and include a plot of the number of live cells over time.
Next I'd like to:
- Experiment with stochastic implementations.
- Use a higher-level plotting library (matplotlib is messy IMO).
- Learn how to present simple projects beautifully.
Disclaimer: I tried to keep it short and simple too and hopefully most functions have self-evident intentions. No attempts were made at optimising the code.
NetBlocks
Made with Node.jsAn experiment on getting AFrame block building over the network.
Recent comments (2)KosmiCKhaoz1 year agoLinked to GitHub and added cover page
KosmiCKhaoz1 year agoThis change makes it clear this project isn't just the networked-aframe template code.
This project was based on the NetworkedAFrame template https://github.com/networked-aframe/networked-aframeSelect Geometry
Made with TypeScriptA simple example of how to select and highlight Geometry in BabylonJS
Recent comments (13)KosmiCKhaoz1 year agoI have tried to add as many details to the README as possible.
This Repl covers the selection and highlight of 3D objects in BabylonJS. There are some quirks to how Babylon renders the highlights and I have covered those here.I hope it helps someone 👍