aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.jekyll-metadatabin44635 -> 44635 bytes
-rw-r--r--_posts/2019-01-03-encoding-binary-data-into-dna-sequence.md8
2 files changed, 4 insertions, 4 deletions
diff --git a/.jekyll-metadata b/.jekyll-metadata
index c9f9d89..abba7a7 100644
--- a/.jekyll-metadata
+++ b/.jekyll-metadata
Binary files differ
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 3b7664d..1052223 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
@@ -206,10 +206,10 @@ begin
206 while not eof(f) do 206 while not eof(f) do
207 c char := buffer[0] { Read 1 char from buffer } 207 c char := buffer[0] { Read 1 char from buffer }
208 case c of 208 case c of
209 'A': color := RGB{0, 0, 255} { Blue } 209 'A': color := RGB(0, 0, 255) { Blue }
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], color) 213 drawRect(i, [x, y], color)
214 save(i) { Save PNG image } 214 save(i) { Save PNG image }
215end 215end