MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Unusual use of mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17437] Unusual use of mathematica
  • From: "Barthelet, Luc" <lucb at ea.com>
  • Date: Sun, 9 May 1999 04:43:48 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I have been running a web site that behaves like a database with the help of
mathematica.

You can check it out at

http://www.simcity.com/exchange/exchange.html

Users are sending their cities by email. and an automatic process in SimCity
enables us to create the thumbnails views of the cities as BMP

I then use Mathematica to build a database structure for the cities, extract
the zoning losange and other info from the file and making a jpg out of it.
It also automatically creates JPG out of the BMPs.

It then uses template to generate 48 html files. This number is variable and
will increase automatically with a larger database.
It mostly uses StringReplace to do this.

The 48 files represent about 15 different ways to extract information from
the database, from top 10 and worst 10 list, to complete lists for cities
and terrain.

The flexibility of mathematica has made it very easy to achive two things:
1- huge number of iterations to make the site interesting
2- streamlining the daily update process

I am currently evaluating the use of sendmail to automatically email the
participant of the position of their city in the top 10 lists.

hope you find that fun,

Luc Barthelet
General Manager
Maxis





  • Prev by Date: Split
  • Next by Date: Making large movies
  • Previous by thread: Re: Split
  • Next by thread: Making large movies