Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #34040
| From | "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> |
|---|---|
| Newsgroups | sci.physics, comp.lang.javascript |
| Subject | Re: pre-alpha vector field DLA, with point-and-click attractors... |
| Date | 2017-09-27 13:19 -0700 |
| Organization | n/a |
| Message-ID | <oqh155$so9$1@dont-email.me> (permalink) |
| References | <oqa2aa$le4$1@dont-email.me> <oqcipr$avm$1@shakotay.alphanet.ch> |
Cross-posted to 2 groups.
On 9/25/2017 8:50 PM, Une Bévue wrote: > Le 25/09/2017 à 06:56, Chris M. Thomasson a écrit : >> >> in the following pre-alpha highly experimental program I created: >> >> http://funwithfractals.atspace.cc/ct_fdla_anime_dynamic_test >> >> The code can be streamlined quite a bit, but it should go ahead and >> work for now. > > it runs on Safari Developer Preview > Thank you for giving it a go Une! I can make it better wrt a different way of programming. This tends to overwhelm the cpu with computation and the use of the garbage collector. Wrt GC, the JavaScript engines tend to create new object for every array passed to a function. For instance, I can pass two 3d points and a radius like this wrt the style of my current code: foo([-1, 0, 0], [1, 0, 0], 1); Each array index is mapped to (a[0] = x), (a[1] = y) and (a[2] = z). This will create two damn arrays for each call! And those go into the GC. Read here for some further information: https://groups.google.com/d/topic/comp.lang.javascript/dgakiMzhgv0/discussion Also, it can burn CPU because DLA points never die off! I need to allow them to die off and leave the per-field-line segment vector field summation. The more points, the slower it goes. I wonder if changing the color of the field lines to grey, or some color that designates turning "brown/yellow", or the interpolation of the death cycle wrt specific colors. The act of death would take pressure off the core field logic wrt reducing iterations.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-24 21:56 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... Julio Di Egidio <julio@diegidio.name> - 2017-09-24 22:36 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-24 22:44 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... Julio Di Egidio <julio@diegidio.name> - 2017-09-24 22:54 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-25 12:31 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... Julio Di Egidio <julio@diegidio.name> - 2017-09-26 09:05 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-28 21:24 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... Julio Di Egidio <julio@diegidio.name> - 2017-09-29 06:47 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-25 12:39 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-09-25 22:00 +0200
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-25 13:25 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-09-25 22:36 +0200
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-27 13:38 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... Une Bévue <unbewusst.sein@fai.invalid> - 2017-09-26 05:50 +0200
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-09-27 13:19 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-09-30 08:41 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid> - 2017-10-04 20:48 -0700
Re: pre-alpha vector field DLA, with point-and-click attractors... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-10-05 08:25 -0700
csiph-web