Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bringing Fission into the fold #965

Merged
merged 44 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
07eda5c
First web commit
HunterBarclay Dec 9, 2023
824cdff
Updated READMEs and gitignores
HunterBarclay Dec 10, 2023
dce6450
Integrating and testing Jolt Physics
HunterBarclay Dec 19, 2023
7331c3d
Cube is bouncing like a ball
HunterBarclay Dec 26, 2023
6ebd416
Beginning stage one. Starting to use smart pointers and memory views
HunterBarclay Dec 31, 2023
239a186
Working on assembly handling
HunterBarclay Jan 4, 2024
b38a7cf
Merge branch 'dev' into fission
HunterBarclay Jan 6, 2024
c3b7981
Adding typescript
HunterBarclay Jan 6, 2024
3f9dd63
Box falls and bounces on the ground. ThreeJS is causing problems with…
HunterBarclay Jan 8, 2024
ed39061
Working on managing WASM-based dependencies
HunterBarclay Jan 15, 2024
66d7e76
Initial code for the spike is in place
HunterBarclay Jan 15, 2024
43b86b2
`node_modules` import error
BrandonPacewic Jan 18, 2024
9702cb3
:/
BrandonPacewic Jan 19, 2024
e118a6a
Trying to resolve multibody issues
HunterBarclay Jan 19, 2024
9ac337a
Experiments with ThreeJS and Mirabuf Protobuf. Stress testing in Rapi…
HunterBarclay Jan 26, 2024
155c8ed
Re-enabled rendering for demonstration
HunterBarclay Jan 26, 2024
db0fefb
Working for realsies
BrandonPacewic Jan 29, 2024
c3a2dd1
Weird problems with boxes spawning weird
BrandonPacewic Jan 29, 2024
dedbf2c
Stress test
BrandonPacewic Feb 5, 2024
ec6608a
Added stats
BrandonPacewic Feb 16, 2024
87d7ee5
Constraint troubleshooting
BrandonPacewic Feb 16, 2024
d04bb3c
Removed weird package and made scene prettier
HunterBarclay Feb 16, 2024
4f08e59
Working with 2 hinge constraints. Mass differences are being handled …
HunterBarclay Feb 16, 2024
97f03d3
Switched to fixed time step
HunterBarclay Feb 17, 2024
c1658a7
Finishing up things
BrandonPacewic Feb 18, 2024
df2f9a7
ThreeJS and Physics Manager (#955)
HunterBarclay Feb 21, 2024
9ce10b5
Merge branch 'fission' into branp/jolt
HunterBarclay Feb 21, 2024
d29e2c0
Jolt Physics JS (#956)
HunterBarclay Feb 21, 2024
cf05ff2
Removing unused WASM projects
HunterBarclay Feb 27, 2024
062f11d
Completed integration of new npm package for Jolt and added placehold…
HunterBarclay Feb 29, 2024
4619fab
Working on initial ECS
HunterBarclay Feb 29, 2024
6a9a109
Setup unit tests
HunterBarclay Mar 1, 2024
edd3561
Saving progress on Physics System before migrating to vite
HunterBarclay Mar 4, 2024
3307709
Significantly moved project structure and migrated to vite for better…
HunterBarclay Mar 4, 2024
3936cd6
Updating style and adding unit tests
HunterBarclay Mar 5, 2024
77fe4da
Added random generator and replaced usage of default one in JoltExample
HunterBarclay Mar 5, 2024
baab969
Vite Migration and Project Restructure (#959)
HunterBarclay Mar 5, 2024
22a57e3
Removed web directory and old submodules
HunterBarclay Mar 6, 2024
cf014a1
Working on Convex hull shape support
HunterBarclay Mar 8, 2024
4c51f2b
Added convex hull shape building
HunterBarclay Mar 10, 2024
afd0244
Added body creation
HunterBarclay Mar 11, 2024
8dfabc2
Finishing physics before merging into Julians stuff
HunterBarclay Mar 14, 2024
cbbd389
Barclah/physics/jointing (#960)
HunterBarclay Mar 14, 2024
78d26c7
Dev Update Fission (#964)
HunterBarclay Mar 14, 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
27 changes: 27 additions & 0 deletions fission/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/no-unused-vars': [
'warn', // or "error"
{
'argsIgnorePattern': '^_',
'varsIgnorePattern': '^_',
'caughtErrorsIgnorePattern': '^_'
}
]
},

}
24 changes: 24 additions & 0 deletions fission/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
30 changes: 30 additions & 0 deletions fission/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Fission: Synthesis' web-based robot simulator

## Gettings Started
### Requirements
1. NPM (v10.2.4 recommended)
2. NodeJS (v20.10.0 recommended)
3. TypeScript (v4.8.4 recommended) *Unknown if this is actually required*

### Building
To build, install all dependencies:
```bash
npm i
```
#### Development Server
To run the development server, run the following package script:
```bash
npm run dev
```

#### Production Preview
To preview the production build, run the following package script:
```bash
npm run preview
```

#### Testing
To run unit tests, run the following package script:
```bash
npm run test
```
13 changes: 13 additions & 0 deletions fission/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading
Loading