Skip to content

mmulet/hack-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hack-words

This is a fun little game I thought of while playing around with some cool math called compressed sensing. Check it out at hack-words.com

Structure of the hack-words repository

hack-words

  • client is the source for the website
  • dev_server is the source for the development server of the website
  • create_model. Source for the python model creation script

Build

create_model

  1. Make a venv
python3 -m venv venv
# activate the venv ( depends on your shell and OS)
# see https://docs.python.org/3/library/venv.html
# bash
source venv/bin/activate
  1. Install dependencies
pip install torch ptwt pillow numpy
  1. generate the models and data From the project root
python ./create_model/generate_all_data.py

Website

Build the website

cd client
npm install .
cd ../dev_server
npm install .
npm run build

Dev the website

cd client
npm install .
cd ../dev_server
npm install .
npm run build

About

Corrupt an image by changing 8 bits! Solve the riddle to restore it. A small hack using compressed sensing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published