Coder Social home page Coder Social logo

collatz-app's Introduction

Collatz Loops

About

This is the code behind the website https://www.collatzloops.com. The website creates numerical sequences that loop similarly to the Collatz Conjecture. The algorithm to derive these "loops" was created by Viktor Zivojinovic as a Python script. For the purpose of this website, that script was translated into a Typescript equivalent that can run on the front-end.

The source code has been made open-source to serve as a portfolio project for the developer, Erick Cardenas Mendez.

Running For Development

Prerequisites:

  • FNM (or alternatively NVM) for Node version management
  • pnpm

Once the prerequisites are installed:

  1. Install the Node version specified in .nvmrc:
    fnm install
  2. Install project dependencies:
    pnpm install
  3. Run the development server
    pnpm run dev

Then open http://localhost:3000 with your browser to see the result.

Other Development Scripts

pnpm run build: Build out the website as a static site (Next.js docs).

pnpm run prettier: Auto-format the source code using Prettier.

pnpm run lint: Check for linting errors, as defined by the ESLint configuration.

pnpm run test: Run the Jest tests under watch mode.

Tech Stack

The following languages/libraries/frameworks were used in the creation of this application.

collatz-app's People

Contributors

travellingprog avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.