Pages

vineri, 13 aprilie 2018

Using p5.js to create a progressbar .

This is an old tutorial about how to create a progressbar with processing.
To convert to p5.js you need to change the processing source code to javascript.
You can read about this conversion here.
In my example I change all variable types to var and I remove the frame.setTitle.
If you using the processing I.D.E. then you need to change from the right area from java to p5.js.
This will make a index.html file ( don't change this file).
This is the source code for p5.js and is working well:
// example progressbar 
// default variables for progressbar
// start the time for progressbar
var startTime; 
// counter progressbar 
var counter;
// maximum time progressbar
var maxTime; 
// boolean for the end progressbar 
var done; 
// settings for this example
function setup() { 
// set title of window
//frame.setTitle("Example progressbar | free-tutorials.org");
// window size and background color
// p5.js
createCanvas(640,130);
 
//size(640,130);
background(25); 
// set variables of progressbar
counter = 0; 
startTime= millis(); 
maxTime=int(random(1000,1976)); 
done=false; 
//end settings
} 
// draw all text and progressbar
function draw() { 
  // set same background color
  background(255); 
 
  // check end of progressbar fill
  if (counter-startTime < maxTime) {
  counter=millis();
  }  else { done=true;  }
  // create the color for fill progressbar
  fill(110,110,255);
  // no stroke for draw
  noStroke();
  // show all text variables and progressbar
  text("Progress bar blue - size 620", 230, 20); 
  rect(10,30,map(counter-startTime,0,maxTime,0,620), 30 );
  text("counter- startTime "+int(counter- startTime)+" ",10,80);
  text("maxTime "+ int(maxTime) +  " ", 10,100);
  text("map converted counter-startTime"+ int ( map(counter-startTime,0,maxTime,0,200)), 10,120);
  noFill();
 
  }
// reload the draw of progress bar 
function mousePressed () { 
  if (done) { counter = 0; startTime= millis();
  maxTime=int(random(1000,1976)); 
  done=false;
  }
}

joi, 12 aprilie 2018

The Sploder online game engine.

This online game engine named Sploder use Flash plugin to create and play 8 bits games.
Is very use to create games because has templates for 2D games:.
You can play many type of games like: RPG Games, Defense Games, Girls Games, Crafting Games, Puzzle Games and more.
The development team come with this infos about this game engine:
Sploder is a place where anyone can make games online and share them with the world. Make your own platformer games, space-themed shoot-em-ups, retro arcade games, and even complex physics-based puzzle games. No programming skill is necessary. All you need is a good imagination and a desire to be creative.

miercuri, 4 aprilie 2018

About Blender 3D and python API versus learners.

The last version of Blender 3D API come with many features and option to solve your issues.
Too many for a normal user.
For example: if you want to add some images into SEQUENCE_EDITOR this will help you.
From starting you need to know the last API and this may not be the last option.
The BlendDataImages(bpy_struct) - version 2.79 and can be used.
Another option is this function on the version 2.78 the scene.sequence_editor.sequences.new_image.
The good way is to have a good area of examples and tutorials into documentation.
This will solve many post on Blender 3D community area.

What I want to say is the desire of the developers to manifest themselves and not to maintain the user learning process.
Most API learners do not have the same speed of processing and learning as developers, especially if there are multiple and frequent changes.

marți, 3 aprilie 2018

News : The WAVE ENGINE 2.0 .

This is a old news.

The development team of game engine come this text about the old game WAVE ENGINE :

WAVE ENGINE 2.0 HAS ARRIVED! NOW WITH A NEW VISUAL EDITOR AND AVAILABLE IN WINDOWS, MAC OSX AND LINUX. YOU CAN ALSO VISIT OUR GITHUB PAGE WHERE YOU CAN FIND TONS OF SAMPLES, QUICKSTARTERS AND COMPONENTS SOURCE CODE. ENJOY!

You can read more about WAVE ENGINE at official page.
You can see all about WAVE ENGINE on youtube official channel

luni, 2 aprilie 2018

News : Online tool for CSS web development.

This is online tool named animista is a tool for web development and you can used to create source code for animation and CSS.
The tool come with beta version but works very well.
You can try this online tool here.

duminică, 1 aprilie 2018

The Construct game engine.

The Construct game engine is an HTML5-based 2D game editor features and improvements like: multi platform, event sheets, layout wiew, multi language, steamlined interface and more.
Is simple to use and has a good learning area.
You can try new Construct 3 or old Construct 2 version .
You can read more about this game engine at official webpage .
Here is a video tutorial from official youtube channel.

vineri, 30 martie 2018

News : About Google Design .

Google Design is a cooperative effort led by a group of designers, writers, and developers at Google. We work across teams to create content and produce events that showcase Google’s design work and champion innovators in our field.
This website is a great option to learn and take a look at google design area.
The website share us this infos and data:
  • LIBRARY
  • NEWS
  • RESOURCES
  • JOBS
  • ABOUT
Because I'm into EMEA easten part area I don't think I will find jobs.
The job area is a redirect to google careers page .
Very good website with news and resources from google team.

duminică, 25 martie 2018

Create a shadow text effect with HTML5 and CSS .

This tutorial is simple because I used HTML5 and CSS.
The CSS source code is simple (see: font-size:13px or you can use any size, colors , background).
I used my jsfiddle account to test and run it.
Create a project into jsfiddle editor and add this source code.
Into HTML5 area the source code can start with your text into div tag and named class font_001.
You can add span tag to have display block CSS style.
Into CSS area the source code is this:
@import url(https://fonts.googleapis.com/css?family=Work+Sans);

body {
  line-height: 2.5;
  margin: 0;
  background: #1F4C6F;
  font-family: 'Work Sans' sans-serif;font-size:13px;
}

.font_001 {
  max-width: 50%;
  margin: 0 auto;
}

h1 {
  color: #fff;
  font-weight: 810;
  padding-top: 4rem;
  margin: 0;
  text-transform: uppercase;
  font-size: 3em;
  line-height: 1.8;
  color: #3C6FB0;
  text-shadow: 20px 5px 30px rgba(0,0,0,.2), -30px 10px 30px rgba(0,0,0,.1), 
-40px 10px 30px rgba(0,0,0,.1), -3px 2px 5px #1F4C6F, 3px -2px 5px #3C6FB0;
}

h1 span {
  display: block;
  
}

Using processing.js to create a progressbar .

Today I tested the processing version 3.3.7 .
The example I make is a progressbar with a blue color and some text to show info.
The source code is very simple and result is this:

This is the source code:
// example progressbar 
// default variables for progressbar
// start the time for progressbar
int startTime; 
// counter progressbar 
int counter;
// maximum time progressbar
int maxTime; 
// boolean for the end progressbar 
boolean done; 
// settings for this example
void setup() { 
// set title of window
frame.setTitle("Example progressbar | free-tutorials.org");
// window size and background color
size(640,130);
background(255); 
// set variables of progressbar
counter = 0; 
startTime= millis(); 
maxTime=int(random(1000,1976)); 
done=false; 
//end settings
} 
// draw all text and progressbar
void draw() { 
  // set same background color
  background(255); 
  // check end of progressbar fill
  if (counter-startTime < maxTime) {
  counter=millis();
  }  else { done=true;  }
  // create the color for fill progressbar
  fill(110,110,255);
  // no stroke for draw
  noStroke();
  // show all text variables and progressbar
  text("Progress bar blue - size 620", 230, 20); 
  rect(10,30,map(counter-startTime,0,maxTime,0,620), 30 );
  text("counter- startTime "+int(counter- startTime)+" ",10,80);
  text("maxTime "+ int(maxTime) +  " ", 10,100);
  text("map converted counter-startTime"+ int ( map(counter-startTime,0,maxTime,0,200)), 10,120);
  noFill();
  }
// reload the draw of progress bar 
void mousePressed () { if (done) { counter = 0; startTime= millis();
  maxTime=int(random(1000,1976)); done=false; }
}

sâmbătă, 24 martie 2018

News : CRYENGINE V show us the HUNT game development .

In this period of the year developers meet at GDC - Game Development Conference.
The game engine named CRYENGINE V is proven in AAA production and come with one of latest rendering and game design features into the known game HUNT.

miercuri, 21 martie 2018

News : Unreal Engine come with new youtube videos.

The development team tell us:
Unreal Engine 4 is a complete suite of real-time 3D tools made by developers, for developers.
The new videos from official youtube channel shouw us the last presentation from GDC 2018.
I like the 3Lateral, Cubic Motion, Tencent and Vicon features to take live captured digital humans and create new real-time digital character.
Take a look at Siren a high-fidelity, real-time digital character based on the likeness of Chinese actress Bingjie Jiang.

marți, 20 martie 2018

News : Sketchfab with new features.

Some features about Sketchfab come today from development team issues:
Since we started Sketchfab in 2012, we’ve been on a mission to help democratize 3D, and make it accessible everywhere. The first step in that mission has been provide a best in class 3D viewer, offering all 3D creators an easy and reliable way to publish and share their 3D content on the web.

The development team come today with this news about Sketchfab : We will become the de facto search bar for the 3D world.

If you are an application developer, you can check out our documentation here.

The new blog post with examples can be found on official blogger.

luni, 19 martie 2018

Character Augmented Reality BTS.

Character Augmented Reality BTS is a ne real-time VFX advertising ... You can read the full article here.