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 looorg on Friday August 14 2015, @01:45PM

    by looorg (578) on Friday August 14 2015, @01:45PM (#222815)

    I was expecting more of Syntax Error, "does not compute" and that the entire thing would just end with one giant buffer overflow.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2, Touché) by Ethanol-fueled on Friday August 14 2015, @03:43PM

    by Ethanol-fueled (2792) on Friday August 14 2015, @03:43PM (#222872) Homepage

    Something with syntax errors may not compile, but programs riddled with logic errors will still compile.

    The very same species that wrote the Bible is now writing programs to run autonomous killing machines.

    • (Score: 0) by Anonymous Coward on Friday August 14 2015, @04:14PM

      by Anonymous Coward on Friday August 14 2015, @04:14PM (#222882)

      So ... which role does the "creator" play in this mindfuck? Is it the programmer or the compiler? And how can it claim to be omnipotent if it isn't both? And why does it need code if it is omnipotent?

      • (Score: 0) by Anonymous Coward on Friday August 14 2015, @04:32PM

        by Anonymous Coward on Friday August 14 2015, @04:32PM (#222890)

        Where does Genesis one claim god is omnipotent?

      • (Score: 1) by thegothicguardian on Friday August 14 2015, @04:49PM

        by thegothicguardian (425) on Friday August 14 2015, @04:49PM (#222896)

        And why does it need code if it is omnipotent?

        Omnipotent in the sense that it has detailed log files and a known behavior tree.