Skip to content

universalbit-dev/CityGenerator

 
 

Repository files navigation

CodeQL License: LGPL v3 NodeJS Hyperledger FreeCodeCamp

Web3


Wrecking Ball Truck

David Stephanus from Pixabay

Description:
The CityGenerator project focuses on creating dynamic city models inspired by the principles outlined in the Fab City: The Mass Distribution of (Almost) Everything white paper. It aims to provide tools for simulating and visualizing sustainable, self-sufficient, and resilient urban environments.


Key Objectives:

  1. Sustainability: Promote local production and reduce dependency on external resources, aligning with the Fab City framework.
  2. Resilience: Envision cities capable of adapting to environmental, social, and economic changes.
  3. Collaboration: Create open-source tools and models to engage developers, urban planners, and researchers in building decentralized urban systems.

Clone the project

git clone https://github.com/universalbit-dev/CityGenerator.git
cd CityGenerator

Node.js Logo Node.js 22 LTS supported

Install packages with npm then generate your city model

npm i && npm audit fix
npm start

🧠 City Simulation Engine

This project features a smart city simulation powered by artificial intelligence and neural networks.

  • 🌱 Dynamic Growth: An AI agent learns to manage and expand your city—making decisions like building infrastructure or balancing resources.
  • ⏯️ Interactive Controls: Pause and resume the simulation at any time.
  • 🎓 Continuous Learning: The AI improves its strategies automatically as the simulation runs.

For details, see the simulation logic in src/js/index.js.


HTTPS Automated Certificate Generation:

  • To simplify the process for users, the project is set up to automatically generate the SSL/TLS certificate and private key required for HTTPS during the npm install process. This eliminates the need for manual certificate creation, streamlining the setup of the HTTPS server.

Fixing Issues:

  • If you encounter any issues with the HTTPS server or certificate generation, refer to the SSL README for detailed instructions and troubleshooting tips.

Resources


City Generator Images
map01 map_20
map_21 map_22
About Author of City Map Generator: @probabletrain
Thanks!

Build your Project:


"In a project like CityGenerator, which seems to involve complex features (e.g., blockchain-driven urban designs), managing bundle size is critical for ensuring good performance, especially for web-based applications. Using webpack-bundle-analyzer can help identify and reduce inefficiencies in the build output"

npm run build

Blockchain Integration: Information about integrating with DigiByte and other blockchain environments.

-- DigiByte Integration Guide -- -- Documentation and examples --

Blockchain Environment

-- Workers

Contributing: feel free to make something of amazing.

📢 Support the UniversalBit Project

Help us grow and continue innovating!


License

Distributed under the LGPL-3.0 License. See lgpl-3.0.txt

About

"Fab City and futuristic urban designs: advancing existing concepts with a blockchain-driven approach."

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • JavaScript 93.3%
  • Assembly 2.3%
  • C 1.5%
  • Makefile 1.2%
  • TypeScript 1.1%
  • Shell 0.6%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy