Skip to content

Commit

Permalink
v2.2.0
Browse files Browse the repository at this point in the history
-   make facet outline optional
-   add lattice generation
-   add facet generation
  • Loading branch information
dnanto committed Oct 12, 2024
1 parent fd2dda8 commit 8ef9986
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v2.2.0

- make facet outline optional
- add lattice generation
- add facet generation

# v2.1.3

- revert levo/dextro bug-fix, it was correct before...
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This work implements Caspar-Klug Theory to generate high-quality, vectorized cap

# Run

- Run democapsid (v2.1.3): [https://dnanto.github.io/democapsid/app.html](https://dnanto.github.io/democapsid/app.html).
- Run democapsid (v2.2.0): [https://dnanto.github.io/democapsid/app.html](https://dnanto.github.io/democapsid/app.html).

![screenshot.png](screenshot.png)

Expand Down
2 changes: 1 addition & 1 deletion app.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<section class="layout">
<div class="sidebar">
<fieldset style="text-align: center">
<b>&#11041;&nbsp;<a href="https://github.com/dnanto/democapsid">democapsid v2.1.3</a>&nbsp;&#11041;</b>
<b>&#11041;&nbsp;<a href="https://github.com/dnanto/democapsid">democapsid v2.2.0</a>&nbsp;&#11041;</b>
</fieldset>
<fieldset>
<legend>model</legend>
Expand Down
3 changes: 1 addition & 2 deletions js/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* democapsid v2.1.3 - Render viral capsids in the browser and export SVG.
* democapsid v2.2.0 - Render viral capsids in the browser and export SVG.
* MIT License
* Copyright (c) 2020 - 2024, Daniel Antonio Negrón (dnanto/remaindeer)
*/
Expand Down Expand Up @@ -150,7 +150,6 @@ function update(e) {
const mode = Object.keys(DRAW_MODES).find((e) => PARAMS["mode_" + e]);
try {
const g = DRAW_MODES[mode](PARAMS);
console.log(g);
const [h, k, H, K] = ["h", "k", "H", "K"].map((e) => PARAMS[e]);
msg.children[1].innerText = [
`${mode}[${params_to_tag(PARAMS)}]`,
Expand Down
4 changes: 2 additions & 2 deletions js/democapsid.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
* democapsid v2.1.3 - Render viral capsids in the browser and export SVG.
* democapsid v2.2.0 - Render viral capsids in the browser and export SVG.
* MIT License
* Copyright (c) 2020 - 2024, Daniel Antonio Negrón (dnanto/remaindeer)
*/

const VERSION = "2.1.3";
const VERSION = "2.2.0";

const SQRT3 = Math.sqrt(3);
const SQRT5 = Math.sqrt(5);
Expand Down
4 changes: 2 additions & 2 deletions js/democapsid.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "democapsid",
"version": "2.1.3",
"version": "2.2.0",
"author": "Daniel Antonio Negrón",
"license": "MIT",
"description": "Render viral capsids in the browser and export SVG.",
Expand Down
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8ef9986

Please sign in to comment.