Skip to content

Commit

Permalink
add videos and fix step size hang example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryichando committed Dec 22, 2024
1 parent 8cacc50 commit 0e6acb2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ session.export_animation(f"export/{session.info.name}")

|||||
|---|---|---|---|
|woven|stack|trampoline|needle|
|woven|[stack](./examples/stack.ipynb) [[Video]](https://drive.google.com/file/d/1BAGtVaVJhAYWFFZStmKEBTA1u0bRnKro/view?usp=sharing)|[trampoline](./examples/trampoline.ipynb) [[Video]](https://drive.google.com/file/d/1MZBwTiWdTsaHbn7rhIrJVdMeMnKmnut-/view?usp=sharing)|[needle](./examples/needle.ipynb) [[Video]](https://drive.google.com/file/d/1DyyM3ER0liq63x24I2TJ7JVK3_2EJDc6/view?usp=sharing)|
|![](./asset/image/catalogue/woven.mp4.gif)|![](./asset/image/catalogue/stack.mp4.gif)|![](./asset/image/catalogue/trampoline.mp4.gif)|![](./asset/image/catalogue/needle.mp4.gif)|
|cards|codim|hang|trapped|
|[cards](./examples/cards.ipynb) [[Video]](https://drive.google.com/file/d/1PMdDnlyCsjinbvICKph_0UcXUfUvvUmZ/view?usp=sharing)|codim|[hang](./examples/hang.ipynb) [[Video]](https://drive.google.com/file/d/1gIjwaRrEifH0FQnZ8HO8Q9-f9FF5ZivG/view?usp=sharing)|[trapped](./examples/trapped.ipynb)|
|![](./asset/image/catalogue/cards.mp4.gif)|![](./asset/image/catalogue/codim.mp4.gif)|![](./asset/image/catalogue/hang.mp4.gif)|![](./asset/image/catalogue/trapped.mp4.gif)|
|domino|noodle|drape|quintuple|
|domino|noodle|[drape](./examples/drape.ipynb) [[Video]](https://drive.google.com/file/d/1PGL3tbA451VhHOViSJJNNdQvmUpg7bQd/view?usp=sharing)|quintuple|
|![](./asset/image/catalogue/domino.mp4.gif)|![](./asset/image/catalogue/noodle.mp4.gif)|![](./asset/image/catalogue/drape.mp4.gif)|![](./asset/image/catalogue/quintupletwist.mp4.gif)|
|ribbon|curtain|fishingknot|friction|
|ribbon|[curtain](./examples/curtain.ipynb) [[Video]](https://drive.google.com/file/d/1c9W3YAFAS5r9m9i7sZHsFu8h98C8yy1T/view?usp=sharing)|fishingknot|[friction](./examples/friction.ipynb) [[Video]](https://drive.google.com/file/d/12WGdfDTFIwCT0UFGEZzfmQreM6WSSHet/view?usp=sharing)|
|![](./asset/image/catalogue/ribbon.mp4.gif)|![](./asset/image/catalogue/curtain.mp4.gif)|![](./asset/image/catalogue/fishingknot.mp4.gif)|![](./asset/image/catalogue/friction-armadillo.mp4.gif)|

At the moment, not all examples are ready yet, but they will be added/updated one by one.
Expand Down Expand Up @@ -332,10 +332,15 @@ docker rm $MY_CONTAINER_NAME
## 📡 Deploying on Cloud Services
Our contact solver is designed for heavy use in cloud services ☁️, which supports on-demand flexible scalability 🔄 and reduces hardware investment costs 💰.
This has been challenging because the computational performance of CPUs/GPUs designed for data centers 🖥️ is far behind that of those targeted for consumer use 🏠.
Our contact solver is designed for heavy use in cloud services ☁️, enabling us to:
With our scalable contact solver framework 🧩 and purely web-based frontends 🌐, this limitation is reduced. Our solver also runs on an NVIDIA L4 🖱️, a data-center designed GPU that offers reasonable pricing 💲, delivering both satisfactory performance 💪 and practical scalability 📈.
- Quickly deploy testing environments 🚀 and delete them when not in use, saving costs 💰.
- Scale as needed based on demand 📈. For example, you can create multiple instances to perform numerous tasks before a specific deadline ⏰.
- Design a fully automated pipeline 🔄 for trial-and-error iterations without human involvement 🤖.
- Allow anyone with an internet connection 🌍 to try our solver, even on a smartphone 📱 or tablet 🖥️.
This is all made possible with our purely web-based frontends 🌐 and scalable capability 🧩.
Our solver also runs on the NVIDIA L4 🖱️, a data-center-targeted GPU 🖥️ that offers reasonable pricing 💲, delivering both practical performance 💪 and scalability 📊 without investing in expensive hardware 💻.
### 📦 Deploying on [vast.ai](https://vast.ai)
Expand Down Expand Up @@ -428,9 +433,10 @@ We provide one-liners to install [NeoVim](https://neovim.io/) and other handy to
- [🐟 fish shell](https://fishshell.com/): `python3 warmup.py fish`
- [⌨️ oh-my-zsh](https://ohmyz.sh/): `python3 warmup.py ohmyzsh`

Of course, if you need a specific version to be installed, simply do so within the container.
If you are a careful person (and even though you are not), we strongly encourage that you 👀 scout `warmup.py` before you do this for security reasons.
It's not lengthy code.
Nevertheless, for security reasons, we strongly encourage you 👀 review `warmup.py` before running these commands.
The code is not lengthy.
If possible, we also strongly suggest following the official instructions to install them.
These commands exist because this is exactly how we initiate our development environment for all new containers.

Once you have a [💤 LazyVim](http://www.lazyvim.org/) environment installed in the container, turn on the `clangd` and `rust` plugins.

Expand Down
9 changes: 2 additions & 7 deletions articles/cloud.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
## 📡 CLI Instructions on Cloud Services

This article summarizes how to deploy our solver on major cloud platforms using the provided CLI. With this CLI, we can:

- Quickly deploy a testing environment and delete it when not in use, saving costs.

- Scale as needed based on demand. For example, you can create multiple instances to perform numerous tasks before a specific deadline.

- Design a fully automated pipeline to enable trial-and-error iterations without human involvement.
This article summarizes how to deploy our solver on major cloud platforms using the provided CLI.
The CLI enables faster and more consistent creation and deletion of instances. It can also be extended to create a cleaner UI that facilitates instance management.

### 📦 [vast.ai](https://vast.ai)

Expand Down
2 changes: 1 addition & 1 deletion examples/hang.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"source": [
"param = app.session.param()\n",
"param.set(\"strain-limit-eps\", 0.005).set(\"strain-limit-tau\", 0.005)\n",
"param.set(\"dt\", 0.01).set(\"frames\",200)\n",
"param.set(\"frames\",200)\n",
"param.dyn(\"gravity\").time(1).hold().time(1.1).change(9.8).time(2.0).change(-9.8)\n",
"\n",
"session = app.session.create(\"two-pins-hang\").init(fixed)\n",
Expand Down

0 comments on commit 0e6acb2

Please sign in to comment.