Showing posts with label math. Show all posts
Showing posts with label math. Show all posts

Saturday, March 2, 2013

Raspberry Pi Minecraft python api observations

playing with the mincraft-pi and python.

the addition of the api allows you to build structures using blocks that are not usually allowed:

a few fun items I found after a few calls ...


  • lava flows down to the ground if a block of lava placed in air;  you end up with a glowing tower of lava
  • lava turns to stone if you drop lava into water, or if water is dropped onto lava
  • water flows like jello, if you try to create structures above ground of water blocks, they will flow down and ooze.
  • water flows faster than lava; you can drop lava on top of a hill, then later drop water...


[inserting screen shots here, simple shots seem problematic, using phone camera]





result of loop to place an instance of all blocks; the lava and water flow over the side
did place a solid block below, as physics will cause some blocks to fall out of the sky (SAND,GRAVEL)


some geek math ... exploring the lower section of a Mandelbrot set





Sunday, August 12, 2012

Graphic Novel: Logicomix

Recently read Logicomix;
http://www.logicomix.com
quick notes:
-prequel to http://en.wikipedia.org/wiki/G%C3%B6del,_Escher,_Bach ?

-would have loved to see it when I was an undergrad, before reading above

-does it hit it's target?  unsure if someone unfamiliar with the subject find it an interesting read.
-would their understanding and enjoyment be complete and consistent? ;)

-Very colourful and easy to read/view. Not stark and black and white;  more realistic fine drawings;

almost like paintings?

was a pleasure to read.


Tuesday, February 15, 2011

Sagemath valentine plot


only a day late ;)


def f(x,y):
return x^2 + (y-(x^2)^(1/3))^2

P2=contour_plot(f,(-1,1),(-1,1.5),cmap='Reds_r')

P2.show()

Monday, February 7, 2011

sage math


new toy of the week:

Sage Math: http://www.sagemath.org

if setup notebook as a server, can view graphs on wii !
(java does not work, but using tachyon output is great!)