 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> "Bald Eagle" <cre### [at] netscape net> wrote:
> > ...
> > Basically, translate some amount away from the origin (radius), translate your
> > camera up, and then rotate. That ought to be it.
>
> you saved me :-) -- I'd been thinking I might need a spline. fwiw, updated
> sources in p.b.a thread 'USaF'.
>
>
> regards, jr.
Well, I mean, a spline is just sort of a function that interpolates between a
set of control points. You have to generate the control points somehow....
When you can just do it all in one fell swoop with a single function... or an
algorithmic/programmatic loop...
Glad it's working well. Maybe you can speed up the generation of the spiral as
it gets bigger to compensate for the "slowing down" - the longer legs of the
edges. Sorta give it the same angular velocity for the whole animation.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Il 13/03/2022 09:35, jr ha scritto:
> hi,
>
> "Bald Eagle" <cre### [at] netscape net> wrote:
>> ...
>> Basically, translate some amount away from the origin (radius),
translate your
>> camera up, and then rotate. That ought to be it.
>
> you saved me :-) -- I'd been thinking I might need a spline. fwiw,
updated
> sources in p.b.a thread 'USaF'.
>
>
> regards, jr.
Mmm. It could become a sort of pyramid by increasing the z coordinate at
each corner.
Paolo
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
Paolo Gibellini <p.g### [at] gmail com> wrote:
> ...
> Mmm. It could become a sort of pyramid by increasing the z coordinate at
> each corner.
:-) what, like that?
(the camera movement would need reworking, and the increment on each turn should
get progressively larger. something for a rainy day.)
regards, jr.
Post a reply to this message
Attachments:
Download 'pg_usaf.png' (107 KB)
Preview of image 'pg_usaf.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Il 15/03/2022 23:37, jr ha scritto:
> hi,
>
> Paolo Gibellini <p.g### [at] gmail com> wrote:
>> ...
>> Mmm. It could become a sort of pyramid by increasing the z coordinate at
>> each corner.
>
> :-) what, like that?
>
> (the camera movement would need reworking, and the increment on each
turn should
> get progressively larger. something for a rainy day.)
>
>
> regards, jr.
Yes, something similar
;-)
Paolo
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Op 15/03/2022 om 23:37 schreef jr:
> hi,
>
> Paolo Gibellini <p.g### [at] gmail com> wrote:
>> ...
>> Mmm. It could become a sort of pyramid by increasing the z coordinate at
>> each corner.
>
> :-) what, like that?
>
I would go downwards; feels more intuitive for a pyramid ;-)
--
Thomas
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
Thomas de Groot <tho### [at] degroot org> wrote:
> Op 15/03/2022 om 23:37 schreef jr:
> > Paolo Gibellini <p.g### [at] gmail com> wrote:
> >> ...
> >> Mmm. It could become a sort of pyramid by increasing the z coordinate at
> >> each corner.
> >
> > :-) what, like that?
>
> I would go downwards; feels more intuitive for a pyramid ;-)
oh, I agree, but PG wrote "increasing" :-). (anyhow, going down would also have
meant having to remove the plane, and then it would all have just "hung in the
void".)
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> ...
using height to show the number of factors of number(s).
code posted in p.b.a.
enjoy, jr.
Post a reply to this message
Attachments:
Download 'ulam2.png' (202 KB)
Preview of image 'ulam2.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> ...
attached archive contains the scene etc needed to render the spiral to a given
number (use 'declare=N=123' on the command-line), data for up to N=256K
included.
the code was adapted from the 'USaF' animation code. the data now includes the
number of factors for every number, and the scene can be switched between
rendering "the line" and rendering cylinders + cones (height == #factors).
requires 'pvars.inc', posted in p.t.scene-files.
Post a reply to this message
Attachments:
Download 'ulam2.zip' (1380 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |