Skip to content

Commit cfa724e

Browse files
Update demo assets and scripts: replace demo_dna.png with demo_na.png, modify cartoon.pml, and add new scripts for na.pml and sticks.pml while updating existing demo images.
1 parent ed4295e commit cfa724e

10 files changed

Lines changed: 73 additions & 0 deletions

File tree

assets/demo_cartoon.png

-654 KB
Loading

assets/demo_dna.png

-1.04 MB
Binary file not shown.

assets/demo_na.png

384 KB
Loading

assets/demo_sticks.png

351 KB
Loading

assets/demo_surface.png

-1.17 MB
Loading

scripts/demos/cartoon.pml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# fetch and preprocess the structure
2+
fetch 6hyj, async=0
3+
remove sol.
4+
remove chain B
5+
6+
# set the color scheme
7+
spectrum b, rainbow2, pol.
8+
util.cba(144,"resn SEP",_self=cmd)
9+
10+
# set the view
11+
show spheres, resn SEP
12+
orient
13+
14+
# render & save
15+
ray 1920, 1080
16+
png assets/demo_cartoon.png
17+
quit

scripts/demos/dna.pml

Whitespace-only changes.

scripts/demos/na.pml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# fetch and preprocess the structure
2+
fetch 1ec6, async=0
3+
remove sol.
4+
remove chain B + chain C
5+
6+
# set the color scheme
7+
color grey80, chain A
8+
set cartoon_transparency, 0.5, chain A
9+
spectrum b, blue_white_red, chain D
10+
11+
# set the view
12+
orient
13+
14+
# render & save
15+
ray 1920, 1080
16+
png assets/demo_na.png
17+
quit

scripts/demos/sticks.pml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# fetch and preprocess the structure
2+
fetch 3a7r, async=0
3+
remove sol.
4+
remove resn SO4
5+
6+
# set the color scheme
7+
color grey80, pol.
8+
set cartoon_transparency, 0.8
9+
util.cba(11,"resn LAQ",_self=cmd)
10+
util.cba(5274,"br. resn LAQ a. 4",_self=cmd)
11+
12+
# set the view
13+
show sticks, br. resn LAQ a. 4
14+
orient
15+
zoom br. resn LAQ a. 4
16+
17+
# render & save
18+
ray 1920, 1080
19+
png assets/demo_sticks.png
20+
quit

scripts/demos/surface.pml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# fetch and preprocess the structure
2+
fetch 2ewn, async=0
3+
remove chain B
4+
remove sol.
5+
6+
# set the color scheme
7+
color_deep lightblue, resi 1-61
8+
color_deep palegreen, resi 62-270
9+
color_deep lightpink, resi 271-320
10+
util.cba(144,"resn BTX",_self=cmd)
11+
12+
# set the view
13+
show surface, pol.
14+
orient
15+
16+
# render & save
17+
ray 1920, 1080
18+
png assets/demo_surface.png
19+
quit

0 commit comments

Comments
 (0)