Stories
Slash Boxes
Comments

SoylentNews is people

posted by LaminatorX on Friday August 14 2015, @01:17PM   Printer-friendly
from the Deus-ex-Machina dept.

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/


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

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

[ED NOTE: These links go to the images output by his code, which is neat, but the image host has some ads that, while not pornographic, may not be safe for work in all settings. Use your judgement. -LaminatorX]


##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/


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

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

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


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by richtopia on Friday August 14 2015, @05:47PM

    by richtopia (3160) on Friday August 14 2015, @05:47PM (#222919) Homepage Journal

    Treating Genesis as a scholarly work, typically it is accepted that there were two authours contributing (compiled later, they weren't writing it over beers). They are known as the Priestly and NonPriestly authours. The Priestly author's patterns lends itself to programming well, with some of these characteristics exhibited:

    1. Dates and passages of time are well documented
    2. Structure exists in writing style, with one of the best example being the repetitive nature of the 7 days of creation
    3. God is always capitalized (actually different words in Hebrew between god and God) and does not make mistakes

    Now turning Adam and Eve story into a program.... well it might work well if you depend on some evolutionary algorithms.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2