New, so I am saying hello
quick question
Just a quick question: should the amplitudes be the same or just pick some values? Right now I chose 10 for the first rotation and 6 for second. So far the quick test numbers look promising ( just the imaginary parts spewed out to console). I did a clock of .001 to 1sec.
Jeret
Jeret
quick and dirty results
Here is my attempt to plot what a bi-rotation looks as it travels through space. No animation yet. I could probably take a video of my screen and rotate it around for a better view. I hope this is an acceptable start.
- Attachments
-
- birotationplot 001
- birotationplot001.png (339.1 KiB) Viewed 14483 times
Data
The amplitude should be 1 in both cases, but I would recommend a user selectable range, perhaps 1 to 8, by integer steps (default 1) so we could do some experimenting with harmonics and examine the resulting waveforms.should the amplitudes be the same or just pick some values?
The defaults for a normal birotation should be:
rot1: amplitude = 1, theta velocity = 1, phase = 0.
rot2: amplitude = 1, theta velocity = -1 (opposite direction), phase = 0.
That will reproduce Nehru's birotating photon, with a cosine wave on the X (real) axis.
If you have a user interface to control the variables, it would be nice to control the theta velocity with a slider and CW/CCW button, so it would run CW (+n) or CCW (-n), with a magnitude of 1-8 as well. The phase angle should be +- 180 degrees (convert to radians for code) with a default of zero.
Every dogma has its day...
Try again
Try again. I've added you as a 'researcher' so you can get additional quota and features on the site.I want to try to post the full sized the pictures here. I do have a web server in my home. Lets see if this works.
You can upload images to the server via the file attachments menu below the comment box. After you upload, you can right-click and copy the URL from the filename, and use it to make inline images in the comment.
Every dogma has its day...
this worked like a charm, and then I went and change a few veriables, and now something is not working! Crap. But it did produce a cosine wave. Will have a picture as soon as I fix the problem.rot1: amplitude = 1, theta velocity = 1, phase = 0.
rot2: amplitude = 1, theta velocity = -1 (opposite direction), phase = 0.
That will reproduce Nehru's birotating photon, with a cosine wave on the X (real) axis
Include http in your src link
You forgot to include the protocol in your IMG link (needs to start with http:// in order for it to access an image). I updated your comment to include the http:// prior to the domain name.Not sure why the picture is not showing up.
Every dogma has its day...
I want to try to post the
I want to try to post the full sized the pictures here. I do have a web server in my home. Lets see if this works.
yeah, it works
yeah, it works
Problem fixed
I hate those stupid little things you don't see right away. Anyways the problem was a simple one, here is a quick pic of the result of adding two complex numbers and plotting the real number on the X axis, and the imaginary on the Y axis and step up the Z axis.
This was a quick and dirty version. For a complete interactive version, will take me a while. For this I will need to learn how to get python to work with openGL.
Bruce, I understand not being a social media person. I, for that same reason stayed away from facebook. I again ask you to consider Google+, not so much for social networking, but more of a collaboritve tool. I have enjoyed being able to video chat with a group, and discuss science topics. I am mostly on google+ to be apart of linux groups, and science groups. For entertainment I do follow a guy by the name of Wil Wheaton, aka Wesly Crusher of Star Trek: Next Gen. Of all the cast of Star Trek:NG, he is the only true nerd/geek. Anyways, one day I would love to have a chat with you about RS2.
Jeret
This was a quick and dirty version. For a complete interactive version, will take me a while. For this I will need to learn how to get python to work with openGL.
Bruce, I understand not being a social media person. I, for that same reason stayed away from facebook. I again ask you to consider Google+, not so much for social networking, but more of a collaboritve tool. I have enjoyed being able to video chat with a group, and discuss science topics. I am mostly on google+ to be apart of linux groups, and science groups. For entertainment I do follow a guy by the name of Wil Wheaton, aka Wesly Crusher of Star Trek: Next Gen. Of all the cast of Star Trek:NG, he is the only true nerd/geek. Anyways, one day I would love to have a chat with you about RS2.
Jeret
3d plot using J sotware
hi all,I'm also a newbie to RS/RS2 with IT background.
If we just need simple 3d plot,I think the plot function of J language(http://www.jsoftware.com) is very useful because it is a vector language and have nice operators and simple plot interface.
Please see my demo page(http://itfin.3322.org/q/j/jhp/birot.jhp) ,and the "Souce" link in it.
Thanks to the internal r. operator(http://www.jsoftware.com/help/dictionar ... ,computing is just 2 lines:
and plot just as simple as:
reguards,
zuoqian
If we just need simple 3d plot,I think the plot function of J language(http://www.jsoftware.com) is very useful because it is a vector language and have nice operators and simple plot interface.
Please see my demo page(http://itfin.3322.org/q/j/jhp/birot.jhp) ,and the "Souce" link in it.
Thanks to the internal r. operator(http://www.jsoftware.com/help/dictionar ... ,computing is just 2 lines:
Code: Select all
t=:steps 0,2p1,1000
'x y'=.|:+.r=:(a1 r. phi1+theta1*t)+a2 r. phi2+theta2*t
Code: Select all
pd 'backcolor lightgray'
pd 'color red'
pd 'viewpoint ',vp
pd 'viewcenter ',vc
pd 'viewup ',vu
pd 'viewsize ',vs
pd x;y;t
zuoqian
No plot
I went to the demo page, but when I click on "Plot," all I get is a series of numbers running horizontally across the screen--nothing graphic. Using Firefox... is there a plugin I need to see the graph?Please see my demo page(http://itfin.3322.org/q/j/jhp/birot.jhp) ,and the "Souce" link in it.
Every dogma has its day...