Links:
view my trainer profile on TrainerExchange.com Listed on: Dmegs Web Directory

PHP video tutorials

phpmath.com
phpclasses.org
Canadian Mathematical Society
camel.math.ca

Algebra.com
Blogs:
rationalcode.com
Silverlight Playground

Technology:
silverlight.net
XNA Creators Club Online
php
asp.net


Visual Representation Of The Relativity Theory Online!

by Administrator 1. August 2009 14:35

Hi all,

Here, specificly I want to introduce one of my programs which visually represents the Relativity theory...

You enter the initial length, mass and time of the object and the speed...it calculates the length, mass and time in that speed with a downloadable visual representation.

you can try it here:
http://www.dreamstube.com/php/relativity/

enjoy and please let me know about your feedback.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

PHP | Physics

Image To HTML - Convert Image To Text - Convert Your Image To Pure HTML In Seconds!

by Administrator 31. July 2009 13:54

You can use this program to convert an Image to pure HTML. The generated HTML file can be downloaded as well.

I load the image in php and read it pixel by pixel and based on the pixel RGB value generate the appropriate HTML tag. To save the server bandwidth and cpu time, I limited the image type to GIF and Jpeg and the image dimentions to 400 by 300 pixels and the image size to 50KB.

You can try this cool application here. I hope you enjoy it.

PHP SWF Library - Flash & PHP integration

by Administrator 30. July 2009 07:43

If you are a flash/php programmer, you might be interested in this link:

http://us2.php.net/manual/en/book.swf.php

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Flash/ActionScript | PHP

Bezier Curves In PHP!

by Administrator 24. March 2009 06:58

If you've worked with graphic softwares like Freehand, you should be familar with the Bezier Curve. 

According to WiKipedia, In the mathematical field of numerical analysis, a Bézier curve is a parametric curve important in computer graphics and related fields. Generalizations of Bézier curves to higher dimensions are called Bézier surfaces, of which the Bézier triangle is a special case.

I used GD graphic library and eval() fucntion is PHP to develop the Bezier class. This class takes the coordinates of 4 points needed for a bezier curve and draws it in an image. This image can be saved like any other web image. You can draw your own Curve by clicking on the following sample image.

The class code can be downloaded from my page in phpclasses.org.

Currently rated 3.0 by 3 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Algorithms and Data Structures | Mathematics | PHP

Online PHP Calendar

by Administrator 24. March 2009 06:10

I developed this class long time ago just for fun. It outputs the calendar of a given month and year including future dates as an HTML table.

The width of the calendar table is also configurable.
Leap years are handled correctly. Try it by clicking on the sample images.

 

Currently rated 2.0 by 1 people

  • Currently 2/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Algorithms and Data Structures | PHP

Koch Fractal, This time in PHP

by Administrator 23. March 2009 14:22

Try it here! 

According to Wikipedia, A fractal is generally "a rough or fragmented geometric shape that can be split into parts, each of which is (at least approximately) a reduced-size copy of the whole,"[1] a property called self-similarity.  

Recently I added a post about a Silverlight application to draw Koch Curves. I re-programmed it in PHP using the PHP GD image library. The output is a Jpeg and can be saved like a normal image. You can try the application by clicking on the sample image. The only input you need to provide is the number of iterations (levels) which can be selected from the given dropdown.

You can also download the PHP code from phpclasses.org. Click on the sample image to try it yourself.

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Algorithms and Data Structures | Mathematics | PHP

Online Spell Checker

by Administrator 6. March 2009 10:40

The applications that let the users compose text, for instance, of articles or e-mail messages, can benefit of text spelling features as they let the users review and eventually fix spelling mistakes before submitting the final version of the texts that are composed.

PHP comes with text spelling extensions like pspell but in some installations these extensions are not available.

This class provides a text spelling solution completely based on PHP code that only uses basic functions

The class makes it possible to provide text spelling features without depending on the availability of PHP spelling extensions.

You can try it here. The code is also downloadable here. I won the December 2004 phpclasses.org prize for this application.

   

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , ,

Algorithms and Data Structures | PHP

PHP Root finder!

by Administrator 6. March 2009 10:34

This cool PHP script takes an expression, f(x) and calculates all the roots between a start and end point. It also provides a nice graphical output which can be saved.

Here is  a sample output:

 

Click to try

You can try it yourself here. The code is downloadable from phpclasses.org.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Algorithms and Data Structures | Mathematics | PHP

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

Reza Salehi
Microsoft Certified Trainer

Microsoft Certified Professional Developer

Microsoft certiied Technology Specialist (ASP.NET 2.0)

About Me

My name is Reza Salehi.

I started this blog to share my ideas, programs and interesting programming notes with you. Visitors who are interested in mathematics, physics and astronomy may find my blog interesting.

I live in Toronto, Canada and work as a Senior Developer and Microsoft Certified Trainer.

You can take a look at my online Microsoft web page  here.

Online business card.

RecentComments

Comment RSS