Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / high resolution function graph drawer

Author
Message
mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 6th Mar 2004 00:56 Edited at: 6th Mar 2004 17:18
this code asks you to set the verticle scale, the horizontal scale
it then says that it is in the form "y=ax^b+cx+d" and asks you to enter a, b, c, and d
it the draws the draph full screen at 1280x1024x16 with scaled axes, when you change c to other than 0 it does something wrong so until this is fixed please leave c as 0, everything else works as far as i know, please use the scales requested, some outside it may work but you may encounter problems.

if anyone has an explanation for the strange occurance when c is changed then please tell me. also i have problems if i have both of the scales above 1, if one scale is 1 and te other is within it's range it's fine but not if both are changed :s

edit:fixed a scale problem, still has problem with c and if both scales are changed


this now has a grid, read from the top of the numbers on the y axis and the left of the x axis

http://www.larinar.tk
AMD athlon thoroughbred 2200, 512Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 7th Mar 2004 01:05
ummmmmmmmm

Badger badger badger badger badger
Mushroom mushroom
mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 7th Mar 2004 20:07 Edited at: 7th Mar 2004 20:25
<sarcasm>^that was useful</sarcasm>

edit: this has only been tested using dbpro and requires te screen to be able to display at 1280x1024

http://www.larinar.tk
AMD athlon thoroughbred 2200, 512Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
Code Ninja
20
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 13th Mar 2004 19:54
haha! dude, HTML... funny...

DragnBreth
of
Dragael Software
Cyberflame
20
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 27th Mar 2004 19:10
GAH! Code Ninja! You stole my email adress... codeninja@charter.net

So what does this code do?

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 30th Mar 2004 18:48
you could try it and find out

it draws the graph of the mathimatical function you enter

http://www.larinar.tk
AMD athlon thoroughbred 2200, 512Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.

Login to post a reply

Server time is: 2024-04-19 05:35:56
Your offset time is: 2024-04-19 05:35:56