﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » coordinate structure for multiple images and resolutions</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 18 Sep 2026 10:49:57 GMT</lastBuildDate><ttl>20</ttl><item><title>coordinate structure for multiple images and resolutions</title><link>https://forums.millisecond.com/Topic22574.aspx</link><description>Hello everyone, &lt;br/&gt;&lt;br/&gt;Am currently working on a task that presents multiple items in a circle around the center of the screen.&amp;nbsp; Each individual item has its own (x, y) coordinate, however, these have to change depending on the resolution. At the moment I am simply generating full lists of coordinates, and plan to select a list based on user input which will be used throughout the experiment, but this does mean that I can only provide coordinates for predetermined resolutions, is there an easier way to scale the coordinates?  any advice is appreciated, &lt;br/&gt;Roelof&lt;br/&gt;PS: programming in inquisit 4&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 26 Sep 2017 07:07:52 GMT</pubDate><dc:creator>Brabagazaa</dc:creator></item><item><title>RE: coordinate structure for multiple images and resolutions</title><link>https://forums.millisecond.com/Topic22579.aspx</link><description>&lt;div data-id="22575" class="if-quote-wrapper" unselectable="on" data-guid="1506434774100"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22575" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="22575" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="22575" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, September 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22575"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="22574" class="if-quote-wrapper" unselectable="on" data-guid="1506434774100"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22574" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="22574" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="22574" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Brabagazaa - Monday, September 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22574"&gt;&lt;div class="if-quote-message-margin"&gt;Hello everyone, &lt;br/&gt;&lt;br/&gt;Am currently working on a task that presents multiple items in a circle around the center of the screen.&amp;nbsp; Each individual item has its own (x, y) coordinate, however, these have to change depending on the resolution. At the moment I am simply generating full lists of coordinates, and plan to select a list based on user input which will be used throughout the experiment, but this does mean that I can only provide coordinates for predetermined resolutions, is there an easier way to scale the coordinates?  any advice is appreciated, &lt;br/&gt;Roelof&lt;br/&gt;PS: programming in inquisit 4&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22574"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Sure. You can prompt the user for information and calculate positions and/or sizes accordingly. See e.g. &lt;a href="https://www.millisecond.com/forums/Topic14608.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic14608.aspx"&gt;https://www.millisecond.com/forums/Topic14608.aspx&lt;/a&gt;&lt;/a&gt; and/or the Spatial Delayed Response Task for an implementation of such an approach: &lt;a href="https://www.millisecond.com/download/library/spatialdelayedresponsetask/"&gt;&lt;a href="https://www.millisecond.com/download/library/spatialdelayedresponsetask/"&gt;https://www.millisecond.com/download/library/spatialdelayedresponsetask/&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Note that this is usually only necessary if you require sizes and/or positions to have specific physical dimensions. Otherwise, you should simply specify the positions and and sizes in percentages and then restrict the screen area (the "canvas") Inquisit uses to a fixed aspect ratio via the &amp;lt;defaults&amp;gt; element's /canvasaspectratio attribute. That way, you don't have to worry about different resolutions and/or aspect ratios across devices.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22575"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;That is perfect, I was using '/windowaspectratio = (1,1)' which meant full screen was lost, &lt;br/&gt;but indeed canvasratio works perfectly, thank you very much&lt;br/&gt;</description><pubDate>Tue, 26 Sep 2017 07:07:52 GMT</pubDate><dc:creator>Brabagazaa</dc:creator></item><item><title>RE: coordinate structure for multiple images and resolutions</title><link>https://forums.millisecond.com/Topic22575.aspx</link><description>&lt;div data-id="22574" class="if-quote-wrapper" unselectable="on" data-guid="1506376855957"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22574" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="22574" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="22574" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Brabagazaa - Monday, September 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22574"&gt;&lt;div class="if-quote-message-margin"&gt;Hello everyone, &lt;br/&gt;&lt;br/&gt;Am currently working on a task that presents multiple items in a circle around the center of the screen.&amp;nbsp; Each individual item has its own (x, y) coordinate, however, these have to change depending on the resolution. At the moment I am simply generating full lists of coordinates, and plan to select a list based on user input which will be used throughout the experiment, but this does mean that I can only provide coordinates for predetermined resolutions, is there an easier way to scale the coordinates?  any advice is appreciated, &lt;br/&gt;Roelof&lt;br/&gt;PS: programming in inquisit 4&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22574"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Sure. You can prompt the user for information and calculate positions and/or sizes accordingly. See e.g. &lt;a href="https://www.millisecond.com/forums/Topic14608.aspx"&gt;https://www.millisecond.com/forums/Topic14608.aspx&lt;/a&gt; and/or the Spatial Delayed Response Task for an implementation of such an approach: &lt;a href="https://www.millisecond.com/download/library/spatialdelayedresponsetask/"&gt;https://www.millisecond.com/download/library/spatialdelayedresponsetask/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Note that this is usually only necessary if you require sizes and/or positions to have specific physical dimensions. Otherwise, you should simply specify the positions and and sizes in percentages and then restrict the screen area (the "canvas") Inquisit uses to a fixed aspect ratio via the &amp;lt;defaults&amp;gt; element's /canvasaspectratio attribute. That way, you don't have to worry about different resolutions and/or aspect ratios across devices.&lt;br/&gt;</description><pubDate>Mon, 25 Sep 2017 15:09:48 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>