Advertisement

Results for "Category: Miscellaneous"

7_2009-2012 #239497
a Simply Genetic Algorithm And Neural Network PROJECTS (V2)

CONTAINS: Genetic Algorithm Class - Simple and easy to use. + Modified ParasChopra Neural Net by www.paraschopra.com. ----- EXAMPLE PROJECTS: ----- [ FILLTHEGRID ]: Example of use of Genetic Algorithm Class (SimplyGA). ----- [ TSP WITH GA ]: Travel Salesman Problem solved by Genetic Algorithm Class (SimplyGA). ---- [ XOR ]: Xor Function performed by Neural Net.(Neural net is Trained by Genetic Algorithm Class). ----- [ FLYERS ]: NEURAL NET TRAINED BY GENETIC ALGORITHM. A Population of Individuals moves according to a Population of Neural Nets. The Goal is to stay closer to the Red Point. Before changing red point (start) position the population is evaluated. The nearest reproduce and replace the worst. (This is performed by GA.) Neural Nets are Updated by putting to Neuron Biases and Sinapses eights the Genes of GA. Net Inputs are 3: How much red point is LeftRight, how much it is FrontBack and the distance from it. Net Outputs are 2: Steer and Accellerate/brake. (This is ARTIFICIAL INTELLIGENCE) /// more will be added/updated /// 09.05.2009 Added Xor_Or_And / Improved Flyers.

7_2009-2012 #239501
Sticky Physics 3D V1.0

Sticky Physics 3D V1.0 **** .... ....

7_2009-2012 #239502
Physic Engine 2D V1.2

Physic Engine 2D. ** 2D physics ** Circle-Line intersection ** Line-Line Intersection ** Vector Reflaction ** Line bounce reaction ** Large Picture Scroll ** Vector Operations ** Dyinamic links ** Particle ** Vehicle ** ***** Main creature is called "bot" and is implemented by the class clsbot. It consists of: POINTS that can be pure, wheeled or motorized wheels; LINKS that work like springs and they bind the points together; MUSCLES between the links that are defined as an angle that the links should take and a strength. This Class should be used for more general pourpose, but in this case it manages the vehicle and the ground. *** New features: * Collision of not wheeled points. * Impoved doMuscles Sub. * Dynamic Links, Dynamic Muscles.

7_2009-2012 #239503
Pressure Soft Body

Soft body - Pressure Soft Body (inflated gas) - Shaped Pressure Soft Body. Made time ago. Contains a lot. too long to explain all. Tip: you can toss softbody around with Mouse. Enjoy

7_2009-2012 #239505
Crowd Simulator

Crowd Simulation - Virtual Walkers - realistic walking in virtual world.

7_2009-2012 #239510
EVO Battle V5

EVOLUTION BATTLE v5 (Neural Network trained by genetic algorithm) Two teams; a Red one and a Cyan one fight to win battles. Orange one is the "previous battle" best of the Red team. Green one is the "previous battle" best of the Cyan team. (The nearest enemy shot of the "previous battle" best fighter of the Red team is yellow circled) At the End of each battle the team that loses Evolves (The winner team evolves with a Probability of 10%) Each fighter have 11 Inputs and 3 Outputs: Inputs Are: -Enemy Left (0 means Nearest enemy is in front. 0.5 Means Nearest enemy is At 90° Left. 1 Means Nearest Enemy is Back) -Enemy Right (0 means Nearest enemy is in front. 0.5 Means Nearest enemy is At 90° right. 1 Means Nearest Enemy is Back) -Enemy Distance -Enemy Shot Left (As Enemy Left but Refers to "Enemy Shot") -Enemy Shot Right (As Enemy Right but Refers to "Enemy Shot") -Enemy Shot Distance -Availbale Shots -Enemy Relative Orientation -My Velocity -Enemy Velocity -Enemy Relative Moving Direction Outputs Are: -Rocket Left -Rocket Right -Fire Shot (Less than 0.5 do not fire, more than 0.5 Fire) Each fighter have a maximum number of shots that can be fired simultaniously with a given delay. (Now it's set to 1 shot at a time) When fired shot reach the Boundary or hit an enemy it expires. If a fighter hits an enemy with a shot then the fighter Fitness Value is decreased. The hitten enemy is pushed by shot, his fitness increase and it can't perform normal movement for a given time (it's frozen) and his Fitness Value is increased (In this case It's drawn with a cross).(After a fighter has been hitten it becomes "Invisible" to the enemies for a time greater than the time he can't move [frozen]) The team that have the lower avarage fitness wins. (Fitness Value Start from 8000 for each fighters) Fitness is displayed with a line under the fighters. If it is good (low fitness), the line go to Right for the Red team, to Left for the Cyan team. If it is bad (high fitness), the line go to Left for the Red team, to Right for the Cyan team. Evolution is performed by genetic algorithm that modify the genes of fighters. The Genes are the values of a Neural Network wich have the above described Inputs & outputs. Neural Network activity of the "previous battle" best of the Red team (Yellow one) is displaied on a picture. Be patient, the Results of the evolution is noticiable after a long time running (a lot of generations). Program can be stopped and restarted. At the restart (both team) last Evolved fighters are loaded. (Files: Pop1.txt and Pop2.txt) One or both of these files can be deleted to start a new random team population. Enjoy!

7_2009-2012 #239511
Fluid Simulator (Smoothed Particle Hydrodynamics) V5.5

Fluid Simulator (Smoothed Particle Hydrodynamics) V5.5 [Update: FASTER] Add Filled Circle - Motion Blur - Blobby2 Draw Style - Customizable Gravity. Old Features: - Add water Filled Rectangle - Blobby Draw Style. Based on this paper: http://www.iro.umontreal.ca/labs/infographie/papers/Clavet-2005-PVFS/pvfs.pdf. Suggestions to make the fluid looks more water-like are appreciated. (line line intersect) (Point distance from line)

7_2009-2012 #239515
Electric Guitar - Bass

Physical Modelling Synthesis to create sounds of Electric guitar / bass guitar . [ Movable pickups , Frets Slide ] http://www.youtube.com/watch?v=yZhstUIitYc http://www.youtube.com/watch?v=4DbVcyov8nw

7_2009-2012 #239517
EVOLVING Creatures (update 3)

EVOLVING CREATURES (Roberto Mior) [Upadte 3] - GA better Adaptive Mutation Prob - Added Rotational Velocity for Input (2: >0 and 20 - Particle draw style [Upadte 2] - Smoothed point touching ground function (Sort of pressure) - Smoothed Length Added by Brain - Improved creature physics - X Velocity Air Resistence - Better management of tasks. - Particle System - Increased output links Excursion. - CyclesForScreenFrame 12->16 CyclesForVideoFrame BrainClock [Update 1] - Very Faster - Inputs/outputs Display - SIN Function instead of EXP in NN Activation function - Added Hidden layer with a number of neurons equal to 1.5 times the Number of Outputs - 3 sons per Generation - Better StayOnGround Fitness function - Other ----- This is a typical example of how evolution works. A population of (customizable) Creatures try to Evolve according to some tasks. A Creature is composed by springs and a neural network. There are "intelligent" and "dumb" springs. First ones change their rest length according to the neural network outputs. The other simply react to external forces to mantain their invariable rest lengths. The Creature's Neural Network Inputs are: "No-Brain" Springs Tensions, Points touching ground, Creature Rotation (DX and DY), Height from ground, X and Y Velocities. The Creature's Neural Network Outputs are: "Intelligent" springs rest lengths. EVOLUTION (genetic algorithm): At Each generation there are 3 sons wich parents are "randomly" choosen from the best previous generation creatures. (Some sons mutate their genes with low probability (M)). Then sons are Evaluated. (This 3 sons replace the previous generation worst creatures) TASKS: Creature's evaluation is based on Task(s) to perform. These are: WALK (Distance walked) DON'T JUMP (Minimize avg height from ground) AVG HEIGHT (Average Creature middle point height) MAX HEIGHT (Creature Max Height Reached) VERTICALITY * (Rotate by -/+90°) HORIZONTALITY * (Keep initial orientation)[even 180°] *(Rotation is based on the 2 (left-Right) most external links.) These task can be mixed together. (for some complex tasks/creatures it's a little bit diffcult to find the best proportions) Each Creature performs a score (called "fitness") VIDEOS: http://www.youtube.com/playlist?p=PL52307

7_2009-2012 #239518
EVOLVING Creatures V7

This is a typical example of how evolution works. A population of (customizable) Creatures try to Evolve according to some tasks. A Creature is composed by springs, "muscles" and a neural network. There are "intelligent" and "dumb" springs. First ones change their rest length according to the neural network outputs. The other simply react to external forces to mantain their invariable rest lengths. From V6 there are "muscles". Muscle is an angle constrain between two links. The NN outputs determinate even the Angle that they must have. The Creature's Neural Network Inputs are: Vx,Vy & "Pressure" of touching ground Points, Creature Rotation (DX and DY), Height from ground, X Y Velocities and Rotational Velocity. The Creature's Neural Network Outputs are: "Intelligent" springs rest lengths and Muscles rest angles. EVOLUTION (genetic algorithm): At Each generation there are 3 sons wich parents are "randomly" choosen from the best previous generation creatures. (Some sons mutate their genes with low probability (M)). Then sons are Evaluated. (This 3 sons replace the previous generation worst creatures)

7_2009-2012 #239540
Reciprocal Velocity Obstacle (crowd sim)

RVO. Reciprocal Velocity Obstacle. Crowd Simulation - Video:http://www.youtube.com/watch?v=fN594d80Klg

7_2009-2012 #239552
Drag To Explorer

Drag To Explorer: This project demonstrates something that is really hard to find out there in VB-land: a way to drag a listitem from a listview into explorer and return the dropped path, thereby allowing you to do whatever it is you want to do. When searching online, you find this question a lot, but nobody seems to answer the question that was asked, or provides some other answer that doesn't do any good. The method I use to accomplish this is somewhat of a hack, but it works. Check out the source and hope it works for you! It does for me...! This has been tested using XP and Vista Home Premium. Below is a basic concept of how I perform this magic. * The following techniques are used to accomplish this task: ShellFileOps to use the recycle bin, ShellNotify to be alerted when files are created in the filesystem, and GetTempFileName() to create a temporary file (which is recycled, not left behind). * Populate the listview with whatever it is you need. * Drag a listitem to the desktop (or any other explorer window/location). * When the drag operation starts, set the AllowedEffects to vbDropEffectCopy. * When the drag operation enters an explorer location, create a temp file and add it to the Data.Files() object. * When you complete your drag operation, the temp file is moved from it's current location in the temp folder to where you dropped the list item in explorer. This is handled automatically because of AllowedEffects. * ShellNotify will grab the temp file's new location. * Whala! You now know where you dragged your listitem to. * Cleanup: Use ShellFileOps to send the temp file to the recycle bin with permanent delete and no dialog. * After that, do whatever you need to do with the DroppedFolder location! If you have any problems with this code, please let me know and I'll do what I can to help you out.

7_2009-2012 #239568
YMSG 15-17 Single Bot "Magic Login" Example

This example shows you how to log in yahoo servers without SSL encryption for ymsg versions 15-17

7_2009-2012 #239597
Resistor Color Code

This program is able of computing resistor color codes according to resistor types.

7_2009-2012 #239624
Simple Help File in vb6

this is a simple example of making an help topics file in vb6. so please VOTE for me. if you need any help just free to send me a mail and i will help you in any problem of vb6 Email: hamzajhang@yahoo.com & & Thanks & & Happy Coding.......

7_2009-2012 #239678
MenuBar

Simple Menu Bar (Kinda like Deskmenu 96!) but configurable thru text files. Works in Win 98, thru Win 7 I wrote this program just for me. I wanted something to replace Deskmenu 96!, and I wanted NO ICONS!! No Icons means program runs quicker, saves memory, and saves resources. Don't have to wait to retrieve the icon for every item.. A no frills, very fast, silly simple to understand program. MenuBar doesn't have to be installed. Just copy to a directory and run. I did add the Drag & Drop feature to make life a little easier. Start Drag & Drop mode, then drag MOST icons onto the menu button and click on save. Coding was written so beginners could easily understand. -Webfuzz

7_2009-2012 #239681
AT command console

This is a simple console for AT command. The AT command is commonly use for GSM modem for communication between mobile phone and computer. This app requires a GSM modem plugged on the computer.

7_2009-2012 #239696
Method to self-delete an exe easily

This is the easiest and simple way of self-deleting an executable. The technique is used even in commercial applications today. Nothing complex, it just uses programming basics plus two APIs to give you the maximum. Wherever your exe exists, it will be self-deleted. (can be perfectly used with Admin privileges.) The technique can be used in your own Uninstall programs.

7_2009-2012 #239698
Digital Clock

This is a C++ source code of a digital clock. Compiled with Dev-C++ 4.9.9.2

Languages
Top Categories
Global Discovery