three js - web Journal
Hello
I'm trying to integrate this code in Muse. I'm placing it as an HTML object at the top of my page, but it seems that is not properly encoded because it appears at the bottom of the page.
http://pierosalardi-webgl2.BusinessCatalyst.com/index.html
This is the code I use:
<! DOCTYPE html >
< html >
< head >
< meta charset = "utf-8" >
< style >
{body}
background-color: transparent;
margin: 0;
overflow: hidden;
}
< / style >
< / head >
< body >
" < script src ="http://brangerbriz.net/labs/threejs_playGnd/js/three.min.js"> < / script > .
" < script src ="http://brangerbriz.net/labs/threejs_playGnd/js/Detector.js"> < / script > .
< script >
if ( ! Detector.addGetWebGLMessage (Detector.WebGL));
var camera, scene, made;
mesh of material, geometry, var;
function setup() {}
var W = window.innerWidth, H = window.innerHeight;
renderer = THREE news. WebGLRenderer();
renderer.setSize (W, H);
document.body.appendChild (renderer.domElement);
camera = THREE news. PerspectiveCamera (50 L/H, 1, 10000);
camera.position.z = 500;
scene = THREE news. Scene();
/ / paste your code in the geometryGUI here
geometry = THREE news. OctahedronGeometry (200, 1);
material = THREE news. MeshNormalMaterial ({shadow: 3.}) ({SmoothShading, wire: true, wireframeLinewidth: 1});
Mesh = THREE news. Mesh (geometry, material);
Scene.Add (MeSH);
}
function draw() {}
requestAnimationFrame ("draw").
/ / experience with the code in the menu from here
mesh.rotation.x = Date.now () * 0,00005;
mesh.rotation.y = Date.now () * 0.00002;
mesh.rotation.z = Date.now () * 0.0001;
renderer.render (scene, camera);
}
setup();
draw();
< /script >
< / body >
< / html >
Any ideas on how to incorporate this?
Thank you
Piero
If anyone at this point, here's the answer I got from David_Powers from another forum "coding_corners".
__________
The reason why it appears at the bottom of the page is located in the following line of code:
document.body.appendChild (renderer.domElement);
Which adds the element to the body rather than the div you have nested code inside.
Move the script out of the div, it is currently nested in (he must go after the div). Also change the line that adds the polygon to the page:
if ( ! Detector.webgl ) Detector.addGetWebGLMessage();
var camera, scene, renderer;
var geometry, material, mesh;
function setup() {
var W = window.innerWidth, H = window.innerHeight;
renderer = new THREE.WebGLRenderer();
renderer.setSize( W, H );
document.getElementById('u135228').appendChild( renderer.domElement );
camera = new THREE.PerspectiveCamera( 50, W/H, 1, 10000 );
camera.position.z = 500;
scene = new THREE.Scene();
// paste your code from the geometryGUI here
geometry = new THREE.OctahedronGeometry(200, 1);
material = new THREE.MeshNormalMaterial({shading: THREE.SmoothShading, wireframe: true, wireframeLinewidth: 1});
mesh = new THREE.Mesh(geometry, material);
scene.add(mesh);
}
function draw() {
requestAnimationFrame( draw );
// experiment with code from the snippets menu here
mesh.rotation.x = Date.now() * 0.00005;
mesh.rotation.y = Date.now() * 0.00002;
mesh.rotation.z = Date.now() * 0.0001;
renderer.render( scene, camera );
}
setup();
draw();
Here is the test of work:
Online portfolio of Piero Salardi / / home
Certainly, this opens up new possibilities with Adobe Muse
Tags: Adobe Muse
Similar Questions
-
IS CUMULATIVE ATG 7 + PATCH SET 19 (FORMS) ONLY APPLY TO THE WEB LAYER
Hello world
We intend to apply the ADI 7 + Patch set 19 and everything works fine. But my question, we have three levels of Apps (WEB, Con, Form, Report), WEB, DB
We applied on the layer Apps but there is a node have only the web layer and ADI 7 and patch set 19 for forms, there is no relationship with Web layer.
in this case is it should be applied on this node also as we know Oracle "you apply patches that you apply it to the first node to the second node.
What do you think?
Best regardsDB Apps(WEB,Con,Form,Report) three-tier, WEB,.
You must apply the patch on each node when APPL_TOP and 8.0.6 $ORACLE_HOME are presented.
Thus, according to the foregoing, you will have to do on nodes 1 and 2.
Thank you
Hussein -
Having more than one user affect the speed of my MacBook Pro?
I have a MacBook Pro, which is now painfully slow 2011.
I have three users each journal entry/exit in the required form.
Having more than one user affect the speed of the Mac or not?
Thank you
If you open a session there should be no impact.
You can view a report of etrecheck for more Analytisis
www.etrecheck.com
-
problem in the express edition of 11g istalling
I managed istaled oracle 11g express edition. When I pressed start database displays an error "windows cannot find 'http://127.0.0.1: % HTTPPORT%apex/f?p==4950'.» Make that you entered the name correctly and try again "". "
And there is no option of database homepage.plz goto me didn't help
Try to replace HTTPPORT % by value of the port, should be 8080.
The installer for this shortcut usually isn't quite get finished successfully. Also allows to check, in the output of "lsnrctl status" one of those that you have three different termination points, is for the 8080 http port. If you do not have all three, the web pages are not going to work.
-
Try to find reasons to stay on Muse
My experience with Muse began with the creation of two Web sites last year and it was very exciting to use the platform. Since then, WordPress is the medium of choice for my client for the creation of three different Web sites (based on the problems of customers, etc.). The experience of WP let me consider if it means putting my two previous sites to WP. The main driver of this dilemma is the ease to make the reactive site. Muse takes a lot to 'rebuild' to the appropriate site, even when you use a 'sensitive' Muse theme.
Of course to edit WP requires changes in accommodation, but from that moment, its hard to find a lot of reasons to stay with Muse / put time in to update my site in Muse - versus migrating to WP and then invest my time.
If you have a few comments that could help me in this decision please weigh!
Reactive Adobe Muse CC 2015 is now online. Please install the update of CC > Apps.
What's new: news summary
Release notes: https://helpx.adobe.com/muse/release-note/adobe-muse-release-notes.html
Delicate design:
Adobe help Muse | Create responsive Web sites
Adobe help Muse | Responsive web design in Adobe Muse
Adobe help Muse | Migrate existing Adobe Muse Web sites to answer
Tutorials
To get started with Adobe Muse (replaces how to make a website with Adobe Muse (coffee of Katie)):
- https://helpx.adobe.com/muse/how-to/create-responsive-website.html
Create a sensitive webpage with Adobe Muse:
- https://helpx.adobe.com/muse/how-to/responsive-web-design.html (more detailed features RWD of Muse demo)
Thank you
Sanjit
-
I am buying a web police at fontshop.com but I noticed that their Web site indicates that the 'woff' format to provided (not 100% sure). I know Muse cc to self hosted web fonts it requres all three types web fonts - woff, eot and svg. I wonder if the woff font can only be installed and feasible, I'm new to Muse CC. Any suggestion is welcome. Thank you
1. of course, Fontshop offern all the formats needed in their packages of web fonts. SVG, I guess, is not really necessary, but woff and eot are, because browsers use differnet technical to make fonts.
What you need in addition is police related office. Muse is no coding tool, but a web designer. He needs the police bureau to display fonts during the design process.
-
Doubt on the single sign on?
I have 3 different web applications running on three different web servers. I also maintain an ldap server. When the user first saves the modules will be stored on the ldap server and applications 3 web uses the same modules. So if the user logged in, it can access applications three web without connecting to each separate application. If this can be called as ' single sign on '?Research is not so difficult. Wikipedia is also very useful.
http://en.Wikipedia.org/wiki/Single_sign-on
Quote:
"" With this property, a user logs in once and access all systems * without be prompted to connect again to each of the besoin.* ".
This small "BOLD" would be true in your case? In the affirmative: Yes, it is, single sign - on. If not: you still have to do.
-
This is the second time I've posted this question so I hope someone will answer. In recent weeks, I found that I could apply is no longer a model in a group operation (returns the error above). If I change the model and save it shows all files associated with the update but does not actually update them and again returns the error 'not updated, point not found'. As a test, I created a copy of a .html special and enforced the associated model file. When I apply a change of model, it does correctly update the newly created file, but not the others. I also made a comparison of mechanical (by using windiff.exe) between the original file and duplicate file, and there is NO difference in both .html files. I also deleted and then recreated my cards site several times.
As an aside, elements of library successfully.
I use Dreamweaver CS6 on Windows 7.
OK, here's an update. The three sites Web I was working on is gone live this weekend. As part of this activity, I created a new source folder in My Documents where I loaded the production version of the code. I created new DW sites for each and have begun changes in final production code which resulted in a number of model and the library updates the many pages on the sites. If you remember, the updated library mass worked fine but the update of the model is not. Well, I'm not sure what has changed other than the location of the source folder, but all works normally now. Go figure. I'm not complaining but just confused because I had been through this drill before.
I guess there is no need of the cavalry. Thanks again for your help.
Al
-
11.1.2.1 upgrade to 11.1.2 existing - Services start
Not a fun day world EMP for me...
Windows 2008 SP1 three servers (web/app, DB, reporting)
We did the upgrade implemented in 11.1.2 to 11.1.2.1 and was unsuccessful problems restarted however none of the services start (we did the upgrade only on the web/app and test to provide shared Services)
Blow us the regedit (according to Oracle in a service request) and restart the Service install bat files. Are there services, reconfigure us via the Configurator everything is green... but the services do not always start
OK looking for other avenues on this problem
JTSVS C++ version incorrectly added 2008 caused havoc had to uninstall the 2008 version and then uninstall our EMP and reinstall and then we are fine...
JTS
-
11.1.2 batch Scheduler suck 99% CPU
Someone of another meeting in 11.1.2 Batch Scheduler suck 99% of the web server CPU? It isn't when Batch Scheduler works it's when you try to access it from the workspace. We are on Windows 2008 SP2 on three servers (Web, DB and reports)
JTSProblem solved discovered that Java heap for the service FRReporting sizes is bad at 128 M to 512M it obviously had to be increased to make it work.
JTS
-
I installed Adobe elements 12 update to 6 items. I need to use the save for Web function, but it is grayed. I tried to reinstall 12 items three times where it was missing something, but this has not solved the problem and enemy Save Web feature is always gray on. How can I get this feature too much work. I contacted the home and they have happened to you. I have 20 minutes to make a customers web work and if I don't work (about £500). Please advise/help.
You are on the Expert tab in the editor?
-
Please float your mouse over the Paypal button (in the lower left) and on the envelope button and the arrow will change to a pointing finger. It float above the adjacent Blog button and the arrow is an arrow. With Internet Explorer, all three buttons links work - but not with Firefox 9.0.1. Why is this?
I have no idea why this works in Internet Explorer. The div with id "txt_582" is painted on top of the imagemap for the button "Blog". So this div block mouse clicks. Reduction of the height of this div may fix the problem.
-
How to make Web pages to fill the screen. I have margins of three inches on each side.
When I open a page with IE, I get a view full screen of a web page. When I open a page with firefox, it is a smaller with the fine print version and margins of the great 3 inches. This is a new computer with Windows 7. I did not have this problem with Firefox on my old computer with XP. I currently have Firefox 3.6.16.
Firefox is not zoom the pages automatically to fill the screen.
You can watch one of the following extensions:
- Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
- NoSquint - https://addons.mozilla.org/firefox/addon/2592
-
Site header Web->; can I use three separate .gif files just next to each other?
I thought about the idea of linking the three files of cool movie make-them-yourself .gif and use them as my head. Well, when I tried to connect with each other through some photo, they stop "in motion" (if anyone knows a program editor who does this correctly, please inform!). Anyway, if I can't combine these three together, my only option now is to place them along the top, right next to the other because I specifically size to 1024px horizontally (480, 272 and 272) and are each 200 pixels vertically.
So what I need to know: is it possible for me to 'connect' / combine each of these individual-designed .gif images along side each other HORIZONTIALLY (NO SPACE AT ALL) along the top of my home page (and finally each page) to create my head? If I can do that it will make an evaluator awesome header so I have my fingers crossed so dearly.
Thanks for any help that can be provided.
John
Sorry John. I forgot to mention that I left the formatting to make it more readable html code, you must remove all the spaces and the newlines between tags. Also, it seems you may have inadvertently erased the opening
tag.You can get the reports of width by dividing each width of the image of the total width of the three images.
272 + 480 + 272 = 1024
272/1024 = 26.5625%
480/1024 = 46.875%
And since you know CSS, add them to your style sheet:
#vidHeader {width: 100%; max-width: 1024px; margin: 0; padding: 0 ;}}
#vidHeader img {padding: 0; margin: 0; border: none; display: inline-block ;}}
#vidHeader .sd {width:26.5625% ;}
#vidHeader .hd {width:46.875% ;}
and rewrite the HTML of the header as follows:
"" "" http://i304.photobucket.com/albums/NN168/JohnnyAnonymous75/lecturing_front_of_projector_zp sxdbxphte.gif"alt =" "" / >http://i304.photobucket.com/albums/nn168/JohnnyAnonymous75/Satan_flying_and_and_stays_put% 20-%20ezgif.com%20better%20480%20X%20200%20-%20good_zpstgxfo0kv.gif "alt =" "/ >http://i304.photobucket.com/albums/nn168/JohnnyAnonymous75/ripping_on_conspiracy_outdoors _ zpssbongrb7.gif" alt = "" / >Again, sorry for the formatting thing. And don't forget to put in the opening
tag. | Mark -
Link to 'help journal online events' event viewer returns a page not found on the technet Web site
Whenever I click on the link "online help for event log" of event viewer for further help on an error, it returns the page not found on TechNet. Why? If Microsoft has moved the page, or something, why has he not updated the links in this application? I use Windows 8 (upgrade of Windows 7) and all applied Windows updates.
Well, I spoke with Microsoft Support Thursday and it seems that the Event Viewer online Help is not available yet in Windows 8.
While I took for them they connected to my system then tried their own with the same results, they then got on the? (could be the resource group... can't remember) who told supporters that on line assistance has not been fully developed for Windows 8 and therefore has not been published!
Maybe you are looking for
-
How can I perform a recovery system on a laptop Windows 8?
I found this video that details the procedure to perform a system recovery in Windows 8 and thought that I'd share it.
-
Using the NI 9403 module as a source of tension for its own entries
I need to have certain diagnoses in a circuit that I build. I plan on the use of certain relays to throw a switch when certain events occur. This switch would be connected to a digital input NI 9403, as a way to detect the event. To do this, I need p
-
How can I reset my laptop to DVD factory State?
Hi, I recently bought a Levono Thinkpad W530 and recovery media creation/test gives me a world of hurt. I really wish they had just sent me a recovery DVD (s) with the laptop, as Fujitsu made when I bought my laptop from them years ago. in any case,
-
How can I determine what files given File Record Segments Point to?
I'm under NTFS, and I have a volume of 2 TB with a lot of files that it contains. Fortunately, I cloned the entire volume to another volume of 2 TB on occasion (using WinDD, basically an exact bit-by-bit image of the entire 2 TB). Unfortunately, th
-
deleted programs manually always appear in the list, add/remove programs
I have a large number of programs I uninstalled, but they still appear in Add/Remove program with the button Delete. Using the button Delete has nothing else that wasting time by telling me that he was unable to find the components. I went to the reg