Stories
Slash Boxes
Comments

SoylentNews is people

Submission Preview

Link to Story

How to Interpret Genesis One as Code?

Accepted submission by Anonymous Coward at 2015-08-13 09:50:17
Answers

I had an interesting idea the other day that chapter one of Genesis didn't make much sense physically, but could as computer code. I wrote an R script that does accomplish this to some extent. The end result I got was impressive visually, but my code was not that faithful to the instructions. Here is how I interpreted the first two verses:


###In the beginning God created the heavens and the earth.
#install.packages("sphereplot")
require(sphereplot)

##Create Heavens
rgl.sphgrid(radius = 5, col.long="", col.lat="",
                        deggap = 15, longtype = "D", add = T, radaxis=F)

http://postimg.org/image/3wvx1cvpd/ [postimg.org]


##Create Earth
rgl.sphgrid(radius = 1, col.long='', col.lat='',
                        deggap = 15, longtype = "D",add = T, radaxis=F)

http://postimg.org/image/he6w4kx19/ [postimg.org]


##Now the earth was formless and empty,


##darkness was over the surface of the deep,
bg3d(color=c("darkslategray3","Black"),
          fogtype="exp2", sphere=TRUE, back="fill")

http://postimg.org/image/j3wikf68f/ [postimg.org]


##and the Spirit of God was hovering over the waters.
view3d(phi=90, theta=180, zoom=.55)

http://postimg.org/image/9aazwxjkd/ [postimg.org]

Does Soylent have any other ideas on how to interpret these two verses? More verses to come if there is any interest.


Original Submission