Skip to content

Instantly share code, notes, and snippets.

@fjossinet
Created December 27, 2021 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjossinet/0833896bd7c0ff20658de3a5b908828f to your computer and use it in GitHub Desktop.
Save fjossinet/0833896bd7c0ff20658de3a5b908828f to your computer and use it in GitHub Desktop.
I have a little bit more than 750 followers on twitter. Thanx!
import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
bn {
value = "((...((((((((.((((...)))).((((((((....((((((((((..))))))))))..)))))))).((...))..))))))))....))................((...(((((....(((((((.....(((((.....(((((((.....(((((.......))))).....))))))).....))))).....)))))))...)))))....))...........................(((((((((((((((((((((....(((((((..(((((((((((((((((...(((.......)))...)))))))))))))))))...))))))).....)))))))))))))))))))))"
}
}
theme {
details {
value = 5
}
color {
value = "#2f4858"
type = "A"
}
color {
value = "#ffffff"
type = "a"
}
color {
value = "#33658a"
type = "U"
}
color {
value = "#ffffff"
type = "u"
}
color {
value = "#86bbd8"
type = "G"
}
color {
value = "#ffffff"
type = "g"
}
color {
value = "#f6ae2d"
type = "C"
}
color {
value = "#000000"
type = "c"
}
}
layout {
junction {
type = 2
location {
2 to 6
88 to 93
}
out_ids = "nne"
}
junction {
type = 4
location {
13 to 15
25 to 27
70 to 72
78 to 81
}
out_ids = "wsw nnw ene"
}
junction {
type = 2
location {
34 to 39
60 to 63
}
out_ids = "w"
}
junction {
type = 2
location {
112 to 116
217 to 222
}
out_ids = "e"
}
junction {
type = 2
location {
120 to 125
209 to 213
}
out_ids = "w"
}
junction {
type = 2
location {
131 to 137
197 to 203
}
out_ids = "w"
}
junction {
type = 2
location {
141 to 147
187 to 193
}
out_ids = "e"
}
junction {
type = 2
location {
153 to 159
175 to 181
}
out_ids = "e"
}
junction {
type = 2
location {
271 to 276
347 to 353
}
out_ids = "w"
}
junction {
type = 2
location {
282 to 285
337 to 341
}
out_ids = "w"
}
junction {
type = 2
location {
301 to 305
317 to 321
}
out_ids = "w"
}
}
}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment