HuggingReplMade with PythonRecent comments (1)KosmiCKhaoz9 months ago
A 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.
AutomatonMade with Python
Implements a cellular automaton to generate a simple terrain-like structure, from noise.Recent comments (1)KosmiCKhaoz10 months ago
This 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.
NetBlocksMade with Node.js
An experiment on getting AFrame block building over the network.Recent comments (2)KosmiCKhaoz3 months ago
Linked to GitHub and added cover pageKosmiCKhaoz3 months ago
This 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-aframe
Select GeometryMade with TypeScript
A simple example of how to select and highlight Geometry in BabylonJSRecent comments (13)KosmiCKhaoz2 months ago
I 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 👍