AutomatonMade with Python
Implements a cellular automaton to generate a simple terrain-like structure, from noise.Recent comments (1)KosmiCKhaoz2 years 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)
Linked to GitHub and added cover page
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)
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 👍