Difference between revisions of "Pendulum"

From Chumby Wiki
Jump to: navigation, search
(New page: == Project Description == This is a sample widget that utilizes the accelerometer to simulate a pendulum. Source files are included to enable you to build this widget using [[FlashDevelo...)
 
(Project Description)
 
Line 1: Line 1:
 
== Project Description ==
 
== Project Description ==
  
This is a sample widget that utilizes the accelerometer to simulate a pendulum.  Source files are included to enable you to build this widget using [[FlashDevelop]], the free Flash development environment.
+
This is a sample widget that utilizes the accelerometer to simulate a pendulum.  You must run this widget on a chumby and move the chumby to swing the pendulum. Source files are included to enable you to build this widget using [[FlashDevelop]], the free Flash development environment.
  
 
== Usage ==
 
== Usage ==

Latest revision as of 15:33, 30 April 2008

Project Description

This is a sample widget that utilizes the accelerometer to simulate a pendulum. You must run this widget on a chumby and move the chumby to swing the pendulum. Source files are included to enable you to build this widget using FlashDevelop, the free Flash development environment.

Usage

Open Pendulum.fdp in FlashDevelop and build the project.

Source

The complete source code can be downloaded from here: pendulum.zip.

Run it on your chumby

Once pendulum.swf is built, you can upload it as your own widget. Further instructions for testing locally are outlined in FlashDevelop/Example or see Chumby_tricks#Mixing_local_widgets_into_a_channel