انتقل إلى المحتوى
تعلّم AI بالعربي

نفس الطلب، كل الموديلات

اديت كل موديل نفس البرومت بالحرف. النتايج هنا زي ما طلعت من غير أي تعديل مني. شغّلها وجرّبها، والحكم ليك.

البرومت بالحرف، زي ما اتبعت لكل موديل
Build a falling-sand particle sandbox as a single self-contained HTML file (inline CSS/JS, no external libraries, no CDN).

Materials, selectable from a toolbar: SAND, WATER, OIL, FIRE, STEAM, WALL, and an ERASER. Draw with the mouse (click and drag). Include a clear-all button and a particle counter.

Required physics:
- Sand falls, piles into slopes, and sinks through water and oil.
- Water flows sideways and settles level.
- Oil floats on water.
- Fire burns oil (spreads across it), turns water into steam, and dies out on its own when nothing is burning.
- Steam rises and condenses back into water at the top.
- Walls are static and block everything.

The simulation must run at 60fps in a grid at least 200x150 cells, work when opened directly as a file, and show no console errors. Make it look good — this will be shown on screen.

Save the finished file as sand.html in the current working directory. Do not create any other files.
اضغط على أي نتيجة عشان تشغّلها