Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #171159
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Newsgroups | comp.lang.c, comp.programming |
| Subject | Re: random points near central point |
| Followup-To | comp.programming |
| Date | 2023-07-23 14:53 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87fs5en385.fsf@bsb.me.uk> (permalink) |
| References | (4 earlier) <2c181aeb-49e4-45b8-8be1-fc1189878e3en@googlegroups.com> <u9db6n$359g5$1@dont-email.me> <0c4b6149-511e-432c-a5b7-c7c88a865006n@googlegroups.com> <70c10615-2473-4f66-ab1c-c632aa33fa5cn@googlegroups.com> <f95fe6e8-b77b-42ba-a3d9-78057e1101c0n@googlegroups.com> |
Cross-posted to 2 groups.
Followups directed to: comp.programming
fir <profesor.fir@gmail.com> writes: > sobota, 22 lipca 2023 o 21:24:23 UTC+2 Ed Prochak napisał(a): >> On Friday, July 21, 2023 at 8:55:36 AM UTC-4, fir wrote: >> [] >> > no i dont want to put an asteroid in 'cylinder' from radius r1 to r2 >> > i want to set most of them in circle r1 and rest in cylinder from r1 to r2 >> > such way it would look naturally such as a n group of astronomical things >> > or pieces of things when you shatter them on the floor - most density in >> > the centre till r1 less near r2 and none outside r2 >> > >> I suggest you define your expected distribution first. >> You might begin by defining the distribution you really want. >> case 1: Is it constant density from 0 to r1 and then linear decline of density from r` to r2? >> case 2: is is a natural distribution of "astronomical things"? >> (clearly not like case 1, consider the solar system, including the asteroid belt) >> case 3: is it a random scattering as "when you shatter them on the floor" >> (clearly not like case 1 or 2. This is a gaussian distribution.) >> case 4: SOMETHING ELSE??? >> >> State your desire clearly and we may be able to help you. Without a clear goal, >> you'll be debugging potential solutions forever. >> >> Ed > > i dont care to much exactly i need to set a pack of 200 asteroids > around some point to look good (but this should be not to much density > in centre, ilke 10 asteroid cover the same piece of screen, thety may > cover partially, but not like stack in 10 in one place)...also i want > to use this function to set other things like in random group (but not > like brush in pain, its more like more density in centre (where centre > is not point but circle) and gradually less from r1 to r2 A bit like these: http://bsb.me.uk/tmp/r1.png http://bsb.me.uk/tmp/r2.png > i think its not hard to understand what i want It's hard to understand what you write. I am sure what you want is quite simple. This is not about C so I'm going to crosspost to comp.programming and set followups. I won't post about it here again. -- Ben.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
random points near central point fir <profesor.fir@gmail.com> - 2023-07-18 23:38 -0700
Re: random points near central point Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2023-07-19 01:49 -0700
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-19 04:20 -0700
Re: random points near central point Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2023-07-19 01:59 -0700
Re: random points near central point Kaz Kylheku <864-117-4973@kylheku.com> - 2023-07-19 16:50 +0000
Re: random points near central point Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-07-19 20:23 +0100
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-20 09:31 -0700
Re: random points near central point Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-07-20 20:42 +0100
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-20 12:56 -0700
Re: random points near central point Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-07-20 20:59 +0100
Re: random points near central point David Brown <david.brown@hesbynett.no> - 2023-07-21 09:13 +0200
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-21 05:55 -0700
Re: random points near central point Ed Prochak <edprochak@gmail.com> - 2023-07-22 12:24 -0700
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-23 04:04 -0700
Re: random points near central point Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-07-23 14:53 +0100
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-23 07:03 -0700
Re: random points near central point "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-07-23 12:30 -0700
Re: random points near central point Ed Prochak <edprochak@gmail.com> - 2023-07-30 21:48 -0700
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-08-03 10:00 -0700
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-20 13:20 -0700
Re: random points near central point "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-07-20 12:57 -0700
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-07-20 13:18 -0700
Re: random points near central point "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-07-23 12:28 -0700
Re: random points near central point "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-07-20 12:56 -0700
Re: random points near central point Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-03 19:17 +0200
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-08-03 10:55 -0700
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-08-03 11:04 -0700
Re: random points near central point Bonita Montero <Bonita.Montero@gmail.com> - 2023-08-04 17:22 +0200
Re: random points near central point fir <profesor.fir@gmail.com> - 2023-08-04 10:06 -0700
csiph-web