Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
58fd5ee
initial port to civet
Mokshit06 Aug 18, 2023
224a32a
port a few more
Mokshit06 Aug 18, 2023
3cfaff9
port all files
Mokshit06 Aug 19, 2023
fee2c85
improve types
Mokshit06 Aug 19, 2023
62cdb82
move from loop to array init
Mokshit06 Oct 7, 2023
4877278
implement folded geometry
Mokshit06 Oct 19, 2023
ffdc280
fix rotation for sequence of folds
Mokshit06 Oct 19, 2023
ea901ec
remove unnecessary comments
Mokshit06 Oct 19, 2023
3247f84
cli option for 3d folding
Mokshit06 Oct 20, 2023
d5a581f
move to vite
Mokshit06 Oct 21, 2023
996fdd7
fix coffeescript <> civet bugs
Mokshit06 Oct 21, 2023
13c57ee
implement unfolding for 3d & flat states
Mokshit06 Oct 21, 2023
484ab47
fix test assertion
Mokshit06 Oct 21, 2023
75b2b84
Update gh-pages deploy method
Mokshit06 Oct 22, 2023
ec5360e
Improve type defs
Mokshit06 Oct 26, 2023
931c54f
Improve types to match spec, and add comments from spec
edemaine Oct 28, 2023
e30d7b9
Review convert, file, geom
edemaine Oct 28, 2023
3cd971b
Review tests
edemaine Oct 28, 2023
9a20963
strict: true
edemaine Oct 28, 2023
e7a5069
Fix cube-folded faces vertices order
Mokshit06 Oct 29, 2023
b6f0045
Exclude node internal modules from build
Mokshit06 Oct 29, 2023
5cebad7
Replace most non-null assertions with runtime assertions, fix bugs
edemaine Oct 29, 2023
d680573
compute fold angles and remove duplication
Mokshit06 Nov 4, 2023
c2f02ea
add cube-cp & cube-folded to examples
Mokshit06 Nov 4, 2023
6722264
testing sweep-line algorithm
Mokshit06 Jan 4, 2024
d189a8f
fix typescript issues
Mokshit06 Jan 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/deploy-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy Fold website

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload dist repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Compiled .js
lib
dist

# Logs
*.log
Expand Down
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Compiled .js
lib

# Logs
*.log
npm-debug.log*
Expand Down
2 changes: 1 addition & 1 deletion bin/fold-convert.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('..').file.main()
require('../file').main();
Loading