monstercameron 0 Light Poster

in the specific element use overflow:scroll;

monstercameron 0 Light Poster

glbasic- basic language, pgame - python and love2d - lua. all are cross platform and relatively easy to learn!

monstercameron 0 Light Poster

www.thinkteletronics.com

monstercameron 0 Light Poster

Hey,explain your problem with full details,because in this way no body is going to know what your problem is.

yeah i figured it out the page wouldnt load because i had <script></script> as <script />

monstercameron 0 Light Poster

http://www.thinkteletronics.com/experimental.htmi have written some javasript code to play an animation with sound and all paths should be working yet nothing is displayed...chrome/ff4/ie8 wont show any anything.

monstercameron 0 Light Poster

Did you write this or copy it. If you copied it, then you need to learn javascript and stop asking people what you want. We are here to fix problems that people have on there codes, not code that people copied and have no idea how it works. Sorry for being rude.

i am not asking you to code teh program for me, it works barely. all im asking is for tips to make my code better.

monstercameron 0 Light Poster

i got the code for the animation, then modified it for a volume of images, then i added all the other code myself. i just started college and will be doing prog langs but at teh moment i am self thought. so stop giving me crap and leave a positive/useful comment

monstercameron 0 Light Poster

what i also want to do is have javascript parse an xml file with all the image files

monstercameron 0 Light Poster

this code makes a slideshow(a very long fast slide show, video), it plays audio and can adjust its frame size.
i have 4 streams(4 diferent groups of jpegs from 4-50kB @720x480), and can switch between them.
audio is nearly automatically in sync and both it and the "video loops".
using chrome task manager i can see bandwidth usage (albeit form local disk) @ 900 KBs. 30 jpegs per second (at lowest quality) 30*5=150KBS + audio (mp3 700kb @ 128kbps)? maybe its loading more than what is needed?

a few useless variables and i dont know how to use functions.

i want also to:
stop the audio
image overlay for the video (with a play button with event onhover)
interactive progress bar for audio(so the images could sync with the audio)
slow down or speed up video and audio
easy way to implement rollover images(for buttons)
proper fulscreen
independent element resizing(like browser text field)
caching and prefetching frames
have multiple audio support(like i have with my bandwidth button)

**note i dont have any html s/w been using notepad/gedit!
**note files can be found here

// JavaScript Document
var stream = 1;
var streamval = 1;
var c = 1;
var current_c = c;
var state = 0 ;
var frame = " " + "(" + c + ")" + ".jpeg"; 
var Frate = 1;
var frame_rate = 45;
var max_frame = …
monstercameron 0 Light Poster

what about one of these...maybe in the lid.
http://www.arduino.cc/en/Tutorial/UltrasoundSensor

monstercameron 0 Light Poster

there must be some digital scale, that has a terminal access

monstercameron 0 Light Poster

oh no (wait do you have s10 3t?) i have a dell mini 9 (classic) and i use nbr 10.04 and meego 1 (was using moblin b4) and yes neither support my braodcom wifi card (duh). oh and chrome os wurks (from hexxeh flow)

monstercameron 0 Light Poster

i dont have this problem when i do it, maybe you messed up important system file without even noticing?

monstercameron 0 Light Poster

maybe a digital scale under neath the bin?

monstercameron 0 Light Poster

install windows then install ubuntu, grub will be installed which offers dualboot

monstercameron 0 Light Poster

meego meego meego, what has nokia got up its sleeve

monstercameron 0 Light Poster

this is an idea i have seen over the web
but on the web the took cellphone and used the circuitry with the glove
my idea is to have hand gestures control the glove, and something like...maybe deaf texting (sign language input)

i drew up some plans visit these links:

low-res from picasa
http://lh5.ggpht.com/_h4fpZ3Gsf10/TKJ9JSX1FFI/AAAAAAAAAPY/dMdnye4SBf8/s576/9-28-2010%207;35;20%20PM.JPG

my picassa account
http://picasaweb.google.com/mr.e.cameron/Concepts#5522113691613729874

glove phone thought stream

hand gesture modes
bluetooth comm
gsm
flexible led/e-ink
touch sensitive buttons
high end glove material
builtin watch
vibration
accelerometer
gyro
compass
sign language

monstercameron 0 Light Poster

check my posts out , i doubt they are original but just started typing!
http://www.daniweb.com/forums/thread306533.html
http://www.daniweb.com/forums/thread304844.html

monstercameron 0 Light Poster

what are your thoughts and is it original?

using ratios to retrieve relevant pixel data (note would be good for greyscale)

255,255,255 ... 255+255+255=765 ... 765333 = 765 / 3 = 255 ... program know it means 255,255,255

123,245,32 ... 123+245+32=400 ... 400-3.25,1.63.12.5(<--- problem) |400-(3.25)-(1.63)-(12.5) = 400 / 3.25=123.08 -- 400 / 1.63=245.4 -- 400 / 12.5=32

125,125,125 ... 125+125+125=375 ... 375-3(the first three characters are the sum of the rgb values and subsequent values are the rgb respective ratios within the sum)...

0,125,125 ... 0+125+125=250 ... 250-22 ... 250/0 = 0 -- 250/2 = 125 250/() = previous value

0,125,0 ... 0+125+0=125 ... 250-2- ... 250/0 = 0 -- 250/2 = 125 250/0 = 0 = 0,125,0


0,255,255, 125,125,125 ,0,25,25  ,  510-22 ,375333 ,050-22  ,  5102 ,3759 ,0502 (sum must have three place values)

255,255,255 ,0,125,125 ,25,25,25 ,  765333 ,250-22 ,075333  ,  7659 ,2504 ,0759

255,0,255, 125,125,125 ,25,0,25  ,  5102-2 ,375333 ,0502-2  ,  5106 ,3759 ,0506

255,255,255 ,125,0,125 ,25,25,25 ,  765333 ,2502-2 ,075333  ,  7659 ,2506 ,0759

255,255,0 ,125,125,125 ,25,25,0  ,  51022- ,375333 ,05022-  ,  5105 ,3759 ,0505

255,255,255 ,125,125,0 ,25,25,25 ,  765333 ,25022- ,075333  ,  7659 ,2505 ,0509

0,0,255 ,0,125,0 ,25,0,0         ,  255--1 ,125-1- ,0251--  ,  2553 ,1252 ,251

0,0,0  ,  0

9 = 333
8 = 33
7 = 2
6 = 2-2
5 = 22-
4 = -22
3 = --1
2 = -1-
1 = 1--
monstercameron 0 Light Poster

How a browser do that on a webpage???

ever heard of webgl...well apparently you can display 3d content via javascript, yuo should check it out...chrome dev preview/mozilla latest alpha. my argument is that why not -like images or videos- display 3d files directly within html, with out extensive javascript know how.

monstercameron 0 Light Poster

this is how 3d in html should have been done!

displaying 3d models is the easy part...then using javascript, python, actionscript or java the edit the scene

the tag "3dobject" denotes a single 3d file solely for viewing

the tag "3dworld" denotes a list of 3d files within a world to be interactive and scripted

<3dworld type=(rasterized/raytraced) id= name= class=> <3dobject src=(obj,colada,3ds) height= width= depth= /> </3dworld>

monstercameron 0 Light Poster

i had an idea to make my own file formats but... have nearly zero coding experience.
the image is just text which a program would parse and receive relevant pixel data from it(like xml based stuff). i wrote up some plan for the file:

`meta data
[(title)test image]
[(date)1,1,2010]
[(gps)25.691053,-80.306947]
[(taken by)kadak powerful cybershot d890]
[(resolution)7,2]
[(compression dictionary)34.t,a.67,c.25,d.23,]

`example [(resolution)640,480/vga] will use resolution to detect where the line ends
`a peroid is used to seperate sub-pixels and a comma is used to seperate pixels
`an uncompressed string of characters @ 143 letters

[255.255.255, 234.123.153, , 1.1.1, 255.0.0, 0.255.0, 0.0.255, 167.125.223, 250.252.255, 99.99.99, 210.210.210, 25.23.67, 25.23.67, 167.125.223,]

`color description
`white,orange,alpha/empty,black,red,green,blue,,mauve,off-white,2/3-gray,1/3-gray,dark-purple,dark-purple,mauve

`{} inside is where the difference takes place

`level 1 compression "primary colors"
`{ W }, 234.134.34, , { B , r , g , b },, 167.125.223, 250.252.254, 99.99.99, 210.210.210, 25.23.67, 25.23.67


`level 2 compression "nearest 5" to a primary color (r5 means r = 255 - 5 = 250)
`W, 234.134.34, , B,r,g,b, 167.125.223, { r5 . g3 . b1 }, 99.99.99, 210.210.210, 25.23.67, 25.23.67, 167.125.223,


`level 2.5 compression "grayscale" can be done using level three plus techniques
`W, 234.134.34, , B,r,g,b, 167.125.223,,r5.g3.b1, { W99, B210 }, 25.23.67, 25.23.67, 167.125.223,


`level 3 compression "repeating characters". see compression dictionary
`W, { 2t, 1t, t }, , B,r,g,b, { 1a , 1c , 2d },,r5.g3.b1,W99,B210, { c .d .a }, { c .d .a}, { 1a .1c .2d} ,


`level 4 "next door neighbour" if the pixel from the …
monstercameron 0 Light Poster

there are many OCR programs out there...i got one w/ my dell printer, not hte smartest programs though

monstercameron 0 Light Poster

cant decide which is best, caanoo has the best specs, dsi has the most fun games, and the psp go looks the slickest...can you see my dilema.

monstercameron 0 Light Poster

i've been thinking, what is the easiest way to make a game...flash(albeit mostly 2d). what platform has the most games... any thing w/ flash suupport. what format has the most devs...flash. look at kongregate, miniclip, armor games, they recieve a new game everyday. there are alot of markets out there...open pandora and gp2x has got emu crowd, ds has got casual gamers and psp the rooad going hardcore crowd. but the teh ds has the casual crowd...so how could some other company event try nintendo? well the casual market makes up(in my opinion)90% of the global gaming audience. so what if flash was the main game format for a handheld? i am visualizing a linux based os w/ tight integration with a flashplayer (swfdec, gnash, flash player) on an arm processor (omap?) either a touch only interface w/ multi touch capacitive disp or std dpad and 4 button layout w/resistive touch disp. what are your thoughts

there is lightspark as a oss version of flash player with ogl acceleration

monstercameron 0 Light Poster

flash is pretty good

monstercameron 0 Light Poster

i've been thinking, what is the easiest way to make a game...flash(albeit mostly 2d). what platform has the most games... any thing w/ flash suupport. what format has the most devs...flash. look at kongregate, miniclip, armor games, they recieve a new game everyday. there are alot of markets out there...open pandora and gp2x has got emu crowd, ds has got casual gamers and psp the rooad going hardcore crowd. but the teh ds has the casual crowd...so how could some other company event try nintendo? well the casual market makes up(in my opinion)90% of the global gaming audience. so what if flash was the main game format for a handheld? i am visualizing a linux based os w/ tight integration with a flashplayer (swfdec, gnash, flash player) on an arm processor (omap?) either a touch only interface w/ multi touch capacitive disp or std dpad and 4 button layout w/resistive touch disp. what are your thoughts

monstercameron 0 Light Poster

...or what if two images were rendered, a low quality one for something like color mapping for the black and white render?

monstercameron 0 Light Poster

dont know much about programming will study soon but have so many questions...i was recently researching voxels and see some advantages, i noticed that they are like bitmaps but with a third dimension, so wouldnt this be true if all voxels didnt have color wouldnt the file be smaller as opposed to a voxel model with color (like a bitmap)?...so ray tracing, wouldnt a render be quicker if a ray tracer engine didnt compute color values...then used some algorithm the put color back into the image after rendering it?

monstercameron 0 Light Poster

yeah but thats why it would be good, since there are so many words and ways to define a program

monstercameron 0 Light Poster

just an idea ...im not a programmer yet starting college aug. c++ and java both have complex syntax and i cant learn on my own, python is good but not supported aswell and basic is really basic any more thanks to object oriented stuff

English the programming and scripting language

files are organized as books

-table of contents - quick access to chapters (organizational purpose)
-intruduction - contains licenses,code developers and other non esential data
-code
-chapters - contains different aspects of the program physics,3d,sound,input etc.
-paragraphs - block of code
-sentences - contain specific code
-bibliography - linked libraries and code from other sources
-thesaurus/dictionary - contains all variables and definitions

syntax

hello world

python:

print "hello world"

message = "hello world"
print message

English:

print text hello world.

message is hello world.
print message.

English:
will play sound if the mouse clicks on button

| line 34 | load image button.bmp and sound ping.wav // or load images button1.bmp, button1.bmp and sound ping.wav etc. //. Draw the image button.bmp to coordinates 320 and 240. If the mouse left click
| line 35 | on button1.bmp //or button1 is button.bmp// then play sound ping.wav //or ping is ping.wav//.


creates calculator

//note variables will be in thesaurus//
input 1 is null
input 2 is null
current display is null

monstercameron 0 Light Poster

trying to make an mp3 player applet of sorts that will index a folder on my local media and make a list, which its adresses will feed into the audio tag (using chrome beta), but im stumpedat the html and know very little javascript! help!

monstercameron 0 Light Poster

The problem might be the double "input" on the previous line. You did not state that there was an error in the first post, and to get any more help you will have to post the exact error message as well.

if option==1:
        whatsdaradius(input(input("enter a circumference: "))
    if option==2:
        radius2pie(input("enter a radius (ie.half diametre): "))

ok i see my problem look at option 1 insidewhatsdaradius(INPUT(input())
the are two inputs, fixed it and it runs but no when i enter a value at ondamenu it starts over and i enter it again and the it works,?!???and how would i clear the screen?

monstercameron 0 Light Poster
if option==3:
        active<>"on"

This will print "True" if active != 'on' and print "False" otherwise. <> has been deprecated so use "!=" instead. I think you want

if option==3:
        active = "off"

Also you can simplify the following code.

if option<>1 or option<>2 or option<>3:
        ondamenu()
##
## can also be written as
    if option not in (1, 2, 3):
        ondamenu()

its option==2: thats being highlighted!???

monstercameron 0 Light Poster

need help correcting! first day,first 2 hours, first python program,(only had a little dark basic)

active="on"
def ondamenu():
    print ""
    print "enter integer 1 or 2"
    print ""
    print "opt.1 find the circumference"
    print "opt.2 find the radius"
    print "opt.3 quit calculator.py"
    print ""
    return input ("enter your choice: ")
def whatsdaradius(circval):
    pie=3.14159265358979323846264338327950288
    total=circval/pie
    print circval,"÷",pie," = ",total
def radius2pie(radval):
    pie=3.14159265358979323846264338327950288
    total=radval**2*pie    
    print radval,"^2","x",pie," = ",total
while active=="on":
    print "welcome to circle pro calculator.py"
    print ""
    ondamenu()
    option=ondamenu()
    if option==1:
        whatsdaradius(input(input("enter a circumference: "))
    if option==2:
        radius2pie(input("enter a radius (ie.half diametre): "))
    if option==3:
        active<>"on"
    if option<>1 or option<>2 or option<>3:
        ondamenu()
    print "thank you!"
    print ""

ts pretty readable, but its supposed to be a calculator for finding radius or circumference and loops with a while active is on