Created
December 27, 2021 15:47
-
-
Save fjossinet/dc36e981d787430b97a7c3d6ee937d3d to your computer and use it in GitHub Desktop.
Each gist provides now the RNArtist script and an SVG output. You can use the SVG in your favorite vector graphics editor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.github.fjossinet.rnartist.core.* | |
rnartist { | |
ss { | |
bn { | |
value = "(((..(((....))).)))...(((..(((..(((..(((....))).)))...(((..(((....))).)))...((((((..(((....))).)))..(((....))).)))(((..(((....))).)))..))).)))...((((((..(((....))).)))..(((....))).)))(((..(((....))).)))" | |
} | |
} | |
theme { | |
details { | |
value = 3 | |
} | |
details { | |
value = 2 | |
type = "helix" | |
} | |
color { | |
value = "#731dd8" | |
type = "A" | |
} | |
color { | |
value = "#ffffff" | |
type = "a" | |
} | |
color { | |
value = "#48a9a6" | |
type = "U" | |
} | |
color { | |
value = "#ffffff" | |
type = "u" | |
} | |
color { | |
value = "#e4dfda" | |
type = "G" | |
} | |
color { | |
value = "#000000" | |
type = "g" | |
} | |
color { | |
value = "#d4b483" | |
type = "C" | |
} | |
color { | |
value = "#000000" | |
type = "c" | |
} | |
line { | |
type = "N" | |
value = 3.0 | |
} | |
line { | |
type = "interaction_symbol" | |
value = 4.0 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment