Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #34037

Re: pre-alpha vector field DLA, with point-and-click attractors...

Newsgroups comp.lang.javascript
Date 2017-09-26 09:05 -0700
References <oqa2aa$le4$1@dont-email.me> <4ce06b6b-bc92-4d94-9eec-54117fb21dff@googlegroups.com> <oqa54l$3d4$1@dont-email.me> <61212ad2-f3ca-4218-a90d-b0adbcce23d0@googlegroups.com> <oqbli8$csg$1@dont-email.me>
Message-ID <2f88527d-16f0-433a-9d5b-56ff2b7e2cef@googlegroups.com> (permalink)
Subject Re: pre-alpha vector field DLA, with point-and-click attractors...
From Julio Di Egidio <julio@diegidio.name>

Show all headers | View raw


On Monday, September 25, 2017 at 9:31:33 PM UTC+2, Chris M. Thomasson wrote:
> On 9/24/2017 10:54 PM, Julio Di Egidio wrote:
> > On Monday, September 25, 2017 at 7:45:00 AM UTC+2, Chris M. Thomasson wrote:
> >> On 9/24/2017 10:36 PM, Julio Di Egidio wrote:
> >>> On Monday, September 25, 2017 at 6:56:52 AM UTC+2, Chris M. Thomasson wrote:
> > <snip>
> >>>> Can anybody get it to work? Thanks.
> >>>
> >>> What do you mean?  Doesn't it work already?
> >>
> >> I have not tried it out in all of the browsers yet. Still need to try
> >> SeaMonkey. It works in FireFox, so it should work there. Also, need to
> >> try it in Opera. Afaict, it should work fine.
> > 
> > Well, it's hard to fix or even improve if you do not give the exact
> > mathematical formula (unless you already have and I am missing it).
> 
> Working on that. I need to convert the following core logic into a 
> mathematical formula:
> 
> http://funwithfractals.atspace.cc/ct_fdla_anime_dynamic_test/ct_field.js
> 
> Think I can get it down to one or two iterative Sigma functions.
> 
> http://funwithfractals.atspace.cc/ct_fdla_anime_dynamic_test/ct_fdla.js
> 
> This one is going to be more difficult to turn into pure mathematical 
> formula.

Sorry, I was a bit quick, but I actually meant that we need a specification
to work with.  That is not usually as simple as just a mathematical formula,
anyway I didn't meant to make the conversation too heavy, either.

That said, I will look into the code when I find some time: might be
already correct mathematically, but it is very heavy on the CPU.

> > Anyway, it's running in my (up to date) Google Chrome, the only weird thing
> > I have noticed (running it for few minutes only) is that it seems to get
> > stuck at the points created manually, i.e. it seems to almost stop growing
> > as soon as I add points: but maybe I should have waited for longer?  Again,
> > I just cannot say what exact outcome is expected.
> 
> Can you please let it run for around a minute then click a couple of 
> points in the square, let it run for around 10 more minutes, take a 
> simple screenshot and post the image? The points you clicked should have 
> clusters by then. This would really help me out!

Sorry again, it seems to work fine, actually.  Here is the screenshot of a
run, where I have let it run for 1 minute, then I have added 4 points and
let it run for 5 more minutes (then stopped as my CPU was over-heating:-):
<https://drive.google.com/file/d/0BxPmJcnnbWOTZVdKYlJ5NEh0em8/view>

> One more point, your computer is probably faster than mine, so one 
> minute of growth might be different. ;^)

I am on a high-end laptop with an AMD Radeon on board, nothing more than
that.  The browser is not taking advantage of the AMD GPU anyway, but
right away I wouldn't know how to improve on that (or maybe force the
canvas to use the GPU?).  To be investigated...

Julio

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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