Posted by timlitw@gmail.com on 07/01/06 04:37
creating wind direction and wind speed gauges with php and gd.
I've found and modified to suite my fancy a script that I can call from
an img tag that will make a thermometer and a raingauge. My weather
station uploads html and images it's self but I am putting one across a
300b connection and don't want it uploading the images. I can put the
values that I want to show in the html
so I can so some thing like
<img src=thermometer.php?temp="<!--outtemp-->"> and it will replace
that with <img src=thermometer.php?temp="92">
but I haven't found anything with much googleing that will let me do
<img src=compass.php?dir=SSW or degree=235 and then draw a compass rose
with the arrow pointing the correct direction
and for wind speed I'd like something like s speedometer with about 250
degrees of rotation and it should go up to about 80 mph
If you have seem something like this or a howto that will get a php
with gd newbie going I'd appreciate it.
Thanks.
Navigation:
[Reply to this message]
|