Author Topic: I wish for a new video this year  (Read 2943 times)

0 Members and 1 Guest are viewing this topic.

volker

  • Guest
Re: I wish for a new video this year
« Reply #15 on: March 07, 2022, 02:15:45 PM »
Yeah, funny, at some point you can't see the forest for the trees.
The sequence starts with 6x 10°
and the count should start with the first 30° section, parallel to the inner circle.
Yesterday, 29 instead of 1 was an evil I could live with.
If you could fix it for me I would be very grateful.

`Mansion circle I
 circle(mx, my, r + 35, -1);                                 
  i = 0; for (i < 28){
    mansionCuspI = mansionDivI * i;                        `360/28 = 12.857
    n = normalize((ascSide + a) + mansionCuspI);    `a = lon position
    getcirclepos(mx, my, r + 2, n, x, y);                 
    getcirclepos(mx, my, r + 35, n, x1, y1);           
    line(x, y, x1, y1, -1);
    getcirclepos(mx, my, r + 18, n + 7, x1, y1);       
    putnumber(x1 - 10, y1 - 10, i + 1);
     }

`Mansion circle II
 circle(mx, my, r + 67, -1);                           `outer circle for mansionsII
 i = 0; for (i < 28){
   n = 10 ;                                                   `30,10,10,10,10,10,10,30...
   if (i % 7 = 0)
   n = 30;
   m += n;
   n2 = normalize((ascSide + a) + m );           `a = lon position
   getcirclepos(mx, my, r + 67, n2, x, y);
   getcirclepos(mx, my, r + 35, n2, x1, y1);     
   line(x, y, x1, y1, -1);
   getcirclepos(mx, my, r + 47, n2 + 5, x1, y1);     
   putnumber(x1 - 08, y1 - 08, i+2 );
    }
« Last Edit: March 07, 2022, 02:39:18 PM by volker »

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
Re: I wish for a new video this year
« Reply #16 on: March 07, 2022, 02:44:43 PM »
   putnumber(x1 - 08, y1 - 08, i+2 );

try
   putnumber(x1 - 08, y1 - 08, i + 1);
on the last line.

Also this
n2 = normalize((ascSide + a) + m );
is the same as
n2 = normalize(ascSide + a + m );
Greetings from Groningen Netherlands.

volker

  • Guest
Re: I wish for a new video this year
« Reply #17 on: March 07, 2022, 02:55:29 PM »
That's how I had it before.
That is my the problem.
I have send you an E-Mail with the skript and a grafic from the book.

« Last Edit: March 07, 2022, 03:06:28 PM by volker »

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
Re: I wish for a new video this year
« Reply #18 on: March 07, 2022, 03:01:32 PM »
Yes and after replacing the last with i + 1 the script runs ok.
But Volker, i'm gonna leave it at that, i can help you on you way but it's your project.
Greetings from Groningen Netherlands.

volker

  • Guest
Re: I wish for a new video this year
« Reply #19 on: March 07, 2022, 03:08:17 PM »
It starts with 30° and then 6x 10°. So 30° is Mansion 1 and 10° is Mansion 2 ....parallel to the inner circle.

This frustrated me so much yesterday that I couldn't solve it.

Ok, thanks,
 
Until I find a solution, I live for now with a 29 instead of a 1. ;D

Addendum:

So, have found a solution for me.
 
Thank you that you have thought about my little project, has helped me a lot.

I will now turn to other things over the summer. 
« Last Edit: March 07, 2022, 05:28:14 PM by volker »

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 1172
    • View Profile
Re: I wish for a new video this year
« Reply #20 on: March 07, 2022, 08:50:39 PM »
Thanks for the tip Jean!