Tuesday, 25 October 2011

DAT 205

Code for the Arch Os Feed 
Archive feed link feed://www.arch-os.com/archive/


import edu.dat.*;


public class archos {

public static void main(String[] args) {
ArchOS arch = new ArchOS ();
String feedname = arch.getHistoricalDataFeed("WindSpeed");
System.out.println(feedname);
Slideshow ss = new Slideshow ();
int first = feedname.indexOf("description");
int last = feedname.lastIndexOf("description");
System.out.print(first);
    System.out.println(last);
    
}

}









ROBODOME (141.163.83.16) Robo ip





import edu.dat.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

/**
  @author tpiercey
  **/
  

 //Controls,connection to the jar far file that implements the key listener//
public class KeyControlledRobot extends LightTankRobot implements KeyListener {
public KeyControlledRobot(String ip,String url){
super (ip,url);
KeyWindow control = new KeyWindow();
KeyWindow.addKeyListener(this);
}
/**
* @param args
*/
//ip for local machine, image url for robot//
public static void main(String[] args) {
KeyControlledRobot robo = new KeyControlledRobot ("127.0.0.1","http://images.wikia.com/gtawiki/images/4/41/Tank-GTA2.png");
}
//Key Pressed//
public void keyPressed (KeyEvent e) {
int keyCode = e.getKeyCode();
if (keyCode == KeyEvent.VK_K){
forwardGear();
System.out.println("gear up");
}
if(e.getKeyCode()==KeyEvent.VK_S); {
reverseGear();
System.out.println("gear down");
}
if(e.getKeyCode()==KeyEvent.VK_W){
accelerate();
System.out.println("accelerate");
}
if(e.getKeyCode()==KeyEvent.VK_S){
decelerate();
System.out.println("decelerate");
}
//if(e.getKeyCode()==KeyEvent.VK_UP){
//int getSpeed();
//System.out.println("get speed");
//}
if(e.getKeyCode()==KeyEvent.VK_A){
turnLeft();
System.out.println("left");
}
if(e.getKeyCode()==KeyEvent.VK_D){
turnRight();
System.out.println("right");
}
if(e.getKeyCode()==KeyEvent.VK_SPACE){
fire();
System.out.println("fire");
}
}

}





Wednesday, 19 October 2011

DAT 203

Todays session we explored a new product and researched into a reactable table as it offeres a different visual view point and perspective to produce music



·         The reactable table is an interactive surface, which has introduced a revolutionary way to create music in the digital form.
·         Blocks are placed on surface to produce loops, delays, pitch modulation, oscillation and other electronic filters and rhythmic patterns.
·         The idea of the technology is to be able to visually create music, as well as using your fingers to create electronic music as opposed to using editing software.
·         Creates a very immersive experience for the user, and can be suited to many musical styles, allowing users’ who have no musical knowledge to experiment and create.
·         Has now been brought to iPhone and Android devices, enabling a cheaper version to all users of new generation phones.

AUGMENTED REALITY 
Learn about Augmented Reality (do some research) and reflect on the findings in your blog
• Produce an AR installation (similar to the Chair demo) using Junaio Creator and image recognition technology (Junaio GLUE)
• Present your results to others, put some smartphone screenshots on your blog and analyse/evaluate your results
Your final product will not be marked (your entire blog will be marked by Gianni)
• Since we have no time for 3D modelling, feel free to use any software (3ds Max, etc) to create your 3D object and then Blender to convert into the md2 format
• Also, you may use a 3D object from a library of 3D objects (but remember © , royalty free, references etc)
Try to be creative and develop something cool, funny, to be proud of ...
• Note that any image can be a tracking image (your photo, Coca-Cola logo etc)
• A clever integration of your training image and your 3D AR object is the key to the success.


What Is augmented Reality
A technology that superimposes a computer-generated image on a user's view of the real world, thus providing a composite view
  • Augmented reality (AR) is a term for a live direct or indirect view of a physical real-world environment whose elements are augmented by virtual computer-generated imagery.
  • The idea that an observer's experience of an environment can be augmented with computer generated information. Usually this refers to a system in which computer graphics are overlaid onto a live video picture or projected onto a transparent screen as in a head-up display.
  •  An interactive 3D environment that blends with our physical reality; the capability to link the virtual world with the physical world through for example a “superman vision” where a video image is superimposed with a 3D model of the same environment and adding hidden information ...
  • Links the virtual and real world through computer generated elements such as sound, video or image. Largely accessed via smart phones the Augmented Reality games or applications make elements of your physical location interactive in real time.
  • Reality with technological enhancements. Applications, such as Layar, provide additional information about your environment using your mobile phone camera. Online AR games are also based in the real world and are often in real time.


Uses of Augmented Reality


AR/Augmented Reality is widely used from day to day from gaming, the places we work, a game of football to even walking down the street. Games have taken of on smart phones, Andriod/Iphone and quite alot now include taking the real world and adding a virtual world layer over the top. Games such as Sky Siege show this in which the background of the game is displayed via the smart phones camera on the screen, then the game itself is overlayed on top. In this case it takes the sky as the background image and then over layers virtual helicopters in which you have to aim your phone around in the sky trying to hit them with rockets as they virtual move around the enviroment.



In the sense of walking down the street. AR can imbed the very enviroment your walking into a virtual world filled with information or even alter the place in which you occupy.  For example the following video shows how the buildings can change on personal prefence. Another example an information app that will use the smart phones camera to in real time scan the evniroment and then assoicate certain virtual overlays to buildings displaying information such as a shop name and there opening hours. Or maybe which taxi is free or how could a certain resturant is on food/drink or atmosphere.






With Smart Phones becoming so common there are thousands of applications avaialbe to use such as guides, information kiosks. Each with a seprate purpose such as locating nearby restruants or taxi's. Some even offering directions and distant to the object. For examples heres one to help you find you car, this can be found on the iPhone Applications store
Augmented Car Finder: a fun car finder that takes advantage of augmented reality technology to show you where you have parked your car. It’s not perfect but one of the better ones on the market.

 In a workplace sense, AR is displayed on how it can be useful in this video below. Product can be found on the andriod marketplace for download on smart phones. The app works by direct user input in sharing comfortable working places. The say that work is not just a place we go to, its more on the move now as it becomes our lives and they use this idea as a forfront for there app.



Another AR app that implements a facebook idea using the camera on a smartphone to scan a person face then will display a virtual web arround the of there information like a profile page as such.





AUGMENTED REALITY ARTISTS

 http://bernaekim.wordpress.com/2011/03/14/creativity-bytes-a-brief-guide-to-augmented-reality-art-exhibits/

G George
I looked into this artist because he adds another layer to Street Art using Augmented reality. in the same way a person would graffit over an object to give it new meaning, He does the same but with AR instead. So an object would appear as normal till using a smart phone app to view the object through teh camera will give the object a new layer.

 "G George is an example of street ARt inside a gallery. In Lab Art, a Los Angeles gallery, when placing street artist Kai Aspire's "Masked" (George Washington) in the camera view of your smartphone (Android or Iphone), the painting unlocks a piece of augmented reality art, or ARt. This kind of augmented reality | artistic interaction is an example of hypAR-reality, which implodes the distinction between the "real" and the "imaginary." Triggered from the "real" world, the virtual "art" can reveal another layer of meaning, which is in this case... the "g"angster street artist we always knew G George was."

 I really like this idea of adding personal touchs to world. Taking reality and adding your own virtual reality for people to discover.

Where did it come from?

The use of augmented reality in exhibition spaces is an emerging field, just beginning to take form and experiencing an experimental sandbox phase. AR artist Helen Papagiannis merges old techniques with new as she commingles the real with the virtual.



While artist Pablo Valbuena has been layering projected realities onto objects with his Augmented Sculpture series since 2007.



And then there’s the virtual reality hackers like global cyberartist group Manifest.AR whose members arranged the DIY AR invasion of MoMA last year—their hijacking of the physical realm via virtual technologies may seem entirely newfangled, but they have lineage with cross-disciplinary art groups like Neo-Dadaists Fluxus.

‘AR’ technology allows anyone to (re-)shape anything, anywhere!

IDEA

I would like to uses Augmented Reality to build a graffit playground using the smartphone. For example you could walk down a street and make your own virtual graffiti that will then save to phones data in which anyone with the app could walk down the same street and use the camera of there phone to get an virtual overlay of the street display there artworks as well as your own graffiti art works. If i had the knowledge and know how i would like to persue this idea but to due to time contstraints id like to make a more fun simplefied version. My would be to make a social database in which using a smart phone you could scan a friends face to the database which will be stored by facial recongisation. But my twist would be to then take this facial recongisation and use a image overlay over the persons face, such as an image that resembles there personality or maybe a cartoonised face to show a virtual world 2nd persona of them.


 

Monday, 17 October 2011

DAT 204

 Website Project

Project proposal presentations
– In front of class using the data projector – Use your website (what has been done so far),
blog, PowerPoint etc to explain your idea
... – Tell about HTML5 features to use and about your “killer” semantic application of the future
– Time – up to 10 minutes
– Mark – 10% of module mark (it will be marked out of 100%, your blog will not be marked)


 Presentation












 Code for Video Playback Html 5
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Dizzy</title>
<style>
* { margin: 0;}
body { font-family: helvetica; padding: 10px;  }
input { width: 50px; }
/*video, canvas { display: block; }*/
p { margin-top: 20px;}
</style>
</head>
<body>
  <video height="360" width="480">
    <source src="assets/dizzy.mp4" />
    <source src="assets/dizzy.ogv" />
  </video><canvas></canvas>
<p>
    <input type="button" id="play" value="play">
    <span id="position">00:00</span> / <span id="duration"></span>
  </p>
<script src="/js/h5utils.js"></script>
<script>
var video = document.querySelector('video');
var togglePlay = document.querySelector('#play');
var position = document.querySelector('#position');
var canvas = document.querySelector('canvas');
var ctx = canvas.getContext('2d');

addEvent(togglePlay, 'click', function () {
  video.playbackRate = 0.5;
  if (video.paused) {
    if (video.ended) video.currentTime = 0;
    video.play();
    this.value = "pause";
  } else {
    video.pause();
    this.value = "play";
  }
});

setInterval(function () {
  position.innerHTML = asTime(video.currentTime);

  // ctx.restore();
  ctx.drawImage(video, 0, 0, video.width, video.height, 0, 0, canvas.width, canvas.height);
}, 1000 / 15);

addEvent(video, 'ended', function () {
  togglePlay.value = "play";
});

addEvent(video, 'canplay', function () {
  video.muted = true;
  document.querySelector('#duration').innerHTML = asTime(this.duration);
  startCanvas();
});


function startCanvas() {
  canvas.setAttribute('height', Math.floor(video.height));
  canvas.setAttribute('width', Math.floor(video.width));
  
  ctx.translate(canvas.width/2, canvas.height/2);
  ctx.scale(-1, 1);
  ctx.translate(-canvas.width/2, -canvas.height/2);
  ctx.drawImage(video, 0, 0, video.width, video.height, 0, 0, canvas.width, canvas.height);

  // var mirror = canvas.height * 0.6;
  // var grad = ctx.createLinearGradient(0, 0, 0, mirror);
  // grad.addColorStop(0, 'rgba(0, 0, 0, 0.5)');
  // grad.addColorStop(1, 'rgba(0, 0, 0, 1)');
  // ctx.fillStyle = grad;
  // ctx.rect(0, 0, canvas.width, mirror);
  // ctx.fill();
  // ctx.save();  
}

function asTime(t) {
  t = Math.round(t);
  var s = t % 60;
  var m = Math.round(t / 60);
  
  return two(m) + ':' + two(s);
}

function two(s) {
  s += "";
  if (s.length < 2) s = "0" + s;
  return s;
}
</script>
</body>
</html>



Code Template made for html 5 website with Vladamier


<!--Student Party Markup Language-->

<!--Party Language created by Tom Piercey-->

<Students-for-Party>
   <Party>
      <Invites> 40 </Invites>
      <Drinks> Morgan Spice Rum </Drinks>
      <Attire> Pirates </Attire>
      <Location> North Hill </Location>
   </Party>

   <Party>
      <Invites> 70 </Invites>
      <Drinks> Barcadi </Drinks>
      <Attire> Black Tie </Attire>
      <Location> Mutley </Location>
   </Party>

    <Party>
      <Invites> 20000 </Invites>
      <Drinks> Vodka </Drinks>
      <Attire> Festival </Attire>
      <Location> Glastonbury </Location>
    </Party>

</Students-for-Party>

Wednesday, 12 October 2011

DAT206

Inflatable Dome


Brief:


Ideas:


Earth
Section of the world cut out from the inside out, the dome would allowed us to explore different layers of the earths crust. In which we could essentially peel away the layers of the earth and explore the different sections such as the mantle, crust, core, etc... 


Development on this idea:


We had thought to scale down our idea to a view of Plymouth in which we could explore it using the movement idea, for example something similar to google maps. From this would could have landmarks as the hoe in a 3d scalable map where the user can explore the area.


Movement
The dome offers a 180 degree curved view of a computer screen so another idea we came up with was to produce some kind of exploration game in which using keyboard commands would let us explore a world in which we would create. For example undersea using the domes curve as the front window of a submarine, trying to make it as immersive as possible.


Development on this idea:


Taking our Earth Idea and Movement we realised that we had to make more of the Dome and come up with something different. So taking the Earth mapping idea of plymouth and also the idea of peeling away the layers of Earth, the idea of using the human anatomy as idea, where we could explore the human body in the domes perspective. travelling down veins and organs of the human body.


Human Body Idea:


Image resources url: http://video.shutterstock.it/video.html?id=344116
Video resources url: ttp://ryanericsongcanlas.wordpress.com/2009/07/09/medical-video-the-human-autopsy/








Monday, 10 October 2011

DAT 202 - GoLIve

Creative Industries


Marketing Project


Brief

AUTUMN TERM: GROUP MARKETING PROJECT (35%)
The brief will be delivered in detail during the Week 2 lecture on Monday 3 October.
"Each group will present itself via a live website as an independent media company or digital arts agency/organisation. Whatever form it takes, each group must ‘sell’ its products or services by demonstrating its professionalism and excellence through superior web content and effective marketing, such that it will immediately attract and impress any potential client or visitor to the site. The information presented must be based as far as possible upon actuality, so that you are really demonstrating the combined skills of the members of your group".

Wordpress contains group colibration http://wordpress.com/#!/my-blogs/
login: idat202creativeindustries
password: idat202


Ideas for Marketing Ourselves:
Geolocation Appliaction on devices such as andriod phones. This would follow upon mapping with custom map development in which for example photos could be taken by the user and uploaded to the app in which a dynamic area view could be produced. Another Idea was to use the big screens that can be found in major cities, such as Plymouth, as a viral marketing dynamic display for local buisness/charieties as a promotional tool. Running on the idea of promotional marketing we did look at projection and QR codes, for phones, the idea or coupons to promote festivals, public evens. These could be implemented into bus stops, Cinema adverts, mobile phones etc...


Main Idea 1
Taking pirlimary ideas of andriod apps with we are going ahead and using the andriod platfrom to market ourselves. The idea of geolaction and mapping leads to a whole range of ideas that could be made. From producing personal 3D maps for the user to going into detail information such as shop opening times, when its busy and when its not. The possibilest are endless.
.




Plans for Developing. Website or Andriod App?
Produce working demo on the Andriod and film video of it being used for audience viewing. Below are images showing how geolocation can be used to track the user and a detailed map can be built around there location.







Target Audiences to think of?
-Industries
-Nightclubs
-Resturants
-Traffic
-Shopping Centres
-Football Grounds
-City Centres/Town Centres
-Events such as sporting and festivals

Geolocation to think of?
Local - Plymouth - Francis Drake Circus/Shopping Centre, City Centre, Plymouth Argyle, Plymouth University Campus, The Hoe, Barbican, Further afar Locations?

Main Idea 2
Devoloping Dynamic adverts and promotion for Local Buisness, as mentioned previously we wanted to use the Plymouth Big Screen for Viral Marketing. Rather than using the QR codes as a promotional means. So the Plan is to use the big screen to run promotion for local events and buisness. Such as youth clubs and local festivals, Charties, local groups etc...









Websites to look at consisting of Plymouth business listings, events and directories

websites to look at http://www.thisisplymouth.co.uk/home events


Competition
http://n9design.com/index.php N9DESGIN
http://www.realfusion.co.uk/ RealFusion
http://www.crunchcreative.co.uk/ CrunchCreative
http://data.axmag.com/submit.html flash app


http://www.bluelollipopmedia.com/index.html
Advertise graphics, motion graphics, videos on TV screens split among 20 buses to an approximated audience of about 80,000 people. This might be an idea worth investing time into, it provides a perfect setting to advertise. Sat on a bus with not a lot to do, so a TV to sway the bus riders attentions to whats on screen rather than a dreary monday morning setting as one heads of to work.


In general a lot of advertising ages based in Plymouth seem to be based towards producing marketing advertising and branding. meaning we need to make ours wholly unique to the competition, what makes us different from them?We want to make our advertising dynamic? so we need to look in how our advertisement is going to be different from everyone Else's looking at this word "Dynamic".



Adjective:

(of a process or system) Characterized by constant change, activity, or progress.A force that stimulates change or progress within a system or process.

Most of these local companies advertise outdoors as well as online, such as bus stop and bus banners and also billboards, Other areas we need to consider are; PR, Design & Print, Tv & Radio, Web Design, Digital Design


We have to bare in mind Social Media is the future of online marketing,
2011 has been a huge year for social media, and both agencies and in-house marketing teams alike have ploughed thousands into social media marketing. Google loves social and puts a lot of faith into signals from Facebook, Twitter and other social bookmarking sites.
Google have even launched their own social network, Google+, and can’t say enough about it. The number of +1s a site gets is already a big ranking factor and this will increase in prominence as Google moves away from traditional links.












Big Screen








 BIG SCREEN QUOTE "Big Screen Plymouth is in Armada Way, at the heart of the city's pedestrianised shopping area. The Piazza is a busy public square which acts as a focal point for many city events from food festivals to tea dances. The Big Screen is a fantastic showcase for local film-makers, artists and community organisations. Every year during Wimbledon seats are laid out and the Piazza is transformed into a mini centre court, where people can watch the tournament live on the Big Screen. World class opera is also on show every summer when free screenings are laid on live from the Royal Opera House at Covent Garden. And 2012 promises to be an amazing year of events linked to the London 2012 Olympics - with the Big Screen set to become the best place in Plymouth to watch the Games unfold. The BBC is working closely with Plymouth City Council, Plymouth City Centre Company and the organisers of the London 2012 Olympics to expand the range and diversity of activities on offer."






Current Events on the BBC big Screen Plymouth



Fotonow - Monday 24th October - A showcase for the community based photographic and film projects run by FotoNow in Plymouth's West End during the Summer of 2011. Plus another chance to have your portrait on Plymouth's largest screen with the return of FotoNow's Big Screen photo booth. Join us between 10am and 12.30pm.
The Handcuff King - Thursday 1 December, 5.30pm - Plymouth Visual Arts Consortium presents a special screening of ‘The Handcuff King’. In 1909 the escapologist Houdini commissioned shipwright joiners from Devonport Dockyard to make an inescapable box for his act at the Palace Theatre, Plymouth. Artist Beth Emily Richards has been working with a local locksmith and shipwright joiner to create a contemporary version of Houdini's performance. The video work, commissioned for the Plymouth Art Fringe, shows Beth performing an ‘inexact re-enactment’ of Houdini's act.
Plymouth Aural Survey - Sunday 4th December, 12.30pm - Explore how people navigate the city of Plymouth whilst listening to personal music devices. The animated audio-visual canvas visualises listening trends among pedestrians and how they link to the individual journeys of those taking part. A Plymouth Art Fringe project by ‘Come To Ours’.

Big Screen Location


Contacting The Big Screen




email to the big screen


 
23 November 2011 09:41
Hi Thomas. Thanks for getting in touch. Where possible we are always
very keen to make the Big Screen available for student projects. However
everything we show in a public space such as this has to compy with the
BBC's editorial guidelines. I'm afraid commercial advertising is an
activitiy we are unable to get involved in - the only exception to this
is with a handful of Olympic sponsors who have helped pay for the Big
Screen. I'm really sorry to send back a negative response, but I'd be
happy to talk through any other ideas. For guidance I've attached a copy
of our content guidelines. Good luck with the project.

KEVIN


Kevin Heathorn
Producer, Big Screen Plymouth

Office: Internal 01 34922  External 01752 234922

Mobile: Internal 071 34922  External 07715 797418

BBC South West
Broadcasting House
Seymour Road
Plymouth
PL3 5BD
www.bbc.co.uk/bigscreens


-----Original Message-----
From: Hayley Chapman
Sent: 23 November 2011 09:21
To: Kevin Heathorn
Subject: FW: Big ScreensContact Email from the website

Morning Kevin,

One for you please

Thanks
Hayley

-----Original Message-----
From: thomas.piercey@students.plymouth.ac.uk
[mailto:thomas.piercey@students.plymouth.ac.uk]
Sent: 22 November 2011 18:02
To: M&A Big Screens SOC Team
Subject: Big ScreensContact Email from the website


Someone has completed a form on  page:

Sender's name:  Thomas Piercey
Sender's email: thomas.piercey@students.plymouth.ac.uk
Sender's phone:
Sender's age:  
Selection:     

Sender's message:
        Hi,

I'm contacting you to enquire about the usage of the big screen in
Plymouth city centre.

I am a University student who has been asked to create a conceptual
business that uses technology to provide a service.

Our conceptual idea is to utilise the Plymouth bigscreen, to create
dynamic advertising for local businesses, using ever changing RSS feeds,
that implement an advert that changes accordingly to sales/seasons.

We're emailing to enquire whether this is a project that could, in
theory, be set up on the big screen? For the presentation we have to
present for the module, we could ask for an approval letter from you to
show our module leader?

Looking forward to hearing from you,

Thanks,
Thomas Piercey


All personal information supplied is held securely by the BBC and in
accordance with the Data Protection Act 1998. Your details will not be
used for any other service.


We have an attached Guideline pdf supplied by the BBC in how to set it up


The main problem now is that the BBC will not allow advertising onto there big screens unless its via there sponsors being the olympics 2012. So a way to solve this problem might be to use projection, using high powered projectors to show our advertisement on the side of buildings. For example looking into 3d mapping advertisement,





Cuba - Yellow and green
Firefly - Green
Fresher and Professor









Branding
"Go live"  -Flowing-Dynamic-Promotion-

Website Design

Simplistic. Html5. Canvas

Simple,Clean,to the point, easy to read.

Pictures of mock ups and design so far. to do.