Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.

Dismiss

38 views

Skip to first unread message

May 29, 2023, 6:06:12 PM5/29/23

to

I rendered your commands using a different color for up, down, right and

left:

https://i.ibb.co/NmVKGSG/image.png

A snippet of my code:

____________

struct direction

{

glm::vec2 m_normal;

glm::vec3 m_color;

};

direction dir[] = {

{ { 1, 0 }, {1, 0, 0}}, // right

{ { 0, 1 }, {0, 1, 0}}, // up

{ { -1, 0 }, {0, 0, 1}}, // left

{ { 0, -1 }, {1, 1, 0}}, // down

};

____________

Getting any better? The red circle is origin, the green circle is the

end point.

left:

https://i.ibb.co/NmVKGSG/image.png

A snippet of my code:

____________

struct direction

{

glm::vec2 m_normal;

glm::vec3 m_color;

};

direction dir[] = {

{ { 1, 0 }, {1, 0, 0}}, // right

{ { 0, 1 }, {0, 1, 0}}, // up

{ { -1, 0 }, {0, 0, 1}}, // left

{ { 0, -1 }, {1, 1, 0}}, // down

};

____________

Getting any better? The red circle is origin, the green circle is the

end point.

May 29, 2023, 6:08:02 PM5/29/23

to

the line the closer it is to the end. The thicker they are the closer

they are to the origin. Does that help, or add a point of confusion?

Thanks Dan. :^)

May 29, 2023, 9:34:20 PM5/29/23

to

out and coming back in. What are the extra lines on the upper right? The transition

point on top I don't understand. It is nice how you organized the color but is it

possible to give one solid color going out and another solid color coming back in.

That way you would see the two spiral paths going out then coming back in.

May 30, 2023, 9:40:30 AM5/30/23

to

one color going out and then one color going back in to finish the lattice. This would show

how a lattice is formed without lifting the pencil. Two colors that have a sharp difference like

black and white and a red contrasting background. A trial of 3 different color combinations

until the best effect would be produced. Black and white are not colors but could be used as

two of the 3 chosen colors for the best effect. Also on a larger scale for a square lattice.

Your example is not clear, with border lines still going out it is hard to make any cense of

it. The color is excellent. Also it is not a square lattice that the latest data does produce.

Thanks for your effort, but try the new data to the full size of the square lattice and finished

squares for each of the 4 boarders.

Thanks again.

May 30, 2023, 9:47:17 AM5/30/23

to

this larger square lattice.

May 30, 2023, 3:28:15 PM5/30/23

to

________________________________________

R,U,R,U,R,U,L,D,L,D,L,D,L,D,R,D,R,U,R,U,R,U,R,U,R,U,L,U,L,U,L,D,

L,D,L,D,L,D,L,D,L,D,R,D,R,D,R,D,R,U,R,U,R,U,R,U,R,U,R,U,R,U,L,U,

L,U,L,U,L,U,L,D,L,D,L,D,L,D,L,D,L,D,L,D,L,D,R,D,R,D,R,D,R,D,R,D,

R,U,R,U,R,U,R,U,R,U,R,U,R,U,R,U,R,U,L,U,L,U,L,U,L,U,L,U,L,U,L,D,

R,D,R,D,R,D,R,D,R,D,R,D,L,D,L,D,L,D,L,D,L,D,L,D,L,D,L,U,L,U,L,U,

L,U,L,U,R,U,R,U,R,U,R,U,R,U,R,U,R,D,R,D,R,D,R,D,L,D,L,D,L,D,L,

D,L,D,L,U,L,U,L,U,R,U,R,U,R,U,R,U,R,D,R,D,L,D,L,D,L,D,L,U

________________________________________

Where did I go wrong? Is this an outdated command list?

May 30, 2023, 4:56:34 PM5/30/23

to

Instead I gave the number of passes for each direction going out and coming in.

Let me send you the simple basic code that you will easily understand so you can translate

into your proffered code.

Dan

May 30, 2023, 5:09:41 PM5/30/23

to

On 5/29/2023 6:34 PM, Dan joyce wrote:

May 30, 2023, 5:20:03 PM5/30/23

to

May 30, 2023, 5:24:20 PM5/30/23

to

the start point, or, origin if you will. The circle in white is unit,

centered at point (0, 0), with a radius of one.

May 30, 2023, 5:26:43 PM5/30/23

to

the maximum distance from the origin. Then I can draw a circle at

origin, with a radius equal to the max distance, and it would encompass it.

May 30, 2023, 5:31:46 PM5/30/23

to

On 5/30/2023 2:19 PM, Dan joyce wrote:

> On Tuesday, May 30, 2023 at 5:09:41 PM UTC-4, Chris M. Thomasson wrote:

>> On 5/29/2023 6:34 PM, Dan joyce wrote:

>>> On Monday, May 29, 2023 at 6:08:02 PM UTC-4, Chris M. Thomasson wrote:

>>>> On 5/29/2023 3:06 PM, Chris M. Thomasson wrote:

[...]
> On Tuesday, May 30, 2023 at 5:09:41 PM UTC-4, Chris M. Thomasson wrote:

>> On 5/29/2023 6:34 PM, Dan joyce wrote:

>>> On Monday, May 29, 2023 at 6:08:02 PM UTC-4, Chris M. Thomasson wrote:

>>>> On 5/29/2023 3:06 PM, Chris M. Thomasson wrote:

> The one you sent is great but the green circle should encompess everything.

The purple circle encompasses everything:
https://i.ibb.co/D1x0jWm/image.png

Is this what you are looking for? The radius of the circle in purple

centered at origin (0, 0), is 1.18585. Keep in mind that I am scaling

the normalized directions by .125. So they are only .125 units long.

May 30, 2023, 5:41:11 PM5/30/23

to

On 5/30/2023 2:31 PM, Chris M. Thomasson wrote:

> The purple circle encompasses everything:

>

> https://i.ibb.co/D1x0jWm/image.png

>

> Is this what you are looking for? The radius of the circle in purple

> centered at origin (0, 0), is 1.18585. Keep in mind that I am scaling

> the normalized directions by .125. So they are only .125 units long.

Keep in mind that I can now scale back the .125 to ensure that
> The purple circle encompasses everything:

>

> https://i.ibb.co/D1x0jWm/image.png

>

> Is this what you are looking for? The radius of the circle in purple

> centered at origin (0, 0), is 1.18585. Keep in mind that I am scaling

> the normalized directions by .125. So they are only .125 units long.

everything fits inside of the unit circle. 1.18585 is larger than the

unit circle by .18585. ;^)

The scale would be 1 / 1.18585 = 0.8432769743222161318885187839946

So, .125 * 0.8432769743222161318885187839946 should be the radius to

scale back the lengths of the lines in your commands.

Lets try it:

https://i.ibb.co/YL4TW1M/image.png

PERFECT! The circle in purple is scaled back to fit within the unit

circle. :^D

The circle in white is lined up with the circle in purple.

Nice. ;^)

May 30, 2023, 7:25:49 PM5/30/23

to

Now get some slow-motion vidio and show only 3 colors 1 background, 1 for going out

to the limit of the lattice and a different colored one for the return path terminating @

the origin.

May 30, 2023, 9:00:00 PM5/30/23

to

line per second where there are 24 frames in a second. Or, I can show

the growth of a line in those 24 frames. Not sure if I want to go to 60

yet. I can perhaps find some time tonight to email you some samples.

Okay?

May 30, 2023, 10:06:25 PM5/30/23

to

By the way that code I sent you is screwed up. Don't know how it happened but

it did. When you send me the samples I will forward a new listing of code.

May 30, 2023, 10:08:13 PM5/30/23

to

May 30, 2023, 10:29:53 PM5/30/23

to

0 new messages

Search

Clear search

Close search

Google apps

Main menu