Thursday, March 12, 2015

openstreetmap osm roads data to html5 arrays 3D car sim

json_osm_chung is an open source realtime online converting openstreetmap servers osm real roads data to html5 arrays to use with a game or in this example to draw on a graphical canvas or 3D webgl. Use the arrow keys to move or select one of the presets locations. recreate any real roads + buildings places in the world . mixed with google static maps satellite ground images , water terrain detection , srtm terrain heightmaps, trees , lamps,  and webglcarsimheight  a small free 3D driving car simulation game. Can  run on a small netbook. works better with firefox .

how does it work ? In osm, you have ways and nodes. A way is a line of nodes, nodes composed by latitude and longitude . A way can discribe a road, a building contour, a forest contour, an airport ...  All this is available online in realtime via json javascript api .(nothing to install)

explore real 3D world in your car 

=> json_osm.html     (roads)

=> jsonosmall.html    (roads+buildings)

=> json_osm_webgl.html   (roads+3D webgl)

=> json_osmall_webgl.html   (roads+buildings+3D webgl+google static maps)

=> json_osmall_webglcar.html  (idem+car)

=> json_osmall_webglcarsim.html  (idem+car simulation+trees)

=> json_osmall_webglcarsimheight.html   (idem+car sim+trees+terrain height+lamps+forests)

=> json_osmall_webglcarsimheight_shadow.html   (idem with shadows shaders)

open source code => https://sourceforge.net/projects/jsonosmchung/

desktop enhanced version  in freebasic
=> http://chungswebsite.blogspot.fr/search/label/freewebcar_chung

 (15/04/2015) sea shader added
(04/06/2015) cars traffic added
(09/06/2015) mouse on screen control added
(30/06/2015) click on google maps to teleport
(03/07/2015) eiffeltower,libertystatue,christrio,domerock,gizah,capitol,tajmahal,buddah added
(12/07/2015) fog added
(15/07/2015) rocs added
(19/07/2015) draw far land added
(20/07/2015) mystreetview added (shif+M)
(21/07/2015) ascend mode (climb walls) added (A)
(23/07/2015) clouds shadow added










Sunday, January 18, 2015

mywebglflight free 3D webgl / bing static maps flight simulator

here you can find my open source online 3D webgl flight / car simulator with shaders (nothing to download)
arrows : turn    pageup/pagedown : motor    H : help
Comes with a small riding hack & slash fighting game forest_chung with trees, grass, rocs, monsters
You can also go to any place around the world with bing static maps earth satellite images (shift+G flyto). Fly over africa with 3D moving horses, zebras, elephants, girafes, antilopes, birds. Can run on a small netbook .

works better with firefox32, also with chrome, not ie11(no webaudio),don't forget to enable javascript

=>  http://chungswebsite.blogspot.fr/p/mywebglflight_srtm.html   (with srtm data & dogfight & car)

=>  http://chungswebsite.blogspot.fr/p/mywebglflight.html 

=>  http://chungswebsite.blogspot.fr/p/mywebglflightold.html

=>  http://chungswebsite.blogspot.fr/p/forestchungold.html

test if you can run webgl =>  http://get.webgl.org/
   
(12/10/2014) web audio api sounds instead of html5 audio
(13/10/2014) yougo, grece, hawai, japan added
(15/10/2014) skydome added
(17/10/2014) egypt, vietnam added + real weather
(20/10/2014) raindrops on cockpit added
(22/10/2014) optional game save cookie added
(23/10/2014) joystick and gamepad supported
(25/10/2014) foot mode added
(11/11/2014) forest_chung small hack&slash version added
(14/11/2014) small jscompile_chung javascript compressor / compiler added
(18/11/2014) resize window support
(17/01/2015) worldwide google static maps satellite images added
(18/01/2015) flyto geolocation added
(21/01/2015) many preset places added
(25/01/2015) draw airports added
(26/01/2015) tanks added
(28/01/2015) buildings added
(30/01/2015) cssscale added (lowerres<=>faster)
(01/02/2015) faster rotates for fps<10
(03/02/2015) alphajet added
(16/02/2015) satellite srtm elevation data added
(18/02/2015) start/stop dogfight added (shift+D)
(23/02/2015) wild horses added
(25/02/2015) minimal cockpit added
(01/03/2015) elephants, girafes, zebras, antilopes, birds added
(04/03/2015) car mode added
(24/06/2018) bing not google


source  =>  https://sourceforge.net/projects/mywebglflightchung/



Monday, December 22, 2014

chatbot_chung free simple keywords entertainment chatbot

chatbot chung is a keywords based probabilities algorythm simple entertainment chatbot with 3D talking openGL avatars written in freebasic. It generates random questions/answers according to the input keywords or text but can import aiml simple question/answer or question/random/answers or single star/ multi srai data saved from "AIML_chung" open source application . Comes with a html5 and pure javascript online version (with auto detection of 44 multilanguages support include english, autodetect, francais, german, italian, spanish, greek, russian, arabic, chinese, vietnamese ...) .

click here =>  https://sourceforge.net/projects/chatbotchung/      (9 Mo include html files)

note: desktop version is the more recent (AIML, SORT gentext )

online html5 version =>  chatbot_chung.html    (nothing to download, speaks with firefox & chrome)
                                                                            (added voice recognizing on google chrome)
                                                                            (added wikipedia online data)
with lowpoly model =>  chatbot_chung2.html    
the plus : more various answers , easy to add content to the current 90000 questions/answers data

full large version =>  https://chungkn1400.github.io/.../chatbot_large_iframe.html    

   (01/01/2015) single star (aiml) import added
(01/01/2015) export data to javascript added (ctrl+J)
(02/01/2015) html : yandex multilingual auto detection translate added  (en,fr,es,de,it,...)
(12/01/2015) aiml single srai & star support added
(03/09/2015) aiml multi srai  support added
(05/09/2015) aiml set vars, get vars added
(08/09/2015) aiml condition tag support added
(10/09/2015) say "battledome" then "fight" test added
(11/09/2015) aiml simple <that> tag test added
(14/09/2015) voice recognition added on google chrome
(15/09/2015) wikipedia online data added to html version
(19/09/2015) wikipedia unlimited data added to the freebasic version



Sunday, December 7, 2014

forest_chung free webgl 3D fps / horse riding hack & slash game

forest chung is a free html5 webgl 3D fps / horse ride hack and slash exploration / fighting game written in javascript with shaders and vaste random procedural world, trees, grass, rocs, water, monsters, woman riders you can chat with chatbot_chung multilingual when they are near .

online game (nothing to download)
(works with firefox, Chrome, not iexplorer(no webaudio), others: to try)
 =>  http://chungswebsite.blogspot.fr/p/forestchung.html

source code => https://sourceforge.net/projects/forestchung/

test if you can run webgl =>  http://get.webgl.org/

(12/11/2014) river added (14/11/2014) small jscompile_chung javascript compressor / compiler added
(16/11/2014) ride horse added
(18/11/2014) resize window support
(21/11/2014) forest_chung fast rotate added for low fps
(06/12/2014) fighting 3D skeleton rider added
(09/12/2014) desert added
(12/12/2014) skeleton sprite animation from perso3D_chung added
(14/12/2014) birds added
(15/12/2014) css scalex (lowerres / faster) added
(16/12/2014) barbare woman rider added
(17/12/2014) woman jean rider added
(05/01/2015) chatbot_chung with near women riders added
(07/01/2015) auto resize screen supported
(04/12/2015) new grass, wild horses added


Thursday, July 31, 2014

html5 + custom streetview at Deauville

go to Deauville - Trouville - Tourgeville with this html5 + custom street view  , or go anywhere in the world with click on the map !
(combo => select place /  arrows => move  / M=> map / H => help)

click here => http://chungswebsite.blogspot.fr/p/mystreetview.html

download source here
=> https://sourceforge.net/projects/mystreetviewchung/    

(21/03/2016) html5 position storage memory added

   

Thursday, July 10, 2014

html5 + jsc3d + face3D_chung animation demo

here you can find a demo of html5 canvas + jsc3d + face3D_chung 3D obj model animated avatar from photo (free open source) + google translate TTS text to speech + eliza like chatbot (pure javascript , no WebGL required )
(TTS function: Chrome only, Firefox & ie11 : not always)

=> _face3D_chung_say_drive.html 
=> _face3D_chung_elizabot.html    (eliza based online chatbot )
=> _face3D_chung_sashabot.html  (idem with another avatar )
=>   womanjean_elizabot.html  (idem with lowpoly avatar )


 "*" => repeat last input
  ""  => autochat
(17/07/2014) now you can enter only the first letters of words
(19/07/2014) eval(...) key added from javascript eval() function , so you can insert pieces of javascript program allowing all javascript Maths String and Conditional features in key/pattern/result (see 'whats my name' / 'my name is' example in myelizadata.js)
(20/07/2014) var elizaredir added, if not empty, resubmit with input=elizaredir (20 times max) see test example


Wednesday, July 9, 2014

vk_keys for javascript

here you can find a small vk_keys keyboard charcode constants listing to embed in your javascript applications
=> http://chungswebsite.blogspot.fr/p/vkkeys.html

Monday, June 30, 2014

Tuesday, June 3, 2014

face3D_chung free 3D obj model with texture from single face photo

face3D chung is a small mesh editor with which you can create speaking 3D obj model character avatar head objects with texture from a single photo of any man or woman for your games. Works by 3D & texture morphing .Uses freebasic apps gui_chung , loadobj3ds_chung , openGL1.4 and aiml_chung_dll . Can run on a small netbook. .Is free open source.
Can be used as mesh editor (adjust texture,scale parts) by load/save as model .

=>  https://sourceforge.net/projects/face3dchung/  (20Mo)


(08/06/2014) speaking avatars with moving lips added
(11/06/2014) AIML dialog added
(28/08/2016) speak3D_chung_dll dll version with example added
(29/08/2016) speak3D_chung_dll2 for multi avatars display

 



Wednesday, May 21, 2014

galaxie_chung open source galaxy numerical simulation

galaxie chung is a galaxy numerical simulation trial i have written in fast compiled freebasic for calculation and openGL for displaying.

click here =>  https://sourceforge.net/projects/galaxiechung/

Friday, May 2, 2014

flightspace_chung free 3D space combat flight simulator in freebasic

flightspace chung is a free open source 3D space combat flight simulator game written in freebasic and openGL . Explore the solar system with real planets data , go to space stations , enter planets orbit with gravitation effect , fly in formation and give orders to your wingmen , or declare war to combat spaceships or attack ground targets .Can run on a small netbook .

click here => https://sourceforge.net/projects/flightspacechung/

(05/05/2014) space/flight sim move type selection (ctrl+G) added
(06/05/2014) ground targets added
(14/05/2014) gravitation effect added
(15/05/2014) tourelle propulsion added
(11/12/2017) drawsphere planets with heightmaps added


Wednesday, April 9, 2014

perso3D_chung free openGL easy 3D character model animation and edit software

perso3D_chung is a compact custom easy 3D model animation and editing open source freeware directly into openGL .Same animations data can be used for differents character models. Multiple animations can occur at the same time. It is written in freebasic and uses gui_chung. Lowcost,customizable and fast technique for freebasic programmers. Included  perso3D_chung_dll dll version that can be called in c++ or other languages , though i recommend you freebasic+fbEdit : it is as fast as C++ , and so much more simple .Comes with a small hack and slash game "game1" with horse riding , gold pieces , potions , chests , dungeons , monsters , and a free fps shooting kill police game.

=> https://sourceforge.net/projects/perso3dchung/    (11Mo)

(21/04/2013) edit perso / edit anim , added
(22/04/2013) skeleton, custom persos added
(23/04/2013) load perso + perso3D_chung_dll dll version added
(24/04/2013) 3rd / head view added (V)key
(26/04/2013) game1 added
(28/04/2013) orc model added
(11/05/2013) shadows added
(16/05/2013) barbare woman added
(25/05/2013) house added + enhanced shadows speed
(26/07/2013) jaw, tail1, tail2, dinosaur (tyrex) added  (switch between warrior.anim3D & monster.anim3D if _jaw.3ds file exists)
(28/07/2013) bear added
(03/08/2013) trex, tiger, lion added
(14/08/2013) man,woman added (used in circuit_chung)
(12/09/2013) horse and riding added (L key)
(14/10/2013) spider added
(15/10/2013) dooms added
(18/10/2013) dungeons added
(22/10/2013) fps shooting gun added (G key)
(23/10/2013) riding gun, keyboard.txt added
(23/10/2013) kill police added
(28/10/2013) castles ruins added
(30/10/2013) castle2, getcastleheight added
(04/04/2014) save last dungeon level added
(05/04/2014) pirate, scorpio added
(07/04/2014) coins, gold, weapon inventory and repair added
(07/04/2014) chests, heal potions added (in dungeons)
(09/04/2014) vampirebat, monsterfly.anim3d added
(13/04/2014) display map , water added
(16/04/2014) wall torches lights added
(14/06/2014) doors added
(10/10/2014) caves added
(26/02/2016) optional detailed head texture added
(18/05/2018) hit with mouse on fps view


Monday, March 31, 2014

FBtranslate_chung help for translating programs in a foreign language

FBtranslate chung is a free open source program to help translating in a foreign language strings data of a freebasic program . It is written in freebasic and uses gui_chung . It extracts all strings literals of a program code into a single file, so you can translate this file with an free online translator like google translate , then rebuilds the new program with the translated text data .

click here => https://sourceforge.net/projects/fbtranslatechung/

Thursday, March 6, 2014

gps_chung open source GPS algorithm program for games in freebasic

gps_chung is an open source GPS algorithm program for games written in freebasic. It calculates the shortest way path from start to end out of an array of road segments (position, direction) . Source code gps_chung.bi is included as example in a small application game garden_chung (freebasic) simplified version of circuit_chung road circuit game with random map generation , home garden edit and TTS text to speech voices. Path is shown on display map , voice indicates the way .

=> https://sourceforge.net/projects/gpschung/   (11Mo)

(10/03/2014) arab, chinese, french, german, japanese, russian, spanish voices added to download

Sunday, January 5, 2014

ski_chung free 3D skiing fps openGL game

ski_chung is a free open source 3D ski randonnée simulation game with fps openGL view / mountain car version of circuit_chung and real satellite heightmaps i have written in freebasic. Included 3d skiing persos using perso3D_chung .Can run on a small netbook. Zipped and unzip with 7zip.

click here => https://sourceforge.net/projects/skichung/   (9Mo)


(08/01/2014) climb mountain added (C key)
(13/01/2014) fog0..15 added
(23/01/2014) animated skiing persos3D added
(28/01/2014) display satellite map added (ctrl+M)
(29/01/2014) animated 3rd person view added (V key)
(31/01/2014) 3D animated teleskis added
(02/02/2014) teleskis are functionals

  

Thursday, December 19, 2013

mp3tomid_chung realtime free mp3 to midi conversion

the best free, open source, realtime , sometimes better than originals .
mp3tomid_chung is a realtime free mp3 to midi converter trial i have written in freebasic with fbsound , using custom Fourier transform .
it converts mp3 files to polyphonic piano midi data sent to the choozen midi out port, connected for example to a midi recorder to produce midifiles , or to the integrated pc's midi mapper for listening . instruments must be well tuned . can export to midifile .

you can find it there
=> mp3tomid_chung   (3Mo)

=> https://www.kvraudio.com/product/mp3tomid_chung-by-nguyen-chung   

video => https://chungswebsite.blogspot.fr/p/blog-page_83.html       

works with Bill Evans's piano songs and Pat Metheny (you dont find many Bill Evans midifiles on the web, there you can have all) and  piano jazz solos, even orchestra .

can run on a small netbook.

(24/10/2011) enhanced pitch lock
(30/10/2011) enhanced performances (x4)
(02/11/2011) cpu10...100 cpu load selection
(04/11/2011) sin^0...60 waveform selection
(22/12/2013) harmotypeE..H added
(24/12/2013) transpose added
(16/11/2016) param r magic resistor added (replace transpose)
(05/12/2016) direct export to midifile added
(15/03/2017) learn function added

sample song recorded with midirec_chung and mp3tomid_chung
=> testdebby.mid

then resurected with midipiano_chung expander
=> piano9_0
=> piano9_1