Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #22182
| From | Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: online gravitational field line explorer... |
| Date | 2013-11-25 20:47 +0000 |
| Organization | Home |
| Message-ID | <K0ZkWM4Hd7kSFwAS@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <l6eopc$2qr$1@speranza.aioe.org> <l6ogfd$5h2$1@speranza.aioe.org> <FwpnXI5EDPkSFwA5@invalid.uk.co.demon.merlyn.invalid> <l6trl6$640$1@speranza.aioe.org> |
In comp.lang.javascript message <l6trl6$640$1@speranza.aioe.org>, Sun, 24 Nov 2013 13:38:50, Chris M. Thomasson <no@spam.invalid> posted: >> "Dr J R Stockton" wrote in message >> news:FwpnXI5EDPkSFwA5@invalid.uk.co.demon.merlyn.invalid... > >>> In comp.lang.javascript message >>> <l6ogfd$5h2$1@speranza.aioe.org>, Fri, >>> 22 Nov 2013 12:56:49, Chris M. Thomasson >>> <no@spam.invalid> posted: > > >>> However, I am still allowing for so called "negative" mass points. I know >>> its not allowed within the realm of a gravitational field scheme, >>>but since >>> the end result of rendering seems to be so "related" to negative >>>electrical >>> charges, I have decide to keep it around. I was thinking of reporting >>> an error >>> in the user settings for negative mass points. > > >> You should put a checkbox or a pair of radio-buttons to determine >> whether a negative value is allowed, and also allow the user to >> determine whether legends should be gravitational or electrical or >> magnetic. > >Basically, you have read a part of my mind Dr. Stockton! > >:^) > > >FWIW, and IMVVHO, I prefer checkboxes because an "all checks >cleared" condition can be used to trigger a "unique state of action". >As for radio buttons, lets say two of them, there are only two states. >AFAICT, with checkboxes, there are three states, therefore one can >possibly save some UI real estate here? Basically, a checkbox and a pair of radiobuttons, if initialised appropriately, are equivalent. But, in some cases, one may be easier to label nicely than the other. With radiobuttons, one can initialise to neither/none being on, or, for purists, to a hidden button being on. That, with a bit of code, can force the user to _make_ a choice. >> Have another control to determine whether the total "charge" has to be >> zero. > >You mean have a condition that enforces whether or not all of the >mass points add to one, or zero? I can see this resulting in a data >table that can be used for “probability factors” in various algorithms... The code might as well handle the general case, unless some great difficulty results. For electric charges, one can have a non-zero net charge; but one might want not to. Practical masses always have a positive sum. Magnetic poles always sum to zero, until monopoles are found. With radiobuttons, you can provide an extra option, in which the conditions and legends can be read from, say, a textarea. Then your code can be used for purposes that you know nothing about. -- (c) John Stockton, near London. Mail ?.?.Stockton@physics.org Web <http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, and links.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-18 20:17 -0800
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-18 23:21 -0800
Re: online gravitational field line explorer... "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-11-19 09:36 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-19 12:10 +0200
Re: online gravitational field line explorer... "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-11-19 11:01 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-19 13:33 +0200
Re: online gravitational field line explorer... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-19 07:44 -0800
Re: online gravitational field line explorer... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-19 16:53 +0100
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-19 12:03 -0800
Re: online gravitational field line explorer... John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-19 16:11 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-19 19:21 +0200
Re: online gravitational field line explorer... John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-20 15:48 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-20 19:15 +0200
Re: online gravitational field line explorer... John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-21 20:19 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-21 22:52 +0200
Re: online gravitational field line explorer... John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-22 17:33 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-22 19:50 +0200
Re: online gravitational field line explorer... John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-23 14:17 +0000
Dollar sign in identifier names (was: online gravitational field line explorer...) Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-22 19:49 +0100
Re: online gravitational field line explorer... Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-11-21 22:53 +0100
Re: online gravitational field line explorer... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-21 23:25 +0100
Re: online gravitational field line explorer... John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-22 16:57 +0000
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-22 19:12 +0200
Re: online gravitational field line explorer... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-22 19:00 +0100
Re: online gravitational field line explorer... "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-11-22 21:04 +0200
Re: online gravitational field line explorer... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-22 23:46 +0100
Re: online gravitational field line explorer... Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-11-23 01:21 +0100
Re: online gravitational field line explorer... Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-11-22 18:49 +0100
Re: online gravitational field line explorer... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 20:06 +0100
Re: online gravitational field line explorer... Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-11-22 22:49 +0100
Re: online gravitational field line explorer... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 23:52 +0100
Re: online gravitational field line explorer... Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-11-23 01:40 +0100
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-19 12:05 -0800
Re: online gravitational field line explorer... Tiger Sharktopus <tigersharktopus@gmail.com> - 2013-11-19 15:54 -0800
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-21 06:17 -0800
Re: online gravitational field line explorer... Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-20 19:47 +0000
Re: online gravitational field line explorer... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-20 17:43 -0800
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-21 06:58 -0800
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-22 12:56 -0800
Re: online gravitational field line explorer... Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-23 18:15 +0000
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-24 13:38 -0800
Re: online gravitational field line explorer... Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-25 20:47 +0000
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-25 19:51 -0800
Re: online gravitational field line explorer... Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-11-27 20:36 +0000
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-11-29 20:56 -0800
Re: online gravitational field line explorer... "Chris M. Thomasson" <no@spam.invalid> - 2013-12-01 19:28 -0800
csiph-web