diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-01-10 02:44:02 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-01-10 02:44:02 +0100 |
| commit | b4059b34b04c1ea501951a1171e844bad521c53d (patch) | |
| tree | a7d666b3b67c21ca7ee1a3ea8480f34981e22a1f /_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |
| parent | a2243ed7cae795057a5d8624d15212a0eb15f376 (diff) | |
| download | mitjafelicijan.com-b4059b34b04c1ea501951a1171e844bad521c53d.tar.gz | |
added algorithm for dna to png
Diffstat (limited to '_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md')
| -rw-r--r-- | _posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index 0371359..3b7664d 100644 --- a/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |||
| @@ -210,7 +210,7 @@ begin | |||
| 210 | 'G': color := RGB{0, 100, 0} { Green } | 210 | 'G': color := RGB{0, 100, 0} { Green } |
| 211 | 'C': color := RGB{255, 0, 0} { Red } | 211 | 'C': color := RGB{255, 0, 0} { Red } |
| 212 | 'T': color := RGB{255, 255, 0} { Yellow } | 212 | 'T': color := RGB{255, 255, 0} { Yellow } |
| 213 | drawRect(i, x, y, x_offset, y_offset, color) | 213 | drawRect(i, [x, y], color) |
| 214 | save(i) { Save PNG image } | 214 | save(i) { Save PNG image } |
| 215 | end | 215 | end |
| 216 | ``` | 216 | ``` |
