Sunset Lake Software - Comments for "A few very useful features" http://www.sunsetlakesoftware.com/forum/few-very-useful-features Comments for "A few very useful features" en Brad Larson wrote:As far as http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-290 <p><div class="quote-msg"><div class="quote-author"><em>Brad Larson</em> wrote:</div>As far as the inertia-based rotation, I think what you're looking for is if you flick the display you want the molecule to spin for a short duration after the flick, with the degree of rotation determined by the speed of the flick. This would be similar to the scrolling effect of the lists on the iPhone. Right now, rotation is determined by the instantaneous differences in position of your finger as it moves across the screen. To implement this suggestion, I'd need to differentiate between a slow and fast moving gesture, as well as one that stops before the finger is picked up or one where the finger leaves the surface as it is still moving. Then, I'd need to add a timing routine that moves the molecule at a set rotational velocity determined by the flick speed, and decelerating for a set period of time. This timing routine would need to be interruptible in case you wanted to stop the rotation before it was finished and move it a different direction.</div></p> <p>I need this. Exactly this. For another model/app in development.</p> <p>Appreciate tips and points toward this direction. Or... if anyone would like to develop this behavior for me, give a holler.</p> <p>steve at madmadmad dot com</p> pubDate Mon, 04 May 2009 15:53:55 +0000 dc:creator Anonymous guid false comment 290 at http://www.sunsetlakesoftware.com Adding small molecule http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-164 <p>Adding small molecule database support is one of the new features I have planned for the next couple of versions. I just need to settle on which databases to use and then implement the various file formats needed. Also, I'll be tweaking the rendering to provide better quality views of these small molecules (more faces on the spheres, etc.).</p> <p>I'm just a little behind schedule with my other application, so that's taken priority lately.</p> pubDate Sun, 18 Jan 2009 00:46:00 +0000 dc:creator Brad Larson guid false comment 164 at http://www.sunsetlakesoftware.com I love this app, but... I http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-158 <p>I love this app, but... I know this app is aimed at a specific group, but is there a way to find simpler molecules? i.e. Water, Carbon Dioxide, Ammonia etc. rather than macromolecules. As a biochemical engineering student I can definitely appreciate the time and effort taken to produce these complex macromolecules, but Having access to simpler molecules could be integral to seeing how those simple molecules function in the macromolecules.<br /> Thank you for your consideration.</p> <p>Are there any "simple molecules" databases to download from?</p> pubDate Wed, 14 Jan 2009 23:08:54 +0000 dc:creator Anonymous guid false comment 158 at http://www.sunsetlakesoftware.com Accelerometer to pan around... http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-37 <p>The user interface I'm imagining would allow one to position the molecule using the current touch gestures. Once that was done, the accelerometer would then allow Molecules to hold the model in the same "virtual" orientation while the iPhone moved around. </p> <p>For example, imagine an iPhone lying on a table with the DNA model oriented (using existing touch gestures) with the axis of the helix sticking up vertically out of the table. Now lift the top of the iPhone to tilt the screen up 45 degrees from the table; could Molecules use the accelerometer to dynamically reorient the DNA model so that the helix' axis continued to stick straight up from the table even though the iPhone changed position? Using the accelerometer in this way would, I think, make the model seem somewhat independent of the iPhone and thus a bit more "real".</p> pubDate Tue, 22 Jul 2008 19:14:47 +0000 dc:creator mwarren guid false comment 37 at http://www.sunsetlakesoftware.com Reply http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-36 <p><div class="quote-msg"><div class="quote-author"><em>kgutwin</em> wrote:</div><div class="quote-msg"><div class="quote-author"><em>Christoph</em> wrote:</div>It's not inertia really, it's simple detection of orientation of the device relative to the gravity field, AFAIK. But I agree, a potentially complex app like Molecules needs to take advantage of all features of the iPhone to remain simple to use. I imagine translation of the displayed object could be dependent on how you hold the device, i.e. letting the molecule "slide" across the screen under the influence of gravity. Maybe this needs a "button" for activation to control when we want it and when not.</div></p> <p>Maybe we're thinking of different things :) I'm not talking about any accelerometer-based effect; instead, when you swipe your finger, the molecule keeps spinning for a bit. Like how when you scroll a list, it'll keep scrolling, gradually slowing down.</p> <p>But the accelerometer would add a unique twist to this app... You mentioned translation -- I think rotation might be more interesting. Kind of like the iPhone was a window into a virtual world, you imagine the iPhone being on the surface of a virtual sphere, and rotation of the phone in the gravitational field moves the camera on that sphere appropriately. Then, if you wanted to look at the top of the molecule, you would hold the phone flat and look down; if you wanted to look at the bottom, you would hold the phone over your head and look up :)<br /> </div></p> <p>Like many iPhone developers, I thought the accelerometer was really cool and wanted to use it as an input method. Unfortunately, I tried it and it doesn't work too well in practice for this kind of application. It just doesn't provide you the same sort of precise control over rotation that a direct touch does. Besides, you'd have to hold the device perfectly flat in order to maintain a specific view angle on the molecule or do weird contortions to look at it from different angles.</p> <p>That said, maybe rotating the view on a switch to landscape might have some advantages. I'll take a look at it.</p> <p>As far as the inertia-based rotation, I think what you're looking for is if you flick the display you want the molecule to spin for a short duration after the flick, with the degree of rotation determined by the speed of the flick. This would be similar to the scrolling effect of the lists on the iPhone. Right now, rotation is determined by the instantaneous differences in position of your finger as it moves across the screen. To implement this suggestion, I'd need to differentiate between a slow and fast moving gesture, as well as one that stops before the finger is picked up or one where the finger leaves the surface as it is still moving. Then, I'd need to add a timing routine that moves the molecule at a set rotational velocity determined by the flick speed, and decelerating for a set period of time. This timing routine would need to be interruptible in case you wanted to stop the rotation before it was finished and move it a different direction.</p> <p>It's doable, but It'd take a bit of time, so I don't think it will be a high priority until I've addressed the more important issues, like multiple data sources, ribbon visualization, overall performance, etc. Once you think about it, you start to appreciate all the stuff that Apple is doing under the hood for you in their control elements.</p> pubDate Sat, 19 Jul 2008 17:52:46 +0000 dc:creator Brad Larson guid false comment 36 at http://www.sunsetlakesoftware.com Reply http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-35 <p><div class="quote-msg"><div class="quote-author"><em>jhoch</em> wrote:</div><br /> Also - many PDB files (e.g. NMR structures) contain more than one instance of the molecule. At present Molecules loads all of these and superimposes them. A way to select a single instance would be helpful. An example of the syntax used by some other applications is 1RW5:3<br /> </div></p> <p>Yeah, this was one of those things that I discovered after I submitted the application. I had just been looking at the X-ray structures and forgot about the NMR ones. It's also a tricky UI problem. Where would you suggest the choice of alternate structures be presented to the user? I'm thinking that it could be under the detail view for the molecule as a "Currently visible structure" item that, when tapped, slides over to a list where you can pick the structure to show. I haven't looked, but are the different structures identified by anything other than number in the PDB format? If so, that could be used as the labels in that list.</p> pubDate Sat, 19 Jul 2008 17:35:54 +0000 dc:creator Brad Larson guid false comment 35 at http://www.sunsetlakesoftware.com Reply http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-34 <p><div class="quote-msg"><div class="quote-author"><em>Will-WAC</em> wrote:</div>This is a fantastic app; thanks! Ball and sticks is best for me too!</p> <p><div class="quote-msg"><div class="quote-author"><em>kgutwin</em> wrote:</div><br /> - Loading structures from personal files would be nice.<br /> </div></p> <p>As a chemist this would be extremely useful. I am not so interested in proteins and would love to be able to somehow put normal molecules on there. I have no idea how the software works, and whether it makes a difference, but I am able to save them as a .pdb file, or any other 3D file.</div></p> <p>The tricky part of this is getting the structures on the device. Apple did not provide a means of syncing data through the tether via iTunes like it has for all its applications (with the weird exception of Notes). This is why I went with the direct download via the PDB, as kludgy as it is right now, because the PDB is an always-on, network-accessible source. </p> <p>However, a couple of developers have put out applications that use Bonjour and a local network to transfer data, one or two even making the device look like a network-attached drive. If I can figure out how to do that, then it should be possible to let users load custom structures. In the worst case it might require a client program on the user's computer to transfer the files, but I was planning on porting Molecules across to the Mac anyways (a little UI work is needed, but the core Cocoa code would stay the same), so this could just be another function of that port.</p> pubDate Sat, 19 Jul 2008 17:29:29 +0000 dc:creator Brad Larson guid false comment 34 at http://www.sunsetlakesoftware.com superimposed http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-31 <p><div class="quote-msg"><div class="quote-author"><em>jhoch</em> wrote:</div>Also - many PDB files (e.g. NMR structures) contain more than one instance of the molecule. At present Molecules loads all of these and superimposes them. A way to select a single instance would be helpful. An example of the syntax used by some other applications is 1RW5:3<br /> </div></p> <p>ohhh that's good, I thought it was just me. I tried openeing some calicheamicin thing and it had all 6 structures all displayed on top of one another. I hope that isn't too hard a problem to fix.</p> pubDate Wed, 16 Jul 2008 12:39:08 +0000 dc:creator Will-WAC guid false comment 31 at http://www.sunsetlakesoftware.com more features... http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-30 <p>The ability to load structures that are not yet deposited in the PDB would be awesome - and structural biologists like myself would use it as a research tool.</p> <p>Also - many PDB files (e.g. NMR structures) contain more than one instance of the molecule. At present Molecules loads all of these and superimposes them. A way to select a single instance would be helpful. An example of the syntax used by some other applications is 1RW5:3</p> pubDate Wed, 16 Jul 2008 12:18:03 +0000 dc:creator jhoch guid false comment 30 at http://www.sunsetlakesoftware.com This is a fantastic app; http://www.sunsetlakesoftware.com/forum/few-very-useful-features#comment-28 <p>This is a fantastic app; thanks! Ball and sticks is best for me too!</p> <p><div class="quote-msg"><div class="quote-author"><em>kgutwin</em> wrote:</div><br /> - Loading structures from personal files would be nice.<br /> </div></p> <p>As a chemist this would be extremely useful. I am not so interested in proteins and would love to be able to somehow put normal molecules on there. I have no idea how the software works, and whether it makes a difference, but I am able to save them as a .pdb file, or any other 3D file.</p> pubDate Tue, 15 Jul 2008 22:21:38 +0000 dc:creator Will-WAC guid false comment 28 at http://www.sunsetlakesoftware.com