I am using frame extras to create an ocean
https://webvr.donmccurdy.com/water/
The ocean is working great but I would like to adjust the speed of the waves and the documentation seems to suggest this is possible using either 'speed' or 'speedVariance'. When I change these it does not seem to effect it however.
I include the following script
https://cdn.rawgit.com/donmccurdy/aframe-extras/v3.13.1/dist/aframe-extras.min.js
And then try the below to no avail - all the other parameters work fine;
<a-ocean
width=“50”
depth=“50"
density=“10”
color=“#d9d0ae ”
position=“0 0 0”
opacity=“1"
speed=“0.1”
speedVariance=“0.2">
</a-ocean>
Is there a minimum speed perhaps? But even if I put it up to 10 it does not change. Also, is it possible to stop the animation all together?
Thanks for any help
Related
The image of the code
What does the 5 highlighted lines of the code mean?
Basically to get the "get_top_covariances", I need to follow these 4 steps.
Start by finding the covariance matrix
The target feature should not be included in the outputs.
It may be easiest to solve this if you find the relevant_indices first, and then use relevant_indices to calculate highest_covariances.
You want to sort by absolute value but return the actual values.
Hence, I would highlight appreciate it if anyone could help to explain those 5 lines,as in what's it is trying to do.
By the way, what's that top_n for? I'm quite lost at this part.
I'm using Katex and need to reduce the size of the indices as they are far too big. I've figured out work arounds when the index is a simple number, but as soon as I need to use fractional indices, nothing works. I know I probably need to modify the index size in the javascript library but I don't know how. Does anyone out there know how to do it?
I'm using GraphicsMagic to achieve an effect something like:
read in an image file
apply several edits (resizing, cropping, etc)
apply a convolution filter
apply an operator
and it works fine. However, what I really need is composite result of step (2) on top of the result of step (4). That is, after step 2 I want to convince GM to (notionally) make a clone of the current state of the image, apply step 3+4 to the clone, and then composite that clone underneath the original pre-clone state.
Is stuff like this possible in GM without writing out an temp file? I'm calling gm from the node wrapper, so I don't think shell script wizardry is an option.
For posterity, I wound up writing temp files to achieve this. I don't think it's possible to get such effects purely with a combination of GraphicsMagick arguments.
im trying to find an easy formula to do the following:
=IF(AND(H6="OK";H7="OK";H8="OK";H9="OK";H10="OK";H11="OK";);"OK";"X")
This actually works. But I want to apply to a range of cells within a column (H6:H11) instead of having to create a rule for each and every one of them... But trying as a range:
=IF(AND(H6:H11="OK";);"OK";"X")
Does not work.
Any insights?
Thanks.
=ArrayFormula(IF(AND(H6:H11="OK");"OK";"X"))
also works
arrayformulas work the same way they do in excel... they just need an ArrayFormula() around to work (will be automatically set when pressing Ctrl+Alt+Return like in excel)
In google sheets the formula is:
=ArrayFormula(IF(SUM(IF(H6:H11="OK";1;0))=6;"OK";"X"))
in excel:
=IF(SUM(IF(H6:H11="OK";1;0))=6;"OK";"X")
And confirm with Ctrl-Shift-Enter
This basically counts the number of times the said range is = to the criteria and compares it to the number it should be. So if the range is increased then increase the number 6 to accommodate.
Is there any way to filter metrics in Graphite while ignoring the hierarchy?
For example:
Say I have the following metrics:
stats_count.A.B.TestMetric
stats_count.A.TestMetric
stats.A.B.TestMetric
stats.A.B.TestMetric
How can I sum TestMetric under stats_count only?
I tried the followings with no success:
stats_counts.*.*.TestMetric - obviously this won't work...
sumSeriesWithWildcards(stats_counts.[A-Z\.]*[A-Z]*.TestMetric,1)
sumSeriesWithWildcards(stats_counts.[A-Z]*[.]*[A-Z]*.TestMetric,1)
Any ideas? Is it possible at all?
I have a graphite installation (version 0.9.9) where I create metrics on a lot of small systems
For example, I have 2 installations of a postgresql database (postgresql-1 and postgresql-2) where the second is a slave replication of the first. The first database is used for day to day use while the second is a hot standby used mostly by reporting systems and debugging queries
I think the following example is somewhat what you want to do. The image is the amount of connections on both databases. The blue line is on the first, the green line is on the second while the red line is the sum of both series, giving the total amount of connections
database.postgresql-1.connection.ALL.value # blue line
database.postgresql-2.connection.ALL.value # green line
sumSeries(database.postgresql-*.connection.ALL.value) # red line
Your problem is that your series have different path levels (I tried to avoid that on my series names as indeed it causes problems). I dont see any other option than writing something like this:
given
stats_count.A.B.TestMetric
stats_count.A.TestMetric
stats.A.B.TestMetric
stats.A.B.TestMetric
sum stats_count.**.TestMetric metrics using
sumSeries(stats_count.*.TestMetric, stats_count.*.*.TestMetric)
Graphite still needs a lot of improvement and unfortunately the development is going quite slowly (for instance version 0.9.10 is the latest release, has problems to install and is from 1 year ago). I am indeed considering forking/contributing to this project