Einstein or Monroe?

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Einstein or Monroe?

Post by netmaestro »

In my web wanderings this morning I came across this cool pic. It's a mashup of Albert Einstein and Marilyn Monroe. If you view the picture from a normal eye-to-screen distance of 18 to 24 inches it's all Albert. But get up, stand back and look at it from 8 or 10 feet away and all you can see is a smiling Marilyn Monroe!

Image
BERESHEIT
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: Einstein or Monroe?

Post by luis »

netmaestro wrote:But get up, stand back and look at it from 8 or 10 feet away and all you can see is a smiling Marilyn Monroe!
Or stay there but look at the pic with the eyes almost closed... :)
"Have you tried turning it off and on again ?"
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Re: Einstein or Monroe?

Post by Joakim Christiansen »

Does this mean that I am gay?
I like logic, hence I dislike humans but love computers.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Einstein or Monroe?

Post by netmaestro »

I was hoping nobody would figure out it was an orientation test!
BERESHEIT
User avatar
skywalk
Addict
Addict
Posts: 4242
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Einstein or Monroe?

Post by skywalk »

haha, I see Marilyn everywhere.
If you stand back but blink very fast.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Einstein or Monroe?

Post by idle »

Think I need a psychiatrist, in between it looks like Barry Manilow!
Windows 11, Manjaro, Raspberry Pi OS
Image
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: Einstein or Monroe?

Post by applePi »

save the picture as "einsteinmonroe.bmp" . texturing a plane with it, and looking to the picture from the side, when we press the backward arrow until the area between the mustaches and the mouth gets fuzzy, we see monroe smiling , like this
Image

but the effect is better when we go gradually from einstein to monroe by walking away like pressing the back arrow in this program, also works by looking from the front.

Code: Select all

#CameraSpeed = 0.1
Enumeration
   
   #texture
    #material
   #plane
   
   #camera
   
 EndEnumeration

Quit.b = #False
  

ExamineDesktops()
If OpenWindow(0, 0, 0, DesktopWidth(0), DesktopHeight(0), "use arrow keys and mouse to rotate/move the camera ... A/Z for up and down ", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  
;Initialize environment
InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()
OpenWindowedScreen(WindowID(0), 0, 0, DesktopWidth(0), DesktopHeight(0)-5, 0, 0, 0)

SetFrameRate(60)

Add3DArchive(#PB_Compiler_Home + "Examples/3D/Data/Textures", #PB_3DArchive_FileSystem)
Add3DArchive(".", #PB_3DArchive_FileSystem)

CreateMaterial(#material, LoadTexture(#texture, "einsteinmonroe.bmp"))
MaterialCullingMode(#material, #PB_Material_NoCulling)
CreatePlane(#plane, 10*209.5/207, 10, 1, 1, 1, 1)
CreateEntity (#plane, MeshID(#plane), MaterialID(#material))
RotateEntity(#plane,90,0,180)
CreateLight(0,RGB(255,255,255),-100,40,30)
AmbientColor(RGB(100,100,100))

CreateCamera(#camera, 0, 0, 100, 100)
MoveCamera(#camera, 5.745074749 , -0.7322137356 , 1.8539280891)
CameraLookAt(#camera, 0, -2.5, 0)

EndIf

SkyDome("clouds.jpg", 100) ;for blue color background

 
Repeat
  Event = WindowEvent()
  If ExamineMouse()
        MouseX = -MouseDeltaX() * #CameraSpeed * 1
        MouseY = -MouseDeltaY() * #CameraSpeed * 1
      EndIf
  ShowCursor_(0)
    
; use arrow keys to rotate and move in/out
  ExamineKeyboard()
      
        If KeyboardPushed(#PB_Key_Left)
          KeyX.f = -#CameraSpeed
        ElseIf KeyboardPushed(#PB_Key_Right)
          KeyX.f = #CameraSpeed
        Else
          KeyX.f = 0
        EndIf
        
        If KeyboardPushed(#PB_Key_Up)
          KeyY.f = -#CameraSpeed
        ElseIf KeyboardPushed(#PB_Key_Down)
          KeyY.f = #CameraSpeed
        Else
          KeyY.f = 0
        EndIf
 
  If KeyboardPushed(#PB_Key_Z)
       MoveCamera  (#camera, KeyX, -0.2, KeyY)
     ElseIf KeyboardPushed(#PB_Key_A)
       MoveCamera  (#camera, KeyX, -(-0.2), KeyY)
  EndIf
     
             
  RotateCamera(#camera, MouseY, MouseX, 0, #PB_Relative)
  MoveCamera  (#camera, KeyX, 0, KeyY)
  
  RenderWorld()
   FlipBuffers()

  ExamineKeyboard()
   If KeyboardPushed(#PB_Key_Escape)
      Quit = #True
   EndIf
       
Until Quit = #True Or Event = #PB_Event_CloseWindow
User avatar
Michael Vogel
Addict
Addict
Posts: 2819
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Einstein or Monroe?

Post by Michael Vogel »

These hybrid photos are nice, would be interesting to write a program to create suche images!

Here are some other examples, which have been created the same year (2006) like Marilyn+Albert:
https://sites.google.com/site/mrvogel/F ... 122709.jpg
https://sites.google.com/site/mrvogel/F ... 122614.jpg
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Einstein or Monroe?

Post by Dude »

Making a 10x10 pixel mosaic out of it, reveals Marilyn too:

Image
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Einstein or Monroe?

Post by Dude »

Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: Einstein or Monroe?

Post by Num3 »

I just see the Hoff !!! 8) :shock:
Post Reply